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 9da281a2c..1117aa4f8 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 @@ -7253,6 +7253,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -75139,6 +75202,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -108101,6 +108224,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "billing-usage-report": { "type": "object", "properties": { @@ -134878,6 +135112,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -279944,6 +280285,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report": { "value": { "usageItems": [ @@ -305420,6 +305784,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -307573,9 +307960,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -307591,6 +307978,42 @@ "type": "integer" } }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -309055,6 +309478,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -309299,6 +309737,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 87ba2e3a1..3a9ff042a 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 @@ -5113,6 +5113,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -54394,6 +54432,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -78671,6 +78744,89 @@ components: items: "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems billing-usage-report: type: object properties: @@ -99400,6 +99556,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -209745,6 +209981,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report: value: usageItems: @@ -231579,6 +231832,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -233520,11 +233790,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -233538,6 +233808,36 @@ components: required: false schema: type: integer + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -234749,6 +235049,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -234906,6 +235215,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 9da281a2c..1117aa4f8 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -7253,6 +7253,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -75139,6 +75202,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -108101,6 +108224,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "billing-usage-report": { "type": "object", "properties": { @@ -134878,6 +135112,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -279944,6 +280285,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report": { "value": { "usageItems": [ @@ -305420,6 +305784,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -307573,9 +307960,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -307591,6 +307978,42 @@ "type": "integer" } }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -309055,6 +309478,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -309299,6 +309737,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 87ba2e3a1..3a9ff042a 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -5113,6 +5113,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -54394,6 +54432,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -78671,6 +78744,89 @@ components: items: "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems billing-usage-report: type: object properties: @@ -99400,6 +99556,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -209745,6 +209981,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report: value: usageItems: @@ -231579,6 +231832,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -233520,11 +233790,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -233538,6 +233808,36 @@ components: required: false schema: type: integer + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -234749,6 +235049,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -234906,6 +235215,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: diff --git a/descriptions/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 5eaca83da..49a63cd45 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 @@ -53745,6 +53745,395 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -601881,6 +602270,382 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions/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 ff7904a0b..eea08df1d 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 @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &304 + type: &306 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &108 + schema: &110 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &627 + - &629 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &184 + - &186 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 @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &185 + items: &187 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &186 + default: &188 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &107 + schema: &109 title: Validation Error description: Validation Error type: object @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &188 + default: &190 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2845,7 +2845,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &260 + properties: &262 id: description: Unique identifier of the repository example: 42 @@ -3283,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &261 + required: &263 - archive_url - assignees_url - blobs_url @@ -7394,7 +7394,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &155 + code_scanning_options: &157 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7588,7 +7588,7 @@ paths: description: Response content: application/json: - schema: &157 + schema: &159 type: array description: A list of default code security configurations items: @@ -7604,7 +7604,7 @@ paths: default configuration: *43 examples: - default: &158 + default: &160 value: - default_for_new_repos: public configuration: @@ -7935,7 +7935,7 @@ paths: - *42 - *45 responses: - '204': &159 + '204': &161 description: A header with no content is returned. '400': *14 '403': *29 @@ -8062,7 +8062,7 @@ paths: default: value: default_for_new_repos: all - configuration: &156 + configuration: &158 value: id: 1325 target_type: organization @@ -8147,7 +8147,7 @@ paths: application/json: schema: type: array - items: &160 + items: &162 type: object description: Repositories associated with a code security configuration and attachment status @@ -8448,7 +8448,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &161 + repository: &163 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8542,7 +8542,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &166 + - &168 name: state in: query description: |- @@ -8551,7 +8551,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &167 + - &169 name: severity in: query description: |- @@ -8560,7 +8560,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &168 + - &170 name: ecosystem in: query description: |- @@ -8569,14 +8569,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &169 + - &171 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 - - &170 + - &172 name: epss_percentage in: query description: |- @@ -8588,7 +8588,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &171 + - &173 name: has in: query description: |- @@ -8602,7 +8602,7 @@ paths: type: string enum: - patch - - &172 + - &174 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8612,7 +8612,7 @@ paths: enum: - development - runtime - - &173 + - &175 name: sort in: query description: |- @@ -8630,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &174 + - &176 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8643,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &175 + - &177 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8663,7 +8663,7 @@ paths: application/json: schema: type: array - items: &176 + items: &178 type: object description: A Dependabot alert. properties: @@ -8729,7 +8729,7 @@ paths: - unknown - direct - transitive - security_advisory: &477 + security_advisory: &479 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8948,13 +8948,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &149 + updated_at: &151 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &151 + dismissed_at: &153 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8984,14 +8984,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &150 + fixed_at: &152 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &478 + auto_dismissed_at: &480 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9017,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &177 + default: &179 value: - number: 2 state: dismissed @@ -9364,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &292 + - &294 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9375,7 +9375,7 @@ paths: enum: - open - resolved - - &293 + - &295 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9394,7 +9394,7 @@ paths: required: false schema: type: string - - &295 + - &297 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. @@ -9410,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &296 + - &298 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9419,7 +9419,7 @@ paths: required: false schema: type: string - - &297 + - &299 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9428,7 +9428,7 @@ paths: schema: type: boolean default: false - - &298 + - &300 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9437,7 +9437,7 @@ paths: schema: type: boolean default: false - - &299 + - &301 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9453,7 +9453,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 type: object properties: number: *54 @@ -9472,14 +9472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &605 + state: &607 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: &606 + resolution: &608 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9586,8 +9586,8 @@ paths: pull request. ' - oneOf: &607 - - &609 + oneOf: &609 + - &611 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9639,7 +9639,7 @@ paths: - blob_url - commit_sha - commit_url - - &610 + - &612 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -9694,7 +9694,7 @@ paths: - page_url - commit_sha - commit_url - - &611 + - &613 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9708,7 +9708,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &612 + - &614 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9722,7 +9722,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &613 + - &615 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9736,7 +9736,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &614 + - &616 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9750,7 +9750,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &615 + - &617 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9764,7 +9764,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &616 + - &618 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9778,7 +9778,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &617 + - &619 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -9792,7 +9792,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &618 + - &620 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -9806,7 +9806,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &619 + - &621 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -9820,7 +9820,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &620 + - &622 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -9834,7 +9834,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &621 + - &623 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -9854,7 +9854,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &301 + default: &303 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10659,7 +10659,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &526 + properties: &528 id: type: integer format: int64 @@ -10771,7 +10771,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &247 + properties: &249 url: type: string format: uri @@ -10841,7 +10841,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &248 + required: &250 - closed_issues - creator - description @@ -10920,7 +10920,7 @@ paths: timeline_url: type: string format: uri - type: &206 + type: &208 title: Issue Type description: The type of issue. type: object @@ -11031,7 +11031,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &639 + sub_issues_summary: &641 title: Sub-issues Summary type: object properties: @@ -11051,7 +11051,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &640 + issue_dependencies_summary: &642 title: Issue Dependencies Summary type: object properties: @@ -11070,7 +11070,7 @@ paths: - total_blocking issue_field_values: type: array - items: &641 + items: &643 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11130,7 +11130,7 @@ paths: - node_id - data_type - value - required: &527 + required: &529 - assignee - closed_at - comments @@ -11151,7 +11151,7 @@ paths: - user - created_at - updated_at - comment: &524 + comment: &526 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11718,7 +11718,7 @@ paths: url: type: string format: uri - user: &653 + user: &655 title: Public User description: Public User type: object @@ -13588,7 +13588,7 @@ paths: - closed - all default: open - - &209 + - &211 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13639,7 +13639,7 @@ paths: type: array items: *84 examples: - default: &210 + default: &212 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15024,14 +15024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &327 + - &329 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &328 + - &330 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15102,7 +15102,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &336 + '301': &338 description: Moved permanently content: application/json: @@ -15124,7 +15124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &556 + - &558 name: all description: If `true`, show notifications marked as read. in: query @@ -15132,7 +15132,7 @@ paths: schema: type: boolean default: false - - &557 + - &559 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15142,7 +15142,7 @@ paths: type: boolean default: false - *74 - - &558 + - &560 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: @@ -15174,11 +15174,11 @@ paths: properties: id: type: string - repository: &133 + repository: &135 title: Minimal Repository description: Minimal Repository type: object - properties: &179 + properties: &181 id: type: integer format: int64 @@ -15454,7 +15454,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &262 + security_and_analysis: &264 nullable: true type: object properties: @@ -15528,7 +15528,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &180 + required: &182 - archive_url - assignees_url - blobs_url @@ -15616,7 +15616,7 @@ paths: - url - subscription_url examples: - default: &559 + default: &561 value: - id: '1' repository: @@ -16158,11 +16158,11 @@ paths: application/json: schema: type: array - items: &215 + items: &217 title: Organization Simple description: A GitHub organization. type: object - properties: &163 + properties: &165 login: type: string example: github @@ -16203,7 +16203,7 @@ paths: type: string example: A great organization nullable: true - required: &164 + required: &166 - login - url - id @@ -16217,7 +16217,7 @@ paths: - avatar_url - description examples: - default: &670 + default: &672 value: - login: github id: 1 @@ -16513,22 +16513,21 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access - "/organizations/{org}/settings/billing/usage": + "/organizations/{org}/settings/billing/premium_request/usage": get: - summary: Get billing usage report for an organization - description: |- - Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. tags: - billing - operationId: billing/get-github-billing-usage-report-org + operationId: billing/get-github-billing-premium-request-usage-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - *103 - - &698 + - &105 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, @@ -16537,16 +16536,16 @@ paths: required: false schema: type: integer - - &699 + - &698 name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: type: integer - - &700 + - &106 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16555,7 +16554,169 @@ paths: required: false schema: type: integer - - &701 + - name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &699 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &700 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *104 + '503': *72 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage": + get: + summary: Get billing usage report for an organization + description: |- + Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + tags: + - billing + operationId: billing/get-github-billing-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - *103 + - *105 + - &703 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer + - *106 + - &704 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -16671,7 +16832,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &107 title: Organization Full description: Organization Full type: object @@ -16990,7 +17151,7 @@ paths: - updated_at - archived_at examples: - default-response: &106 + default-response: &108 value: login: github id: 1 @@ -17306,17 +17467,17 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 '422': description: Validation failed content: application/json: schema: oneOf: - - *107 - - *108 + - *109 + - *110 '409': *47 x-github: githubCloudOnly: false @@ -17430,7 +17591,7 @@ paths: type: integer repository_cache_usages: type: array - items: &341 + items: &343 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17503,7 +17664,7 @@ paths: type: integer runners: type: array - items: &109 + items: &111 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17552,7 +17713,7 @@ paths: - display_name - source nullable: true - machine_size_details: &112 + machine_size_details: &114 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17644,7 +17805,7 @@ paths: - public_ip_enabled - platform examples: - default: &132 + default: &134 value: total_count: 2 runners: @@ -17771,9 +17932,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: &113 + default: &115 value: id: 5 name: My hosted ubuntu runner @@ -17828,7 +17989,7 @@ paths: type: integer images: type: array - items: &110 + items: &112 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17864,7 +18025,7 @@ paths: - display_name - source examples: - default: &111 + default: &113 value: id: ubuntu-20.04 platform: linux-x64 @@ -17904,9 +18065,9 @@ paths: type: integer images: type: array - items: *110 + items: *112 examples: - default: *111 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17992,7 +18153,7 @@ paths: type: integer machine_specs: type: array - items: *112 + items: *114 examples: default: value: @@ -18062,7 +18223,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *103 - - &114 + - &116 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18074,9 +18235,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *113 + default: *115 headers: Link: *58 x-github: @@ -18097,7 +18258,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *103 - - *114 + - *116 requestBody: required: true content: @@ -18135,9 +18296,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *113 + default: *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18154,15 +18315,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *103 - - *114 + - *116 responses: '202': description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *113 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18188,7 +18349,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &115 + schema: &117 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18202,7 +18363,7 @@ paths: required: - include_claim_keys examples: - default: &116 + default: &118 value: include_claim_keys: - repo @@ -18229,15 +18390,15 @@ paths: required: true content: application/json: - schema: *115 + schema: *117 examples: - default: *116 + default: *118 responses: '201': description: Empty response content: application/json: - schema: &142 + schema: &144 title: Empty Object description: An object without any properties. type: object @@ -18276,7 +18437,7 @@ paths: schema: type: object properties: - enabled_repositories: &117 + enabled_repositories: &119 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18289,7 +18450,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &118 + allowed_actions: &120 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18297,12 +18458,12 @@ paths: - all - local_only - selected - selected_actions_url: &347 + selected_actions_url: &349 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &119 + sha_pinning_required: &121 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18344,9 +18505,9 @@ paths: schema: type: object properties: - enabled_repositories: *117 - allowed_actions: *118 - sha_pinning_required: *119 + enabled_repositories: *119 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled_repositories examples: @@ -18380,7 +18541,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object properties: days: @@ -18422,7 +18583,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &354 type: object properties: days: @@ -18465,7 +18626,7 @@ paths: description: Response content: application/json: - schema: &120 + schema: &122 type: object properties: approval_policy: @@ -18479,7 +18640,7 @@ paths: required: - approval_policy examples: - default: &353 + default: &355 value: approval_policy: first_time_contributors '404': *6 @@ -18510,7 +18671,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -18538,7 +18699,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -18564,7 +18725,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &121 + default: &123 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18592,7 +18753,7 @@ paths: required: true content: application/json: - schema: &355 + schema: &357 type: object required: - run_workflows_from_fork_pull_requests @@ -18615,7 +18776,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -18665,7 +18826,7 @@ paths: type: array items: *67 examples: - default: &125 + default: &127 value: total_count: 1 repositories: @@ -18850,7 +19011,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *103 - - &122 + - &124 name: repository_id description: The unique identifier of the repository. in: path @@ -18879,7 +19040,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *103 - - *122 + - *124 responses: '204': description: Response @@ -18908,7 +19069,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &125 type: object properties: github_owned_allowed: @@ -18930,7 +19091,7 @@ paths: items: type: string examples: - default: &124 + default: &126 value: github_owned_allowed: true verified_allowed: false @@ -18963,9 +19124,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19097,7 +19258,7 @@ paths: type: array items: *67 examples: - default: *125 + default: *127 '403': *29 '404': *6 x-github: @@ -19166,7 +19327,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *103 - - *122 + - *124 responses: '204': description: No content @@ -19193,7 +19354,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *103 - - *122 + - *124 responses: '204': description: No content @@ -19227,17 +19388,17 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: - default_workflow_permissions: &126 + default_workflow_permissions: &128 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &127 + can_approve_pull_request_reviews: &129 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19245,7 +19406,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &128 + default: &130 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19278,13 +19439,13 @@ paths: required: false content: application/json: - schema: &357 + schema: &359 type: object properties: - default_workflow_permissions: *126 - can_approve_pull_request_reviews: *127 + default_workflow_permissions: *128 + can_approve_pull_request_reviews: *129 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19329,7 +19490,7 @@ paths: type: number runner_groups: type: array - items: &129 + items: &131 type: object properties: id: @@ -19517,9 +19678,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: &131 + default: &133 value: id: 2 name: octo-runner-group @@ -19555,7 +19716,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *103 - - &130 + - &132 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19567,7 +19728,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -19604,7 +19765,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *103 - - *130 + - *132 requestBody: required: true content: @@ -19658,9 +19819,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19680,7 +19841,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *103 - - *130 + - *132 responses: '204': description: Response @@ -19704,7 +19865,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *103 - - *130 + - *132 - *17 - *19 responses: @@ -19722,9 +19883,9 @@ paths: type: number runners: type: array - items: *109 + items: *111 examples: - default: *132 + default: *134 headers: Link: *58 x-github: @@ -19747,7 +19908,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 + - *132 - *19 - *17 responses: @@ -19765,9 +19926,9 @@ paths: type: number repositories: type: array - items: *133 + items: *135 examples: - default: &656 + default: &658 value: total_count: 1 repositories: @@ -20020,7 +20181,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 + - *132 requestBody: required: true content: @@ -20065,8 +20226,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20089,8 +20250,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20114,7 +20275,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *103 - - *130 + - *132 - *17 - *19 responses: @@ -20132,7 +20293,7 @@ paths: type: number runners: type: array - items: &135 + items: &137 title: Self hosted runners description: A self hosted runner type: object @@ -20161,7 +20322,7 @@ paths: type: boolean labels: type: array - items: &138 + items: &140 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20191,7 +20352,7 @@ paths: - busy - labels examples: - default: &136 + default: &138 value: total_count: 2 runners: @@ -20251,7 +20412,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *103 - - *130 + - *132 requestBody: required: true content: @@ -20296,8 +20457,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *103 - - *130 - - &134 + - *132 + - &136 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20326,8 +20487,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *103 - - *130 - - *134 + - *132 + - *136 responses: '204': description: Response @@ -20375,9 +20536,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *58 x-github: @@ -20409,7 +20570,7 @@ paths: application/json: schema: type: array - items: &358 + items: &360 title: Runner Application description: Runner Application type: object @@ -20434,7 +20595,7 @@ paths: - download_url - filename examples: - default: &359 + default: &361 value: - os: osx architecture: x64 @@ -20520,7 +20681,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &360 + '201': &362 description: Response content: application/json: @@ -20530,7 +20691,7 @@ paths: - runner - encoded_jit_config properties: - runner: *135 + runner: *137 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20593,7 +20754,7 @@ paths: description: Response content: application/json: - schema: &137 + schema: &139 title: Authentication Token description: Authentication Token type: object @@ -20631,7 +20792,7 @@ paths: - token - expires_at examples: - default: &361 + default: &363 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20668,9 +20829,9 @@ paths: description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: &362 + default: &364 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20696,15 +20857,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: &363 + default: &365 value: id: 23 name: MBP @@ -20746,7 +20907,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *103 - - *134 + - *136 responses: '204': description: Response @@ -20773,9 +20934,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 responses: - '200': &139 + '200': &141 description: Response content: application/json: @@ -20789,7 +20950,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -20829,7 +20990,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 requestBody: required: true content: @@ -20853,7 +21014,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -20878,7 +21039,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 requestBody: required: true content: @@ -20903,7 +21064,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -20928,9 +21089,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 responses: - '200': &364 + '200': &366 description: Response content: application/json: @@ -20944,7 +21105,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -20986,8 +21147,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 - - &365 + - *136 + - &367 name: name description: The name of a self-hosted runner's custom label. in: path @@ -20995,7 +21156,7 @@ paths: schema: type: string responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21038,7 +21199,7 @@ paths: type: integer secrets: type: array - items: &140 + items: &142 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21117,7 +21278,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &379 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21146,7 +21307,7 @@ paths: - key_id - key examples: - default: &378 + default: &380 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21172,7 +21333,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *103 - - &141 + - &143 name: secret_name description: The name of the secret. in: path @@ -21184,7 +21345,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -21215,7 +21376,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -21272,7 +21433,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -21299,7 +21460,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -21326,7 +21487,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 - *19 - *17 responses: @@ -21344,9 +21505,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: &145 + default: &147 value: total_count: 1 repositories: @@ -21439,7 +21600,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -21492,7 +21653,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -21526,7 +21687,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -21559,7 +21720,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *103 - - &346 + - &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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -21583,7 +21744,7 @@ paths: type: integer variables: type: array - items: &143 + items: &145 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21716,7 +21877,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -21742,7 +21903,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *103 - - &144 + - &146 name: name description: The name of the variable. in: path @@ -21754,7 +21915,7 @@ paths: description: Response content: application/json: - schema: *143 + schema: *145 examples: default: value: @@ -21785,7 +21946,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *103 - - *144 + - *146 requestBody: required: true content: @@ -21848,7 +22009,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *103 - - *144 + - *146 responses: '204': description: Response @@ -21875,7 +22036,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *103 - - *144 + - *146 - *19 - *17 responses: @@ -21893,9 +22054,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '409': description: Response when the visibility of the variable is not set to `selected` @@ -21922,7 +22083,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *103 - - *144 + - *146 requestBody: required: true content: @@ -21972,7 +22133,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *103 - - *144 + - *146 - name: repository_id in: path required: true @@ -22007,7 +22168,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *103 - - *144 + - *146 - name: repository_id in: path required: true @@ -22278,12 +22439,12 @@ paths: required: - subject_digests examples: - default: &685 + default: &687 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &686 + withPredicateType: &688 value: subject_digests: - sha256:abc123 @@ -22341,7 +22502,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &687 + default: &689 value: attestations_subject_digests: - sha256:abc: @@ -22637,7 +22798,7 @@ paths: initiator: type: string examples: - default: &391 + default: &393 value: attestations: - bundle: @@ -22856,7 +23017,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &146 + schema: &148 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -22882,7 +23043,7 @@ paths: application/json: schema: type: array - items: &147 + items: &149 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -22913,7 +23074,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &165 + items: &167 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -22988,7 +23149,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &222 + properties: &224 id: description: Unique identifier of the team type: integer @@ -23060,7 +23221,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &223 + required: &225 - id - node_id - url @@ -23103,7 +23264,7 @@ paths: type: string format: date-time nullable: true - state: *146 + state: *148 contact_link: description: The contact link of the campaign. type: string @@ -23318,9 +23479,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: &148 + default: &150 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23403,9 +23564,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '404': *6 '422': description: Unprocessable Entity @@ -23482,7 +23643,7 @@ paths: type: string format: uri nullable: true - state: *146 + state: *148 examples: default: value: @@ -23492,9 +23653,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '400': description: Bad Request content: @@ -23561,17 +23722,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *103 - - &417 + - &419 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &152 + schema: &154 type: string description: The name of the tool used to generate the code scanning analysis. - - &418 + - &420 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 @@ -23579,7 +23740,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &153 + schema: &155 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23594,7 +23755,7 @@ paths: be returned. in: query required: false - schema: &420 + schema: &422 type: string description: State of a code scanning alert. enum: @@ -23617,7 +23778,7 @@ paths: be returned. in: query required: false - schema: &421 + schema: &423 type: string description: Severity of a code scanning alert. enum: @@ -23640,16 +23801,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *149 + updated_at: *151 url: *56 html_url: *57 - instances_url: &422 + instances_url: &424 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &154 + state: &156 type: string description: State of a code scanning alert. nullable: true @@ -23657,7 +23818,7 @@ paths: - open - dismissed - fixed - fixed_at: *150 + fixed_at: *152 dismissed_by: title: Simple User description: A GitHub user. @@ -23665,8 +23826,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *151 - dismissed_reason: &423 + dismissed_at: *153 + dismissed_reason: &425 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23675,13 +23836,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &424 + dismissed_comment: &426 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &425 + rule: &427 type: object properties: id: @@ -23734,25 +23895,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &426 + tool: &428 type: object properties: - name: *152 + name: *154 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *153 - most_recent_instance: &427 + guid: *155 + most_recent_instance: &429 type: object properties: - ref: &419 + ref: &421 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &437 + analysis_key: &439 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23763,13 +23924,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &438 + category: &440 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *154 + state: *156 commit_sha: type: string message: @@ -24276,7 +24437,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *155 + code_scanning_options: *157 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24419,7 +24580,7 @@ paths: application/json: schema: *43 examples: - default: *156 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24447,9 +24608,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *159 examples: - default: *158 + default: *160 '304': *37 '403': *29 '404': *6 @@ -24501,7 +24662,7 @@ paths: - 32 - 91 responses: - '204': *159 + '204': *161 '400': *14 '403': *29 '404': *6 @@ -24536,7 +24697,7 @@ paths: application/json: schema: *43 examples: - default: *156 + default: *158 '304': *37 '403': *29 '404': *6 @@ -24820,7 +24981,7 @@ paths: - *103 - *45 responses: - '204': *159 + '204': *161 '400': *14 '403': *29 '404': *6 @@ -24958,7 +25119,7 @@ paths: default: value: default_for_new_repos: all - configuration: *156 + configuration: *158 '403': *29 '404': *6 x-github: @@ -25011,13 +25172,13 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *161 + repository: *163 '403': *29 '404': *6 x-github: @@ -25057,7 +25218,7 @@ paths: type: integer codespaces: type: array - items: &211 + items: &213 type: object title: Codespace description: A codespace. @@ -25082,12 +25243,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *133 + repository: *135 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &450 + properties: &452 name: type: string description: The name of the machine. @@ -25129,7 +25290,7 @@ paths: - ready - in_progress nullable: true - required: &451 + required: &453 - name - display_name - operating_system @@ -25334,7 +25495,7 @@ paths: - pulls_url - recent_folders examples: - default: &212 + default: &214 value: total_count: 3 codespaces: @@ -25958,7 +26119,7 @@ paths: type: integer secrets: type: array - items: &162 + items: &164 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -25997,7 +26158,7 @@ paths: - updated_at - visibility examples: - default: &452 + default: &454 value: total_count: 2 secrets: @@ -26035,7 +26196,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &455 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26064,7 +26225,7 @@ paths: - key_id - key examples: - default: &454 + default: &456 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26088,15 +26249,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *162 + schema: *164 examples: - default: &456 + default: &458 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26124,7 +26285,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -26179,7 +26340,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -26206,7 +26367,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -26232,7 +26393,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 - *19 - *17 responses: @@ -26250,9 +26411,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -26275,7 +26436,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -26326,7 +26487,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -26360,7 +26521,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -26563,7 +26724,7 @@ paths: currently being billed. seats: type: array - items: &214 + items: &216 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26580,14 +26741,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *163 - required: *164 + properties: *165 + required: *166 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *165 + - *167 - *59 nullable: true pending_cancellation_date: @@ -27094,7 +27255,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27401,7 +27562,7 @@ paths: - date additionalProperties: true examples: - default: &310 + default: &312 value: - date: '2024-06-24' total_active_users: 24 @@ -27503,7 +27664,7 @@ paths: '500': *104 '403': *29 '404': *6 - '422': &311 + '422': &313 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27531,11 +27692,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *103 - - *166 - - *167 - *168 - *169 - *170 + - *171 + - *172 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27551,14 +27712,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *171 - - *172 - *173 + - *174 + - *175 - *48 - *40 - *41 - - *174 - - *175 + - *176 + - *177 - *17 responses: '200': @@ -27567,9 +27728,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *177 + default: *179 '304': *37 '400': *14 '403': *29 @@ -27613,7 +27774,7 @@ paths: type: integer secrets: type: array - items: &178 + items: &180 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27690,7 +27851,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &483 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27707,7 +27868,7 @@ paths: - key_id - key examples: - default: &482 + default: &484 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27731,13 +27892,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *178 + schema: *180 examples: default: value: @@ -27766,7 +27927,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -27821,7 +27982,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -27846,7 +28007,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -27871,7 +28032,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 - *19 - *17 responses: @@ -27889,9 +28050,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27913,7 +28074,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -27964,7 +28125,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -27996,7 +28157,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -28034,7 +28195,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Package description: A software package type: object @@ -28084,8 +28245,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *179 - required: *180 + properties: *181 + required: *182 nullable: true created_at: type: string @@ -28104,7 +28265,7 @@ paths: - created_at - updated_at examples: - default: &226 + default: &228 value: - id: 197 name: hello_docker @@ -28271,7 +28432,7 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Organization Invitation description: Organization Invitation type: object @@ -28318,7 +28479,7 @@ paths: - invitation_teams_url - node_id examples: - default: &204 + default: &206 value: - id: 1 login: monalisa @@ -28385,7 +28546,7 @@ paths: application/json: schema: type: array - items: &181 + items: &183 title: Org Hook description: Org Hook type: object @@ -28556,9 +28717,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: &182 + default: &184 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28606,7 +28767,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *103 - - &183 + - &185 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. @@ -28619,9 +28780,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '404': *6 x-github: githubCloudOnly: false @@ -28649,7 +28810,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *103 - - *183 + - *185 requestBody: required: false content: @@ -28694,7 +28855,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: default: value: @@ -28736,7 +28897,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *103 - - *183 + - *185 responses: '204': description: Response @@ -28764,7 +28925,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *103 - - *183 + - *185 responses: '200': description: Response @@ -28795,7 +28956,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *103 - - *183 + - *185 requestBody: required: false content: @@ -28846,9 +29007,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *103 - - *183 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -28856,9 +29017,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -28884,16 +29045,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *103 - - *183 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -28919,7 +29080,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *103 - - *183 + - *185 - *16 responses: '202': *39 @@ -28949,7 +29110,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *103 - - *183 + - *185 responses: '204': description: Response @@ -28972,7 +29133,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *103 - - &193 + - &195 name: actor_type in: path description: The type of the actor @@ -28985,14 +29146,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &194 + - &196 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &189 + - &191 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`.' @@ -29000,7 +29161,7 @@ paths: required: true schema: type: string - - &190 + - &192 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) @@ -29094,12 +29255,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *103 - - *189 - - *190 + - *191 + - *192 - *19 - *17 - *48 - - &199 + - &201 name: sort description: The property to sort the results by. in: query @@ -29178,14 +29339,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *103 - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: &191 + schema: &193 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29201,7 +29362,7 @@ paths: type: integer format: int64 examples: - default: &192 + default: &194 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29222,23 +29383,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *103 - - &195 + - &197 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -29257,18 +29418,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *103 - - *189 - - *190 - - *193 - - *194 + - *191 + - *192 + - *195 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -29286,9 +29447,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *103 - - *189 - - *190 - - &196 + - *191 + - *192 + - &198 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29301,7 +29462,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &199 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29317,7 +29478,7 @@ paths: type: integer format: int64 examples: - default: &198 + default: &200 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29354,18 +29515,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *103 - - *195 - - *189 - - *190 - - *196 + - *197 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -29383,19 +29544,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *103 - - *193 - - *194 - - *189 - - *190 + - *195 - *196 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -29413,13 +29574,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *103 - - *195 - - *189 - - *190 + - *197 + - *191 + - *192 - *19 - *17 - *48 - - *199 + - *201 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29500,7 +29661,7 @@ paths: application/json: schema: *22 examples: - default: &520 + default: &522 value: id: 1 account: @@ -29666,12 +29827,12 @@ paths: application/json: schema: anyOf: - - &201 + - &203 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &200 + limit: &202 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29696,7 +29857,7 @@ paths: properties: {} additionalProperties: false examples: - default: &202 + default: &204 value: limit: collaborators_only origin: organization @@ -29725,13 +29886,13 @@ paths: required: true content: application/json: - schema: &521 + schema: &523 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *200 + limit: *202 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29755,9 +29916,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *202 + default: *204 '422': *15 x-github: githubCloudOnly: false @@ -29833,9 +29994,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *58 '404': *6 @@ -29912,7 +30073,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: default: value: @@ -29967,7 +30128,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *103 - - &205 + - &207 name: invitation_id description: The unique identifier of the invitation. in: path @@ -29998,7 +30159,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *103 - - *205 + - *207 - *17 - *19 responses: @@ -30008,9 +30169,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: &224 + default: &226 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30053,7 +30214,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -30138,9 +30299,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: &207 + default: &209 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30173,7 +30334,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *103 - - &208 + - &210 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30226,9 +30387,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: *207 + default: *209 '404': *6 '422': *7 x-github: @@ -30253,7 +30414,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *103 - - *208 + - *210 responses: '204': description: Response @@ -30316,7 +30477,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: type description: Can be the name of an issue type. in: query @@ -30347,7 +30508,7 @@ paths: type: array items: *84 examples: - default: *210 + default: *212 headers: Link: *58 '404': *6 @@ -30506,9 +30667,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *37 '500': *104 '401': *25 @@ -30535,7 +30696,7 @@ paths: parameters: - *103 - *63 - - &213 + - &215 name: codespace_name in: path required: true @@ -30570,15 +30731,15 @@ paths: parameters: - *103 - *63 - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: &449 + default: &451 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30758,7 +30919,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -30834,7 +30995,7 @@ paths: description: Response content: application/json: - schema: &216 + schema: &218 title: Org Membership description: Org Membership type: object @@ -30878,7 +31039,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *215 + organization: *217 user: title: Simple User description: A GitHub user. @@ -30901,7 +31062,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &217 + response-if-user-has-an-active-admin-membership-with-organization: &219 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -30998,9 +31159,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: - response-if-user-already-had-membership-with-organization: *217 + response-if-user-already-had-membership-with-organization: *219 '422': *15 '403': *29 x-github: @@ -31071,7 +31232,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Migration description: A migration. type: object @@ -31400,7 +31561,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -31579,7 +31740,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *103 - - &219 + - &221 name: migration_id description: The unique identifier of the migration. in: path @@ -31606,7 +31767,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -31776,7 +31937,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *103 - - *219 + - *221 responses: '302': description: Response @@ -31798,7 +31959,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *103 - - *219 + - *221 responses: '204': description: Response @@ -31822,8 +31983,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *103 - - *219 - - &669 + - *221 + - &671 name: repo_name description: repo_name parameter in: path @@ -31851,7 +32012,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *103 - - *219 + - *221 - *17 - *19 responses: @@ -31861,9 +32022,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: &231 + default: &233 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32016,7 +32177,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &221 + items: &223 title: Organization Role description: Organization roles type: object @@ -32191,7 +32352,7 @@ paths: parameters: - *103 - *65 - - &220 + - &222 name: role_id description: The unique identifier of the role. in: path @@ -32228,7 +32389,7 @@ paths: parameters: - *103 - *65 - - *220 + - *222 responses: '204': description: Response @@ -32281,7 +32442,7 @@ paths: parameters: - *103 - *63 - - *220 + - *222 responses: '204': description: Response @@ -32313,7 +32474,7 @@ paths: parameters: - *103 - *63 - - *220 + - *222 responses: '204': description: Response @@ -32342,13 +32503,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *103 - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *221 + schema: *223 examples: default: value: @@ -32399,7 +32560,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *103 - - *220 + - *222 - *17 - *19 responses: @@ -32477,8 +32638,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *222 - required: *223 + properties: *224 + required: *225 nullable: true type: description: The ownership type of the team @@ -32510,7 +32671,7 @@ paths: - type - parent examples: - default: *224 + default: *226 headers: Link: *58 '404': @@ -32540,7 +32701,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *103 - - *220 + - *222 - *17 - *19 responses: @@ -32568,13 +32729,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &305 + items: &307 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *222 - required: *223 + properties: *224 + required: *225 name: nullable: true type: string @@ -32862,7 +33023,7 @@ paths: - nuget - container - *103 - - &671 + - &673 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32898,12 +33059,12 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *226 + default: *228 '403': *29 '401': *25 - '400': &673 + '400': &675 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32925,7 +33086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &227 + - &229 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 @@ -32943,7 +33104,7 @@ paths: - docker - nuget - container - - &228 + - &230 name: package_name description: The name of the package. in: path @@ -32956,7 +33117,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -33008,8 +33169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 responses: '204': @@ -33042,8 +33203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 - name: token description: package token @@ -33076,8 +33237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 - *19 - *17 @@ -33098,7 +33259,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Package Version description: A version of a software package type: object @@ -33223,10 +33384,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 - - &230 + - &232 name: package_version_id description: Unique identifier of the package version. in: path @@ -33238,7 +33399,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -33274,10 +33435,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *227 - - *228 - - *103 + - *229 - *230 + - *103 + - *232 responses: '204': description: Response @@ -33309,10 +33470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *227 - - *228 - - *103 + - *229 - *230 + - *103 + - *232 responses: '204': description: Response @@ -33342,7 +33503,7 @@ paths: - *103 - *17 - *19 - - &232 + - &234 name: sort description: The property by which to sort the results. in: query @@ -33353,7 +33514,7 @@ paths: - created_at default: created_at - *48 - - &233 + - &235 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33364,7 +33525,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &234 + - &236 name: repository description: The name of the repository to use to filter the results. in: query @@ -33372,7 +33533,7 @@ paths: schema: type: string example: Hello-World - - &235 + - &237 name: permission description: The permission to use to filter the results. in: query @@ -33380,7 +33541,7 @@ paths: schema: type: string example: issues_read - - &236 + - &238 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) @@ -33390,7 +33551,7 @@ paths: schema: type: string format: date-time - - &237 + - &239 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) @@ -33400,7 +33561,7 @@ paths: schema: type: string format: date-time - - &238 + - &240 name: token_id description: The ID of the token in: query @@ -33670,7 +33831,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33711,9 +33872,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -33739,14 +33900,14 @@ paths: - *103 - *17 - *19 - - *232 - - *48 - - *233 - *234 + - *48 - *235 - *236 - *237 - *238 + - *239 + - *240 responses: '500': *104 '422': *15 @@ -33985,7 +34146,7 @@ paths: responses: '500': *104 '404': *6 - '204': *159 + '204': *161 '403': *29 '422': *15 x-github: @@ -34026,9 +34187,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -34070,7 +34231,7 @@ paths: type: integer configurations: type: array - items: &239 + items: &241 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34323,7 +34484,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &240 + org-private-registry-with-selected-visibility: &242 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34413,15 +34574,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *103 - - *141 + - *143 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '404': *6 x-github: githubCloudOnly: false @@ -34443,7 +34604,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -34539,7 +34700,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -34585,7 +34746,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Project description: Projects are a way to organize columns and cards of work. @@ -34758,7 +34919,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -34796,7 +34957,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &333 + '410': &335 description: Gone content: application/json: @@ -34839,7 +35000,7 @@ paths: application/json: schema: type: array - items: &242 + items: &244 title: Projects v2 Project description: A projects v2 project type: object @@ -34909,7 +35070,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &752 + properties: &755 id: type: number description: The unique identifier of the status update. @@ -34957,7 +35118,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &753 + required: &756 - id - node_id - created_at @@ -34982,7 +35143,7 @@ paths: - deleted_at - deleted_by examples: - default: &243 + default: &245 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35085,7 +35246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &244 + - &246 name: project_number description: The project's number. in: path @@ -35098,9 +35259,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 headers: Link: *58 '304': *37 @@ -35122,7 +35283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *244 + - *246 - *103 - *17 - *40 @@ -35134,7 +35295,7 @@ paths: application/json: schema: type: array - items: &245 + items: &247 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35281,7 +35442,7 @@ paths: - updated_at - project_url examples: - default: &246 + default: &248 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35324,8 +35485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *244 - - &690 + - *246 + - &692 name: field_id description: The unique identifier of the field. in: path @@ -35338,9 +35499,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 headers: Link: *58 '304': *37 @@ -35363,7 +35524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *244 + - *246 - *103 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35393,7 +35554,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 title: Projects v2 Item description: An item belonging to a project type: object @@ -35409,7 +35570,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &250 + content_type: &252 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35459,7 +35620,7 @@ paths: - updated_at - archived_at examples: - default: &253 + default: &255 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36154,7 +36315,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *103 - - *244 + - *246 requestBody: required: true description: Details of the item to add to the project. @@ -36191,7 +36352,7 @@ paths: description: Response content: application/json: - schema: &691 + schema: &693 title: Projects v2 Item description: An item belonging to a project type: object @@ -36205,7 +36366,7 @@ paths: content: oneOf: - *84 - - &464 + - &466 title: Pull Request Simple description: Pull Request Simple type: object @@ -36311,8 +36472,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 nullable: true active_lock_reason: type: string @@ -36357,7 +36518,7 @@ paths: nullable: true requested_teams: type: array - items: *165 + items: *167 nullable: true head: type: object @@ -36408,7 +36569,7 @@ paths: _links: type: object properties: - comments: &249 + comments: &251 title: Link description: Hypermedia Link type: object @@ -36417,13 +36578,13 @@ paths: type: string required: - href - commits: *249 - statuses: *249 - html: *249 - issue: *249 - review_comments: *249 - review_comment: *249 - self: *249 + commits: *251 + statuses: *251 + html: *251 + issue: *251 + review_comments: *251 + review_comment: *251 + self: *251 required: - comments - commits @@ -36434,7 +36595,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: &566 + auto_merge: &568 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36536,7 +36697,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *250 + content_type: *252 creator: *4 created_at: type: string @@ -36569,7 +36730,7 @@ paths: - updated_at - archived_at examples: - issue: &251 + issue: &253 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36624,7 +36785,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *251 + pull_request: *253 '304': *37 '403': *29 '401': *25 @@ -36644,9 +36805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *244 + - *246 - *103 - - &254 + - &256 name: item_id description: The unique identifier of the project item. in: path @@ -36669,9 +36830,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *58 '304': *37 @@ -36692,9 +36853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *244 + - *246 - *103 - - *254 + - *256 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36764,13 +36925,13 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - text_field: *253 - number_field: *253 - date_field: *253 - single_select_field: *253 - iteration_field: *253 + text_field: *255 + number_field: *255 + date_field: *255 + single_select_field: *255 + iteration_field: *255 '401': *25 '403': *29 '404': *6 @@ -36790,9 +36951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *244 + - *246 - *103 - - *254 + - *256 responses: '204': description: Response @@ -36824,7 +36985,7 @@ paths: application/json: schema: type: array - items: &255 + items: &257 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -36890,7 +37051,7 @@ paths: - property_name - value_type examples: - default: &256 + default: &258 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36949,7 +37110,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *255 + items: *257 minItems: 1 maxItems: 100 required: @@ -36979,9 +37140,9 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: - default: *256 + default: *258 '403': *29 '404': *6 x-github: @@ -37003,7 +37164,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *103 - - &257 + - &259 name: custom_property_name description: The custom property name in: path @@ -37015,9 +37176,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: &258 + default: &260 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37052,7 +37213,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *103 - - *257 + - *259 requestBody: required: true content: @@ -37121,9 +37282,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *258 + default: *260 '403': *29 '404': *6 x-github: @@ -37147,9 +37308,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *103 - - *257 + - *259 responses: - '204': *159 + '204': *161 '403': *29 '404': *6 x-github: @@ -37208,7 +37369,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &259 + items: &261 title: Custom Property Value description: Custom property name and associated value type: object @@ -37295,7 +37456,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *259 + items: *261 required: - repository_names - properties @@ -37485,9 +37646,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -37689,7 +37850,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &337 title: Full Repository description: Full Repository type: object @@ -37966,8 +38127,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *260 - required: *261 + properties: *262 + required: *263 nullable: true temp_clone_token: type: string @@ -38082,7 +38243,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &469 + properties: &471 url: type: string format: uri @@ -38098,12 +38259,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &470 + required: &472 - url - key - name - html_url - security_and_analysis: *262 + security_and_analysis: *264 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38187,7 +38348,7 @@ paths: - network_count - subscribers_count examples: - default: &337 + default: &339 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38708,7 +38869,7 @@ paths: - *103 - *17 - *19 - - &589 + - &591 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38726,7 +38887,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38761,7 +38922,7 @@ paths: source: type: string description: The name of the source - enforcement: &265 + enforcement: &267 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38774,7 +38935,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &266 + items: &268 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38844,7 +39005,7 @@ paths: conditions: nullable: true anyOf: - - &263 + - &265 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38868,7 +39029,7 @@ paths: match. items: type: string - - &267 + - &269 title: Organization ruleset conditions type: object description: |- @@ -38882,7 +39043,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *263 + - *265 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38916,7 +39077,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *263 + - *265 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38938,7 +39099,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *263 + - *265 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38951,7 +39112,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &264 + items: &266 title: Repository ruleset property targeting definition type: object @@ -38984,17 +39145,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *264 + items: *266 required: - repository_property rules: type: array - items: &590 + items: &592 title: Repository Rule type: object description: A repository rule. oneOf: - - &268 + - &270 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39006,7 +39167,7 @@ paths: type: string enum: - creation - - &269 + - &271 title: update description: Only allow users with bypass permission to update matching refs. @@ -39027,7 +39188,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &270 + - &272 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39039,7 +39200,7 @@ paths: type: string enum: - deletion - - &271 + - &273 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39051,7 +39212,7 @@ paths: type: string enum: - required_linear_history - - &587 + - &589 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39129,7 +39290,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &272 + - &274 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39153,7 +39314,7 @@ paths: type: string required: - required_deployment_environments - - &273 + - &275 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39165,7 +39326,7 @@ paths: type: string enum: - required_signatures - - &274 + - &276 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39227,7 +39388,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &275 + - &277 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39275,7 +39436,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &276 + - &278 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39287,7 +39448,7 @@ paths: type: string enum: - non_fast_forward - - &277 + - &279 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39323,7 +39484,7 @@ paths: required: - operator - pattern - - &278 + - &280 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39359,7 +39520,7 @@ paths: required: - operator - pattern - - &279 + - &281 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39395,7 +39556,7 @@ paths: required: - operator - pattern - - &280 + - &282 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39431,7 +39592,7 @@ paths: required: - operator - pattern - - &281 + - &283 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39467,7 +39628,7 @@ paths: required: - operator - pattern - - &282 + - &284 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39492,7 +39653,7 @@ paths: type: string required: - restricted_file_paths - - &283 + - &285 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39516,7 +39677,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &284 + - &286 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39539,7 +39700,7 @@ paths: type: string required: - restricted_file_extensions - - &285 + - &287 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39564,7 +39725,7 @@ paths: maximum: 100 required: - max_file_size - - &286 + - &288 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39614,7 +39775,7 @@ paths: - repository_id required: - workflows - - &287 + - &289 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39675,7 +39836,7 @@ paths: - tool required: - code_scanning_tools - - &588 + - &590 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -39773,22 +39934,20 @@ paths: - push - repository default: branch - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *267 + items: *268 + conditions: *269 rules: type: array description: An array of rules within the ruleset. - items: &290 + items: &292 title: Repository Rule type: object description: A repository rule. oneOf: - - *268 - - *269 - *270 - *271 - *272 @@ -39807,6 +39966,8 @@ paths: - *285 - *286 - *287 + - *288 + - *289 required: - name - enforcement @@ -39844,9 +40005,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &289 + default: &291 value: id: 21 name: super cool ruleset @@ -39901,7 +40062,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *103 - - &591 + - &593 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 @@ -39916,7 +40077,7 @@ paths: in: query schema: type: string - - &592 + - &594 name: time_period description: |- The time period to filter by. @@ -39932,14 +40093,14 @@ paths: - week - month default: day - - &593 + - &595 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 - - &594 + - &596 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -39959,7 +40120,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &597 title: Rule Suites description: Response type: array @@ -40014,7 +40175,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &596 + default: &598 value: - id: 21 actor_id: 12 @@ -40058,7 +40219,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *103 - - &597 + - &599 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40074,7 +40235,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &600 title: Rule Suite description: Response type: object @@ -40173,7 +40334,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &599 + default: &601 value: id: 21 actor_id: 12 @@ -40246,9 +40407,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '404': *6 '500': *104 put: @@ -40292,16 +40453,16 @@ paths: - tag - push - repository - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *267 + items: *268 + conditions: *269 rules: description: An array of rules within the ruleset. type: array - items: *290 + items: *292 examples: default: value: @@ -40336,9 +40497,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '404': *6 '500': *104 delete: @@ -40395,7 +40556,7 @@ paths: application/json: schema: type: array - items: &291 + items: &293 title: Ruleset version type: object description: The historical version of a ruleset @@ -40419,7 +40580,7 @@ paths: type: string format: date-time examples: - default: &601 + default: &603 value: - version_id: 3 actor: @@ -40472,9 +40633,9 @@ paths: description: Response content: application/json: - schema: &602 + schema: &604 allOf: - - *291 + - *293 - type: object required: - state @@ -40544,14 +40705,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *103 - - *292 - - *293 - *294 - *295 + - *296 + - *297 - *48 - *19 - *17 - - &603 + - &605 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -40561,7 +40722,7 @@ paths: required: false schema: type: string - - &604 + - &606 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -40571,10 +40732,10 @@ paths: required: false schema: type: string - - *296 - - *297 - *298 - *299 + - *300 + - *301 responses: '200': description: Response @@ -40582,9 +40743,9 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: - default: *301 + default: *303 headers: Link: *58 '404': *6 @@ -40625,7 +40786,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &303 + pattern_config_version: &305 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40634,7 +40795,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &302 + items: &304 type: object properties: token_type: @@ -40700,7 +40861,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *302 + items: *304 examples: default: value: @@ -40757,7 +40918,7 @@ paths: schema: type: object properties: - pattern_config_version: *303 + pattern_config_version: *305 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40783,7 +40944,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *303 + custom_pattern_version: *305 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -40881,7 +41042,7 @@ paths: application/json: schema: type: array - items: &625 + items: &627 description: A repository security advisory. type: object properties: @@ -41101,7 +41262,7 @@ paths: login: type: string description: The username of the user credited. - type: *304 + type: *306 credits_detailed: type: array nullable: true @@ -41111,7 +41272,7 @@ paths: type: object properties: user: *4 - type: *304 + type: *306 state: type: string description: The state of the user's acceptance of the @@ -41135,7 +41296,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *165 + items: *167 private_fork: readOnly: true nullable: true @@ -41172,7 +41333,7 @@ paths: - private_fork additionalProperties: false examples: - default: &626 + default: &628 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -41559,9 +41720,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *224 + default: *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41646,7 +41807,7 @@ paths: description: Response content: application/json: - schema: &692 + schema: &694 type: object properties: total_minutes_used: @@ -41716,7 +41877,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &693 + default: &695 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -41752,7 +41913,7 @@ paths: description: Response content: application/json: - schema: &694 + schema: &696 type: object properties: total_gigabytes_bandwidth_used: @@ -41770,7 +41931,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &695 + default: &697 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -41802,7 +41963,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &701 type: object properties: days_left_in_billing_cycle: @@ -41820,7 +41981,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &697 + default: &702 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -41862,7 +42023,7 @@ paths: type: integer network_configurations: type: array - items: &306 + items: &308 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -41982,9 +42143,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - default: &307 + default: &309 value: id: 123456789ABCDEF name: My network configuration @@ -42013,7 +42174,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - &308 + - &310 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42025,9 +42186,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - default: *307 + default: *309 headers: Link: *58 x-github: @@ -42049,7 +42210,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - *308 + - *310 requestBody: required: true content: @@ -42088,9 +42249,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - default: *307 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42110,7 +42271,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *103 - - *308 + - *310 responses: '204': description: Response @@ -42250,13 +42411,13 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *310 + default: *312 '500': *104 '403': *29 '404': *6 - '422': *311 + '422': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42284,9 +42445,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 headers: Link: *58 '403': *29 @@ -42380,7 +42541,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &314 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -42443,8 +42604,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *222 - required: *223 + properties: *224 + required: *225 nullable: true members_count: type: integer @@ -42707,7 +42868,7 @@ paths: - repos_count - organization examples: - default: &313 + default: &315 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42784,9 +42945,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 x-github: githubCloudOnly: false @@ -42870,16 +43031,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '201': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 '422': *15 '403': *29 @@ -42949,7 +43110,7 @@ paths: application/json: schema: type: array - items: &314 + items: &316 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43048,7 +43209,7 @@ paths: - updated_at - url examples: - default: &643 + default: &645 value: - author: login: octocat @@ -43157,9 +43318,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: &315 + default: &317 value: author: login: octocat @@ -43233,7 +43394,7 @@ paths: parameters: - *103 - *65 - - &316 + - &318 name: discussion_number description: The number that identifies the discussion. in: path @@ -43245,9 +43406,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43271,7 +43432,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 requestBody: required: false content: @@ -43294,9 +43455,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: &644 + default: &646 value: author: login: octocat @@ -43368,7 +43529,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 responses: '204': description: Response @@ -43396,7 +43557,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 - *48 - *17 - *19 @@ -43407,7 +43568,7 @@ paths: application/json: schema: type: array - items: &317 + items: &319 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43479,7 +43640,7 @@ paths: - updated_at - url examples: - default: &645 + default: &647 value: - author: login: octocat @@ -43549,7 +43710,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 requestBody: required: true content: @@ -43571,9 +43732,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: &318 + default: &320 value: author: login: octocat @@ -43641,8 +43802,8 @@ paths: parameters: - *103 - *65 - - *316 - - &319 + - *318 + - &321 name: comment_number description: The number that identifies the comment. in: path @@ -43654,9 +43815,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43680,8 +43841,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 requestBody: required: true content: @@ -43703,9 +43864,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: &646 + default: &648 value: author: login: octocat @@ -43771,8 +43932,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 responses: '204': description: Response @@ -43800,8 +43961,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -43827,7 +43988,7 @@ paths: application/json: schema: type: array - items: &320 + items: &322 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -43870,7 +44031,7 @@ paths: - content - created_at examples: - default: &322 + default: &324 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43922,8 +44083,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 requestBody: required: true content: @@ -43956,9 +44117,9 @@ paths: team discussion comment content: application/json: - schema: *320 + schema: *322 examples: - default: &321 + default: &323 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43987,9 +44148,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44014,9 +44175,9 @@ paths: parameters: - *103 - *65 - - *316 - - *319 - - &323 + - *318 + - *321 + - &325 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44050,7 +44211,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -44076,9 +44237,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -44106,7 +44267,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 requestBody: required: true content: @@ -44138,16 +44299,16 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44172,8 +44333,8 @@ paths: parameters: - *103 - *65 - - *316 - - *323 + - *318 + - *325 responses: '204': description: Response @@ -44208,9 +44369,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *58 x-github: @@ -44294,7 +44455,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &326 title: Team Membership description: Team Membership type: object @@ -44321,7 +44482,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &647 + 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 @@ -44384,9 +44545,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: &648 + 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 @@ -44459,7 +44620,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 title: Team Project description: A team's access to a project. type: object @@ -44527,7 +44688,7 @@ paths: - updated_at - permissions examples: - default: &649 + default: &651 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44592,7 +44753,7 @@ paths: parameters: - *103 - *65 - - &326 + - &328 name: project_id description: The unique identifier of the project. in: path @@ -44604,9 +44765,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: &650 + default: &652 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44670,7 +44831,7 @@ paths: parameters: - *103 - *65 - - *326 + - *328 requestBody: required: false content: @@ -44738,7 +44899,7 @@ paths: parameters: - *103 - *65 - - *326 + - *328 responses: '204': description: Response @@ -44776,9 +44937,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -44809,14 +44970,14 @@ paths: parameters: - *103 - *65 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &651 + schema: &653 title: Team Repository description: A team's access to a repository. type: object @@ -45387,8 +45548,8 @@ paths: parameters: - *103 - *65 - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -45435,8 +45596,8 @@ paths: parameters: - *103 - *65 - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -45471,9 +45632,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - response-if-child-teams-exist: &652 + response-if-child-teams-exist: &654 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -45600,7 +45761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &329 + - &331 name: column_id description: The unique identifier of the column. in: path @@ -45612,7 +45773,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &332 title: Project Column description: Project columns contain cards of work. type: object @@ -45658,7 +45819,7 @@ paths: - created_at - updated_at examples: - default: &331 + default: &333 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45693,7 +45854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *329 + - *331 requestBody: required: true content: @@ -45717,9 +45878,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *331 + default: *333 '304': *37 '403': *29 '401': *25 @@ -45744,7 +45905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *329 + - *331 responses: '204': description: Response @@ -45773,7 +45934,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *329 + - *331 requestBody: required: true content: @@ -45833,15 +45994,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *326 + - *328 responses: '200': description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: &332 + default: &334 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45898,7 +46059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *326 + - *328 requestBody: required: false content: @@ -45944,9 +46105,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *332 + default: *334 '404': description: Not Found if the authenticated user does not have access to the project @@ -45967,7 +46128,7 @@ paths: items: type: string '401': *25 - '410': *333 + '410': *335 '422': *7 x-github: githubCloudOnly: false @@ -45990,7 +46151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *326 + - *328 responses: '204': description: Delete Success @@ -46011,7 +46172,7 @@ paths: items: type: string '401': *25 - '410': *333 + '410': *335 '404': *6 x-github: githubCloudOnly: false @@ -46035,7 +46196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *326 + - *328 - 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 @@ -46092,7 +46253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *326 + - *328 - *63 requestBody: required: false @@ -46145,7 +46306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *326 + - *328 - *63 responses: '204': @@ -46177,7 +46338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *326 + - *328 - *63 responses: '200': @@ -46251,7 +46412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *326 + - *328 - *17 - *19 responses: @@ -46261,7 +46422,7 @@ paths: application/json: schema: type: array - items: *330 + items: *332 examples: default: value: @@ -46299,7 +46460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *326 + - *328 requestBody: required: true content: @@ -46322,7 +46483,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -46387,7 +46548,7 @@ paths: resources: type: object properties: - core: &334 + core: &336 title: Rate Limit type: object properties: @@ -46404,21 +46565,21 @@ paths: - remaining - reset - used - graphql: *334 - search: *334 - code_search: *334 - source_import: *334 - integration_manifest: *334 - code_scanning_upload: *334 - actions_runner_registration: *334 - scim: *334 - dependency_snapshots: *334 - dependency_sbom: *334 - code_scanning_autofix: *334 + 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 + dependency_sbom: *336 + code_scanning_autofix: *336 required: - core - search - rate: *334 + rate: *336 required: - rate - resources @@ -46523,14 +46684,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *335 + schema: *337 examples: default-response: summary: Default response @@ -47031,7 +47192,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *336 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47049,8 +47210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -47297,10 +47458,10 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 - '307': &338 + default: *339 + '307': &340 description: Temporary Redirect content: application/json: @@ -47329,8 +47490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -47352,7 +47513,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *338 + '307': *340 '404': *6 '409': *47 x-github: @@ -47376,11 +47537,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &369 + - &371 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -47403,7 +47564,7 @@ paths: type: integer artifacts: type: array - items: &339 + items: &341 title: Artifact description: An artifact type: object @@ -47481,7 +47642,7 @@ paths: - expires_at - updated_at examples: - default: &370 + default: &372 value: total_count: 2 artifacts: @@ -47542,9 +47703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *327 - - *328 - - &340 + - *329 + - *330 + - &342 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47556,7 +47717,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: default: value: @@ -47594,9 +47755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *327 - - *328 - - *340 + - *329 + - *330 + - *342 responses: '204': description: Response @@ -47620,9 +47781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *327 - - *328 - - *340 + - *329 + - *330 + - *342 - name: archive_format in: path required: true @@ -47636,7 +47797,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': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47659,14 +47820,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: default: value: @@ -47692,11 +47853,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &342 + - &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 @@ -47730,7 +47891,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &345 title: Repository actions caches description: Repository actions caches type: object @@ -47772,7 +47933,7 @@ paths: - total_count - actions_caches examples: - default: &344 + default: &346 value: total_count: 1 actions_caches: @@ -47804,23 +47965,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *327 - - *328 + - *329 + - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *342 + - *344 responses: '200': description: Response content: application/json: - schema: *343 + schema: *345 examples: - default: *344 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47840,8 +48001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *327 - - *328 + - *329 + - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47872,9 +48033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *327 - - *328 - - &345 + - *329 + - *330 + - &347 name: job_id description: The unique identifier of the job. in: path @@ -47886,7 +48047,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &375 title: Job description: Information of a job execution in a workflow run type: object @@ -48193,9 +48354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *327 - - *328 - - *345 + - *329 + - *330 + - *347 responses: '302': description: Response @@ -48223,9 +48384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *327 - - *328 - - *345 + - *329 + - *330 + - *347 requestBody: required: false content: @@ -48246,7 +48407,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -48270,8 +48431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Status response @@ -48321,8 +48482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -48356,7 +48517,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -48385,8 +48546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -48404,7 +48565,7 @@ paths: type: integer secrets: type: array - items: &375 + items: &377 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -48424,7 +48585,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &378 value: total_count: 2 secrets: @@ -48457,9 +48618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *327 - - *328 - - *346 + - *329 + - *330 + - *348 - *19 responses: '200': @@ -48476,7 +48637,7 @@ paths: type: integer variables: type: array - items: &379 + items: &381 title: Actions Variable type: object properties: @@ -48506,7 +48667,7 @@ paths: - created_at - updated_at examples: - default: &380 + default: &382 value: total_count: 2 variables: @@ -48539,8 +48700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -48549,12 +48710,12 @@ paths: schema: type: object properties: - enabled: &348 + enabled: &350 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *118 - selected_actions_url: *347 - sha_pinning_required: *119 + allowed_actions: *120 + selected_actions_url: *349 + sha_pinning_required: *121 required: - enabled examples: @@ -48582,8 +48743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48594,9 +48755,9 @@ paths: schema: type: object properties: - enabled: *348 - allowed_actions: *118 - sha_pinning_required: *119 + enabled: *350 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled examples: @@ -48626,14 +48787,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &349 + schema: &351 type: object properties: access_level: @@ -48650,7 +48811,7 @@ paths: required: - access_level examples: - default: &350 + default: &352 value: access_level: organization x-github: @@ -48674,15 +48835,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 responses: '204': description: Response @@ -48706,14 +48867,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: value: @@ -48737,8 +48898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Empty response for successful settings update @@ -48748,7 +48909,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *354 examples: default: summary: Set retention days @@ -48772,16 +48933,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *120 + schema: *122 examples: - default: *353 + default: *355 '404': *6 x-github: enabledForGitHubApps: true @@ -48800,8 +48961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48811,7 +48972,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -48835,16 +48996,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *121 + default: *123 '403': *29 '404': *6 x-github: @@ -48864,15 +49025,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *355 + schema: *357 examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -48896,16 +49057,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: *124 + default: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48924,8 +49085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48933,9 +49094,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48957,16 +49118,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48987,8 +49148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Success response @@ -48999,9 +49160,9 @@ paths: required: true content: application/json: - schema: *357 + schema: *359 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49028,8 +49189,8 @@ paths: in: query schema: type: string - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -49047,9 +49208,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *58 x-github: @@ -49073,8 +49234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -49082,9 +49243,9 @@ paths: application/json: schema: type: array - items: *358 + items: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49106,8 +49267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -49150,7 +49311,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *360 + '201': *362 '404': *6 '422': *7 '409': *47 @@ -49181,16 +49342,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *361 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49218,16 +49379,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *362 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49249,17 +49410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49280,9 +49441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: '204': description: Response @@ -49308,11 +49469,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: - '200': *139 + '200': *141 '404': *6 x-github: githubCloudOnly: false @@ -49334,9 +49495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 requestBody: required: true content: @@ -49360,7 +49521,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -49384,9 +49545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 requestBody: required: true content: @@ -49411,7 +49572,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -49435,11 +49596,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: - '200': *364 + '200': *366 '404': *6 x-github: githubCloudOnly: false @@ -49466,12 +49627,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 - - *365 + - *329 + - *330 + - *136 + - *367 responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -49497,9 +49658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *327 - - *328 - - &383 + - *329 + - *330 + - &385 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. @@ -49507,7 +49668,7 @@ paths: required: false schema: type: string - - &384 + - &386 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -49515,7 +49676,7 @@ paths: required: false schema: type: string - - &385 + - &387 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -49524,7 +49685,7 @@ paths: required: false schema: type: string - - &386 + - &388 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 @@ -49551,7 +49712,7 @@ paths: - pending - *17 - *19 - - &387 + - &389 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -49560,7 +49721,7 @@ paths: schema: type: string format: date-time - - &366 + - &368 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -49569,13 +49730,13 @@ paths: schema: type: boolean default: false - - &388 + - &390 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &389 + - &391 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49598,7 +49759,7 @@ paths: type: integer workflow_runs: type: array - items: &367 + items: &369 title: Workflow Run description: An invocation of a workflow type: object @@ -49693,7 +49854,7 @@ paths: that triggered the run. type: array nullable: true - items: &408 + items: &410 title: Pull Request Minimal type: object properties: @@ -49812,7 +49973,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &412 + properties: &414 id: type: string description: SHA for the commit @@ -49863,7 +50024,7 @@ paths: - name - email nullable: true - required: &413 + required: &415 - id - tree_id - message @@ -49871,8 +50032,8 @@ paths: - author - committer nullable: true - repository: *133 - head_repository: *133 + repository: *135 + head_repository: *135 head_repository_id: type: integer example: 5 @@ -49910,7 +50071,7 @@ paths: - workflow_url - pull_requests examples: - default: &390 + default: &392 value: total_count: 1 workflow_runs: @@ -50146,24 +50307,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *327 - - *328 - - &368 + - *329 + - *330 + - &370 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *366 + - *368 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &371 + default: &373 value: id: 30433642 name: Build @@ -50404,9 +50565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '204': description: Response @@ -50429,9 +50590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '200': description: Response @@ -50550,15 +50711,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50585,12 +50746,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 - *17 - *19 - - *369 + - *371 responses: '200': description: Response @@ -50606,9 +50767,9 @@ paths: type: integer artifacts: type: array - items: *339 + items: *341 examples: - default: *370 + default: *372 headers: Link: *58 x-github: @@ -50632,25 +50793,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *327 - - *328 - - *368 - - &372 + - *329 + - *330 + - *370 + - &374 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *366 + - *368 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50673,10 +50834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *327 - - *328 - - *368 - - *372 + - *329 + - *330 + - *370 + - *374 - *17 - *19 responses: @@ -50694,9 +50855,9 @@ paths: type: integer jobs: type: array - items: *373 + items: *375 examples: - default: &374 + default: &376 value: total_count: 1 jobs: @@ -50809,10 +50970,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *327 - - *328 - - *368 - - *372 + - *329 + - *330 + - *370 + - *374 responses: '302': description: Response @@ -50840,15 +51001,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50875,9 +51036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: true content: @@ -50944,15 +51105,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50979,9 +51140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 - 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 @@ -51011,9 +51172,9 @@ paths: type: integer jobs: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *58 x-github: @@ -51038,9 +51199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '302': description: Response @@ -51067,9 +51228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '204': description: Response @@ -51096,9 +51257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '200': description: Response @@ -51158,7 +51319,7 @@ paths: items: type: object properties: - type: &490 + type: &492 type: string description: The type of reviewer. enum: @@ -51168,7 +51329,7 @@ paths: reviewer: anyOf: - *4 - - *165 + - *167 required: - environment - wait_timer @@ -51243,9 +51404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: true content: @@ -51292,7 +51453,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -51398,7 +51559,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &488 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -51454,9 +51615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: false content: @@ -51477,7 +51638,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51500,9 +51661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: false content: @@ -51523,7 +51684,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51555,9 +51716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '200': description: Response @@ -51694,8 +51855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -51713,9 +51874,9 @@ paths: type: integer secrets: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *58 x-github: @@ -51740,16 +51901,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *378 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51771,17 +51932,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: &503 + default: &505 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51807,9 +51968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 requestBody: required: true content: @@ -51840,7 +52001,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51866,9 +52027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '204': description: Response @@ -51893,9 +52054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *327 - - *328 - - *346 + - *329 + - *330 + - *348 - *19 responses: '200': @@ -51912,9 +52073,9 @@ paths: type: integer variables: type: array - items: *379 + items: *381 examples: - default: *380 + default: *382 headers: Link: *58 x-github: @@ -51937,8 +52098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -51965,7 +52126,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51990,17 +52151,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *327 - - *328 - - *144 + - *329 + - *330 + - *146 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &504 + default: &506 value: name: USERNAME value: octocat @@ -52026,9 +52187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *327 - - *328 - - *144 + - *329 + - *330 + - *146 requestBody: required: true content: @@ -52070,9 +52231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *327 - - *328 - - *144 + - *329 + - *330 + - *146 responses: '204': description: Response @@ -52097,8 +52258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -52116,7 +52277,7 @@ paths: type: integer workflows: type: array - items: &381 + items: &383 title: Workflow description: A GitHub Actions workflow type: object @@ -52223,9 +52384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *327 - - *328 - - &382 + - *329 + - *330 + - &384 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52240,7 +52401,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -52273,9 +52434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '204': description: Response @@ -52300,9 +52461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '204': description: Response @@ -52353,9 +52514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '204': description: Response @@ -52382,19 +52543,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *327 - - *328 - - *382 - - *383 + - *329 + - *330 - *384 - *385 - *386 - - *17 - - *19 - *387 - - *366 - *388 + - *17 + - *19 - *389 + - *368 + - *390 + - *391 responses: '200': description: Response @@ -52410,9 +52571,9 @@ paths: type: integer workflow_runs: type: array - items: *367 + items: *369 examples: - default: *390 + default: *392 headers: Link: *58 x-github: @@ -52444,9 +52605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '200': description: Response @@ -52507,8 +52668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *327 - - *328 + - *329 + - *330 - *48 - *17 - *40 @@ -52672,8 +52833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -52710,8 +52871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *327 - - *328 + - *329 + - *330 - name: assignee in: path required: true @@ -52747,8 +52908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -52860,8 +53021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *40 - *41 @@ -52917,7 +53078,7 @@ paths: initiator: type: string examples: - default: *391 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52937,8 +53098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -52946,7 +53107,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 title: Autolink reference description: An autolink reference. type: object @@ -53000,8 +53161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -53040,9 +53201,9 @@ paths: description: response content: application/json: - schema: *392 + schema: *394 examples: - default: &393 + default: &395 value: id: 1 key_prefix: TICKET- @@ -53073,9 +53234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *327 - - *328 - - &394 + - *329 + - *330 + - &396 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53087,9 +53248,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -53109,9 +53270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -53135,8 +53296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if Dependabot is enabled @@ -53184,8 +53345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -53206,8 +53367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -53227,8 +53388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *327 - - *328 + - *329 + - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53266,7 +53427,7 @@ paths: - url protected: type: boolean - protection: &396 + protection: &398 title: Branch Protection description: Branch Protection type: object @@ -53308,7 +53469,7 @@ paths: required: - contexts - checks - enforce_admins: &399 + enforce_admins: &401 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53323,7 +53484,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &401 + required_pull_request_reviews: &403 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53344,7 +53505,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *165 + items: *167 apps: description: The list of apps with review dismissal access. @@ -53373,7 +53534,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *165 + items: *167 apps: description: The list of apps allowed to bypass pull request requirements. @@ -53399,7 +53560,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &398 + restrictions: &400 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53462,7 +53623,7 @@ paths: type: string teams: type: array - items: *165 + items: *167 apps: type: array items: @@ -53676,9 +53837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *327 - - *328 - - &397 + - *329 + - *330 + - &399 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -53692,14 +53853,14 @@ paths: description: Response content: application/json: - schema: &407 + schema: &409 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &460 + commit: &462 title: Commit description: Commit type: object @@ -53733,7 +53894,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &395 + properties: &397 name: type: string example: '"Chris Wanstrath"' @@ -53748,7 +53909,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *395 + properties: *397 nullable: true message: type: string @@ -53769,7 +53930,7 @@ paths: required: - sha - url - verification: &510 + verification: &512 title: Verification type: object properties: @@ -53803,12 +53964,12 @@ paths: nullable: true oneOf: - *4 - - *142 + - *144 committer: nullable: true oneOf: - *4 - - *142 + - *144 parents: type: array items: @@ -53839,7 +54000,7 @@ paths: type: integer files: type: array - items: &473 + items: &475 title: Diff Entry description: Diff Entry type: object @@ -53923,7 +54084,7 @@ paths: - self protected: type: boolean - protection: *396 + protection: *398 protection_url: type: string format: uri @@ -54030,7 +54191,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *336 + '301': *338 '404': *6 x-github: githubCloudOnly: false @@ -54052,15 +54213,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -54254,9 +54415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -54511,7 +54672,7 @@ paths: url: type: string format: uri - required_status_checks: &404 + required_status_checks: &406 title: Status Check Policy description: Status Check Policy type: object @@ -54587,7 +54748,7 @@ paths: items: *4 teams: type: array - items: *165 + items: *167 apps: type: array items: *5 @@ -54605,7 +54766,7 @@ paths: items: *4 teams: type: array - items: *165 + items: *167 apps: type: array items: *5 @@ -54663,7 +54824,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *398 + restrictions: *400 required_conversation_resolution: type: object properties: @@ -54775,9 +54936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -54802,17 +54963,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54834,17 +54995,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54863,9 +55024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -54890,17 +55051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: &402 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54996,9 +55157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55096,9 +55257,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -55119,9 +55280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55148,17 +55309,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &403 + default: &405 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55181,17 +55342,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *403 + default: *405 '404': *6 x-github: githubCloudOnly: false @@ -55211,9 +55372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55238,17 +55399,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: &405 + default: &407 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55274,9 +55435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55328,9 +55489,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 '404': *6 '422': *15 x-github: @@ -55352,9 +55513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55378,9 +55539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -55414,9 +55575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55483,9 +55644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55549,9 +55710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: content: application/json: @@ -55617,15 +55778,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -55716,9 +55877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55741,9 +55902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -55753,7 +55914,7 @@ paths: type: array items: *5 examples: - default: &406 + default: &408 value: - id: 1 slug: octoapp @@ -55810,9 +55971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -55846,7 +56007,7 @@ paths: type: array items: *5 examples: - default: *406 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -55867,9 +56028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -55903,7 +56064,7 @@ paths: type: array items: *5 examples: - default: *406 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -55924,9 +56085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -55960,7 +56121,7 @@ paths: type: array items: *5 examples: - default: *406 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -55982,9 +56143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -55992,9 +56153,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -56014,9 +56175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -56052,9 +56213,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -56075,9 +56236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -56113,9 +56274,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -56136,9 +56297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: content: application/json: @@ -56173,9 +56334,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -56197,9 +56358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -56233,9 +56394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56293,9 +56454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56353,9 +56514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56415,9 +56576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56439,7 +56600,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: default: value: @@ -56555,8 +56716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -56835,7 +56996,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &411 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56954,8 +57115,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *408 - deployment: &710 + items: *410 + deployment: &713 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -57235,9 +57396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *327 - - *328 - - &410 + - *329 + - *330 + - &412 name: check_run_id description: The unique identifier of the check run. in: path @@ -57249,9 +57410,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: &411 + default: &413 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -57351,9 +57512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *327 - - *328 - - *410 + - *329 + - *330 + - *412 requestBody: required: true content: @@ -57593,9 +57754,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57615,9 +57776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *327 - - *328 - - *410 + - *329 + - *330 + - *412 - *17 - *19 responses: @@ -57712,15 +57873,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *327 - - *328 - - *410 + - *329 + - *330 + - *412 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -57758,8 +57919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -57781,7 +57942,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &414 + schema: &416 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57845,7 +58006,7 @@ paths: nullable: true pull_requests: type: array - items: *408 + items: *410 nullable: true app: title: GitHub app @@ -57858,7 +58019,7 @@ paths: nullable: true properties: *68 required: *69 - repository: *133 + repository: *135 created_at: type: string format: date-time @@ -57867,12 +58028,12 @@ paths: type: string format: date-time nullable: true - head_commit: &736 + head_commit: &739 title: Simple Commit description: A commit. type: object - properties: *412 - required: *413 + properties: *414 + required: *415 latest_check_runs_count: type: integer check_runs_url: @@ -57900,7 +58061,7 @@ paths: - check_runs_url - pull_requests examples: - default: &415 + default: &417 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58191,9 +58352,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58212,8 +58373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -58274,7 +58435,7 @@ paths: required: - app_id - setting - repository: *133 + repository: *135 examples: default: value: @@ -58522,9 +58683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *327 - - *328 - - &416 + - *329 + - *330 + - &418 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58536,9 +58697,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58561,17 +58722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *327 - - *328 - - *416 - - &466 + - *329 + - *330 + - *418 + - &468 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &467 + - &469 name: status description: Returns check runs with the specified `status`. in: query @@ -58610,9 +58771,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *411 examples: - default: &468 + default: &470 value: total_count: 1 check_runs: @@ -58714,15 +58875,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *327 - - *328 - - *416 + - *329 + - *330 + - *418 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -58749,21 +58910,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *417 - - *418 + - *329 + - *330 + - *419 + - *420 - *19 - *17 - - &435 + - &437 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: *419 - - &436 + schema: *421 + - &438 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58788,13 +58949,13 @@ paths: be returned. in: query required: false - schema: *420 + schema: *422 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *421 + schema: *423 responses: '200': description: Response @@ -58807,12 +58968,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *149 + updated_at: *151 url: *56 html_url: *57 - instances_url: *422 - state: *154 - fixed_at: *150 + instances_url: *424 + state: *156 + fixed_at: *152 dismissed_by: title: Simple User description: A GitHub user. @@ -58820,12 +58981,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *151 - dismissed_reason: *423 - dismissed_comment: *424 - rule: *425 - tool: *426 - most_recent_instance: *427 + dismissed_at: *153 + dismissed_reason: *425 + dismissed_comment: *426 + rule: *427 + tool: *428 + most_recent_instance: *429 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -58951,7 +59112,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &428 + '403': &430 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -58978,9 +59139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *327 - - *328 - - &429 + - *329 + - *330 + - &431 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58994,17 +59155,17 @@ paths: description: Response content: application/json: - schema: &430 + schema: &432 type: object properties: number: *54 created_at: *55 - updated_at: *149 + updated_at: *151 url: *56 html_url: *57 - instances_url: *422 - state: *154 - fixed_at: *150 + instances_url: *424 + state: *156 + fixed_at: *152 dismissed_by: title: Simple User description: A GitHub user. @@ -59012,9 +59173,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *151 - dismissed_reason: *423 - dismissed_comment: *424 + dismissed_at: *153 + dismissed_reason: *425 + dismissed_comment: *426 rule: type: object properties: @@ -59068,8 +59229,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *426 - most_recent_instance: *427 + tool: *428 + most_recent_instance: *429 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59168,7 +59329,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59188,9 +59349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 requestBody: required: true content: @@ -59205,8 +59366,8 @@ paths: enum: - open - dismissed - dismissed_reason: *423 - dismissed_comment: *424 + dismissed_reason: *425 + dismissed_comment: *426 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59225,7 +59386,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -59301,7 +59462,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &434 + '403': &436 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -59328,15 +59489,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 responses: '200': description: Response content: application/json: - schema: &431 + schema: &433 type: object properties: status: @@ -59362,13 +59523,13 @@ paths: - description - started_at examples: - default: &432 + default: &434 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &433 + '400': &435 description: Bad Request content: application/json: @@ -59379,7 +59540,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59404,29 +59565,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 responses: '200': description: OK content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 '202': description: Accepted content: application/json: - schema: *431 + schema: *433 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *433 + '400': *435 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -59458,9 +59619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 requestBody: required: false content: @@ -59505,8 +59666,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *433 - '403': *434 + '400': *435 + '403': *436 '404': *6 '422': description: Unprocessable Entity @@ -59530,13 +59691,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 - *19 - *17 - - *435 - - *436 + - *437 + - *438 responses: '200': description: Response @@ -59544,7 +59705,7 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: default: value: @@ -59583,7 +59744,7 @@ paths: end_column: 50 classifications: - source - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59617,25 +59778,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *327 - - *328 - - *417 - - *418 + - *329 + - *330 + - *419 + - *420 - *19 - *17 - - *436 + - *438 - 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: *419 + schema: *421 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &439 + schema: &441 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59656,23 +59817,23 @@ paths: application/json: schema: type: array - items: &440 + items: &442 type: object properties: - ref: *419 - commit_sha: &448 + ref: *421 + commit_sha: &450 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: *437 + analysis_key: *439 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *438 + category: *440 error: type: string example: error reading field xyz @@ -59696,8 +59857,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *439 - tool: *426 + sarif_id: *441 + tool: *428 deletable: type: boolean warning: @@ -59758,7 +59919,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59794,8 +59955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59808,7 +59969,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: response: summary: application/json response @@ -59862,7 +60023,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *428 + '403': *430 '404': *6 '422': description: Response if analysis could not be processed @@ -59949,8 +60110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60003,7 +60164,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *434 + '403': *436 '404': *6 '503': *72 x-github: @@ -60025,8 +60186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -60034,7 +60195,7 @@ paths: application/json: schema: type: array - items: &441 + items: &443 title: CodeQL Database description: A CodeQL database. type: object @@ -60145,7 +60306,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': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -60174,8 +60335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -60187,7 +60348,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -60219,9 +60380,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': &475 + '302': &477 description: Found - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -60243,8 +60404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -60254,7 +60415,7 @@ paths: responses: '204': description: Response - '403': *434 + '403': *436 '404': *6 '503': *72 x-github: @@ -60282,8 +60443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -60292,7 +60453,7 @@ paths: type: object additionalProperties: false properties: - language: &442 + language: &444 type: string description: The language targeted by the CodeQL query enum: @@ -60371,7 +60532,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &446 + schema: &448 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -60381,7 +60542,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *442 + query_language: *444 query_pack_url: type: string description: The download url for the query pack. @@ -60428,7 +60589,7 @@ paths: items: type: object properties: - repository: &443 + repository: &445 title: Repository Identifier description: Repository Identifier type: object @@ -60464,7 +60625,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &447 + analysis_status: &449 type: string description: The new status of the CodeQL variant analysis repository task. @@ -60496,7 +60657,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &444 + access_mismatch_repos: &446 type: object properties: repository_count: @@ -60510,7 +60671,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: *443 + items: *445 required: - repository_count - repositories @@ -60532,8 +60693,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *444 - over_limit_repos: *444 + no_codeql_db_repos: *446 + over_limit_repos: *446 required: - access_mismatch_repos - not_found_repos @@ -60549,7 +60710,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &445 + value: &447 summary: Default response value: id: 1 @@ -60701,10 +60862,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *445 + value: *447 repository_lists: summary: Response for a successful variant analysis submission - value: *445 + value: *447 '404': *6 '422': description: Unable to process variant analysis submission @@ -60732,8 +60893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60745,9 +60906,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *445 + default: *447 '404': *6 '503': *72 x-github: @@ -60770,7 +60931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *327 + - *329 - name: repo in: path description: The name of the controller repository. @@ -60805,7 +60966,7 @@ paths: type: object properties: repository: *53 - analysis_status: *447 + analysis_status: *449 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60930,8 +61091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -61016,7 +61177,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -61037,8 +61198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -61105,7 +61266,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -61130,7 +61291,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *434 + '403': *436 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -61201,8 +61362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -61210,7 +61371,7 @@ paths: schema: type: object properties: - commit_sha: *448 + commit_sha: *450 ref: type: string description: |- @@ -61268,7 +61429,7 @@ paths: schema: type: object properties: - id: *439 + id: *441 url: type: string description: The REST API URL for checking the status of the upload. @@ -61282,7 +61443,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': *434 + '403': *436 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -61305,8 +61466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *327 - - *328 + - *329 + - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -61352,7 +61513,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': *428 + '403': *430 '404': description: Not Found if the sarif id does not match any upload '503': *72 @@ -61377,8 +61538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -61434,7 +61595,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': *159 + '204': *161 '304': *37 '403': *29 '404': *6 @@ -61459,8 +61620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -61580,8 +61741,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -61597,7 +61758,7 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: default: value: @@ -61895,8 +62056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -61959,17 +62120,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '400': *14 '401': *25 '403': *29 @@ -61998,8 +62159,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -62063,8 +62224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -62099,14 +62260,14 @@ paths: type: integer machines: type: array - items: &659 + items: &661 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *450 - required: *451 + properties: *452 + required: *453 examples: - default: &660 + default: &662 value: total_count: 2 machines: @@ -62146,8 +62307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -62231,8 +62392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -62298,8 +62459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -62317,7 +62478,7 @@ paths: type: integer secrets: type: array - items: &455 + items: &457 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -62337,7 +62498,7 @@ paths: - created_at - updated_at examples: - default: *452 + default: *454 headers: Link: *58 x-github: @@ -62360,16 +62521,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -62389,17 +62550,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '200': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62419,9 +62580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 requestBody: required: true content: @@ -62449,7 +62610,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -62473,9 +62634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '204': description: Response @@ -62503,8 +62664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *327 - - *328 + - *329 + - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -62546,7 +62707,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &457 + properties: &459 login: type: string example: octocat @@ -62639,7 +62800,7 @@ paths: user_view_type: type: string example: public - required: &458 + required: &460 - avatar_url - events_url - followers_url @@ -62713,8 +62874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -62761,8 +62922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 requestBody: required: false @@ -62789,7 +62950,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &523 + schema: &525 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62800,7 +62961,7 @@ paths: example: 42 type: integer format: int64 - repository: *133 + repository: *135 invitee: title: Simple User description: A GitHub user. @@ -62978,7 +63139,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *107 + schema: *109 '403': *29 x-github: triggersNotification: true @@ -63018,8 +63179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -63051,8 +63212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '200': @@ -63073,8 +63234,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *457 - required: *458 + properties: *459 + required: *460 nullable: true required: - permission @@ -63129,8 +63290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -63140,7 +63301,7 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Commit Comment description: Commit Comment type: object @@ -63198,7 +63359,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &464 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63257,17 +63418,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '200': description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: &463 + default: &465 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63324,8 +63485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -63348,7 +63509,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: default: value: @@ -63399,8 +63560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '204': @@ -63422,8 +63583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -63450,9 +63611,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -63473,8 +63634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -63507,16 +63668,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -63538,10 +63699,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *83 - - *323 + - *325 responses: '204': description: Response @@ -63590,8 +63751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63647,9 +63808,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: &573 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63743,9 +63904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *327 - - *328 - - &461 + - *329 + - *330 + - &463 name: commit_sha description: The SHA of the commit. in: path @@ -63817,9 +63978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 - *17 - *19 responses: @@ -63829,9 +63990,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *462 + default: *464 headers: Link: *58 x-github: @@ -63859,9 +64020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 requestBody: required: true content: @@ -63896,9 +64057,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *463 + default: *465 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63926,9 +64087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 - *17 - *19 responses: @@ -63938,9 +64099,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: &565 + default: &567 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64477,11 +64638,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - - &465 + - &467 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)" @@ -64496,9 +64657,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &552 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64611,11 +64772,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *327 - - *328 - - *465 - - *466 + - *329 + - *330 - *467 + - *468 + - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64649,9 +64810,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *411 examples: - default: *468 + default: *470 headers: Link: *58 x-github: @@ -64676,9 +64837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *327 - - *328 - - *465 + - *329 + - *330 + - *467 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64686,7 +64847,7 @@ paths: schema: type: integer example: 1 - - *466 + - *468 - *17 - *19 responses: @@ -64704,7 +64865,7 @@ paths: type: integer check_suites: type: array - items: *414 + items: *416 examples: default: value: @@ -64904,9 +65065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *327 - - *328 - - *465 + - *329 + - *330 + - *467 - *17 - *19 responses: @@ -64973,7 +65134,7 @@ paths: type: string total_count: type: integer - repository: *133 + repository: *135 commit_url: type: string format: uri @@ -65104,9 +65265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *327 - - *328 - - *465 + - *329 + - *330 + - *467 - *17 - *19 responses: @@ -65116,7 +65277,7 @@ paths: application/json: schema: type: array - items: &630 + items: &632 title: Status description: The status of a commit. type: object @@ -65197,7 +65358,7 @@ paths: site_admin: false headers: Link: *58 - '301': *336 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65225,8 +65386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -65255,20 +65416,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *469 - required: *470 + properties: *471 + required: *472 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &471 + properties: &473 url: type: string format: uri html_url: type: string format: uri - required: &472 + required: &474 - url - html_url nullable: true @@ -65282,26 +65443,26 @@ paths: contributing: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true readme: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true issue_template: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true pull_request_template: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true required: - code_of_conduct @@ -65428,8 +65589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - name: basehead @@ -65472,8 +65633,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *460 - merge_base_commit: *460 + base_commit: *462 + merge_base_commit: *462 status: type: string enum: @@ -65493,10 +65654,10 @@ paths: example: 6 commits: type: array - items: *460 + items: *462 files: type: array - items: *473 + items: *475 required: - url - html_url @@ -65782,8 +65943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -65926,7 +66087,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &474 + response-if-content-is-a-file: &476 summary: Response if content is a file value: type: file @@ -66058,7 +66219,7 @@ paths: - size - type - url - - &578 + - &580 title: Content File description: Content File type: object @@ -66259,7 +66420,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *474 + response-if-content-is-a-file: *476 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66328,7 +66489,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *475 + '302': *477 '304': *37 x-github: githubCloudOnly: false @@ -66351,8 +66512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -66445,7 +66606,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &478 title: File Commit description: File Commit type: object @@ -66597,7 +66758,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: example-for-creating-a-file: value: @@ -66651,7 +66812,7 @@ paths: schema: oneOf: - *3 - - &505 + - &507 description: Repository rule violation was detected type: object properties: @@ -66672,7 +66833,7 @@ paths: items: type: object properties: - placeholder_id: &622 + placeholder_id: &624 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66704,8 +66865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -66766,7 +66927,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -66821,8 +66982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *327 - - *328 + - *329 + - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66945,22 +67106,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *327 - - *328 - - *166 - - *167 + - *329 + - *330 - *168 - *169 + - *170 + - *171 - 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 - - *170 - - *171 - *172 - *173 + - *174 + - *175 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66980,8 +67141,8 @@ paths: default: 30 - *40 - *41 - - *174 - - *175 + - *176 + - *177 responses: '200': description: Response @@ -66989,7 +67150,7 @@ paths: application/json: schema: type: array - items: &479 + items: &481 type: object description: A Dependabot alert. properties: @@ -67035,13 +67196,13 @@ paths: - unknown - direct - transitive - security_advisory: *477 + security_advisory: *479 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *149 - dismissed_at: *151 + updated_at: *151 + dismissed_at: *153 dismissed_by: title: Simple User description: A GitHub user. @@ -67065,8 +67226,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *150 - auto_dismissed_at: *478 + fixed_at: *152 + auto_dismissed_at: *480 required: - number - state @@ -67296,9 +67457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *327 - - *328 - - &480 + - *329 + - *330 + - &482 name: alert_number in: path description: |- @@ -67313,7 +67474,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *481 examples: default: value: @@ -67426,9 +67587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *327 - - *328 - - *480 + - *329 + - *330 + - *482 requestBody: required: true content: @@ -67473,7 +67634,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *481 examples: default: value: @@ -67602,8 +67763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -67621,7 +67782,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &485 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67674,16 +67835,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *481 + schema: *483 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67703,15 +67864,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -67737,9 +67898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 requestBody: required: true content: @@ -67767,7 +67928,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -67791,9 +67952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '204': description: Response @@ -67815,8 +67976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -67976,8 +68137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -68216,8 +68377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -68292,7 +68453,7 @@ paths: - version - url additionalProperties: false - metadata: &484 + metadata: &486 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -68325,7 +68486,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *484 + metadata: *486 resolved: type: object description: A collection of resolved package dependencies. @@ -68338,7 +68499,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *484 + metadata: *486 relationship: type: string description: A notation of whether a dependency is requested @@ -68467,8 +68628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -68508,9 +68669,9 @@ paths: application/json: schema: type: array - items: *485 + items: *487 examples: - default: *486 + default: *488 headers: Link: *58 x-github: @@ -68576,8 +68737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -68658,7 +68819,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: simple-example: summary: Simple example @@ -68731,9 +68892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *327 - - *328 - - &487 + - *329 + - *330 + - &489 name: deployment_id description: deployment_id parameter in: path @@ -68745,7 +68906,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -68810,9 +68971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 responses: '204': description: Response @@ -68834,9 +68995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 - *17 - *19 responses: @@ -68846,7 +69007,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Deployment Status description: The status of a deployment. type: object @@ -69007,9 +69168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 requestBody: required: true content: @@ -69084,9 +69245,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &489 + default: &491 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -69142,9 +69303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 - name: status_id in: path required: true @@ -69155,9 +69316,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *489 + default: *491 '404': *6 x-github: githubCloudOnly: false @@ -69182,8 +69343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -69240,8 +69401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -69258,7 +69419,7 @@ paths: type: integer environments: type: array - items: &491 + items: &493 title: Environment description: Details of a deployment environment type: object @@ -69310,7 +69471,7 @@ paths: type: type: string example: wait_timer - wait_timer: &493 + wait_timer: &495 type: integer example: 30 description: The amount of time to delay a job after @@ -69347,11 +69508,11 @@ paths: items: type: object properties: - type: *490 + type: *492 reviewer: anyOf: - *4 - - *165 + - *167 required: - id - node_id @@ -69371,7 +69532,7 @@ paths: - id - node_id - type - deployment_branch_policy: &494 + deployment_branch_policy: &496 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -69487,9 +69648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *327 - - *328 - - &492 + - *329 + - *330 + - &494 name: environment_name in: path required: true @@ -69502,9 +69663,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: &495 + default: &497 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69588,9 +69749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 requestBody: required: false content: @@ -69599,7 +69760,7 @@ paths: type: object nullable: true properties: - wait_timer: *493 + wait_timer: *495 prevent_self_review: type: boolean example: false @@ -69616,13 +69777,13 @@ paths: items: type: object properties: - type: *490 + type: *492 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *494 + deployment_branch_policy: *496 additionalProperties: false examples: default: @@ -69642,9 +69803,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69668,9 +69829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 responses: '204': description: Default response @@ -69695,9 +69856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 - *17 - *19 responses: @@ -69715,7 +69876,7 @@ paths: example: 2 branch_policies: type: array - items: &496 + items: &498 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69772,9 +69933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 requestBody: required: true content: @@ -69820,9 +69981,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - example-wildcard: &497 + example-wildcard: &499 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69864,10 +70025,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 - - &498 + - *329 + - *330 + - *494 + - &500 name: branch_policy_id in: path required: true @@ -69879,9 +70040,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69900,10 +70061,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 - - *498 + - *329 + - *330 + - *494 + - *500 requestBody: required: true content: @@ -69931,9 +70092,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69952,10 +70113,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 - - *498 + - *329 + - *330 + - *494 + - *500 responses: '204': description: Response @@ -69980,9 +70141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *492 - - *328 - - *327 + - *494 + - *330 + - *329 responses: '200': description: List of deployment protection rules @@ -69998,7 +70159,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &499 + items: &501 title: Deployment protection rule description: Deployment protection rule type: object @@ -70017,7 +70178,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &500 + app: &502 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -70116,9 +70277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *492 - - *328 - - *327 + - *494 + - *330 + - *329 requestBody: content: application/json: @@ -70139,9 +70300,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *499 + schema: *501 examples: - default: &501 + default: &503 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -70176,9 +70337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *492 - - *328 - - *327 + - *494 + - *330 + - *329 - *19 - *17 responses: @@ -70197,7 +70358,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *500 + items: *502 examples: default: value: @@ -70232,10 +70393,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *327 - - *328 - - *492 - - &502 + - *329 + - *330 + - *494 + - &504 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -70247,9 +70408,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70270,10 +70431,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *492 - - *328 - - *327 - - *502 + - *494 + - *330 + - *329 + - *504 responses: '204': description: Response @@ -70299,9 +70460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 - *17 - *19 responses: @@ -70319,9 +70480,9 @@ paths: type: integer secrets: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *58 x-github: @@ -70346,17 +70507,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *378 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70378,18 +70539,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *327 - - *328 - - *492 - - *141 + - *329 + - *330 + - *494 + - *143 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: *503 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70411,10 +70572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *327 - - *328 - - *492 - - *141 + - *329 + - *330 + - *494 + - *143 requestBody: required: true content: @@ -70445,7 +70606,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -70471,10 +70632,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *327 - - *328 - - *492 - - *141 + - *329 + - *330 + - *494 + - *143 responses: '204': description: Default response @@ -70499,10 +70660,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *327 - - *328 - - *492 - - *346 + - *329 + - *330 + - *494 + - *348 - *19 responses: '200': @@ -70519,9 +70680,9 @@ paths: type: integer variables: type: array - items: *379 + items: *381 examples: - default: *380 + default: *382 headers: Link: *58 x-github: @@ -70544,9 +70705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 requestBody: required: true content: @@ -70573,7 +70734,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -70598,18 +70759,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *327 - - *328 - - *492 - - *144 + - *329 + - *330 + - *494 + - *146 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70630,10 +70791,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *327 - - *328 - - *144 - - *492 + - *329 + - *330 + - *146 + - *494 requestBody: required: true content: @@ -70675,10 +70836,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *327 - - *328 - - *144 - - *492 + - *329 + - *330 + - *146 + - *494 responses: '204': description: Response @@ -70700,8 +70861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -70778,8 +70939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *327 - - *328 + - *329 + - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70801,7 +70962,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -70938,8 +71099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -70971,9 +71132,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 '400': *14 '422': *15 '403': *29 @@ -70994,8 +71155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71054,8 +71215,8 @@ paths: application/json: schema: oneOf: - - *107 - - *505 + - *109 + - *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71080,8 +71241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *327 - - *328 + - *329 + - *330 - name: file_sha in: path required: true @@ -71180,8 +71341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71290,7 +71451,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &508 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71504,15 +71665,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -71568,9 +71729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *327 - - *328 - - &507 + - *329 + - *330 + - &509 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. @@ -71587,7 +71748,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 title: Git Reference description: Git references within a repository type: object @@ -71662,17 +71823,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *327 - - *328 - - *507 + - *329 + - *330 + - *509 responses: '200': description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &509 + default: &511 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71701,8 +71862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71731,9 +71892,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *509 + default: *511 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -71759,9 +71920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *327 - - *328 - - *507 + - *329 + - *330 + - *509 requestBody: required: true content: @@ -71790,9 +71951,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *509 + default: *511 '422': *15 '409': *47 x-github: @@ -71810,9 +71971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *327 - - *328 - - *507 + - *329 + - *330 + - *509 responses: '204': description: Response @@ -71867,8 +72028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71935,7 +72096,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &513 title: Git Tag description: Metadata for a Git tag type: object @@ -71986,7 +72147,7 @@ paths: - sha - type - url - verification: *510 + verification: *512 required: - sha - url @@ -71996,7 +72157,7 @@ paths: - tag - message examples: - default: &512 + default: &514 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -72069,8 +72230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *327 - - *328 + - *329 + - *330 - name: tag_sha in: path required: true @@ -72081,9 +72242,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 '409': *47 x-github: @@ -72107,8 +72268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -72181,7 +72342,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &515 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -72277,8 +72438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *327 - - *328 + - *329 + - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72301,7 +72462,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: default-response: summary: Default response @@ -72360,8 +72521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -72371,7 +72532,7 @@ paths: application/json: schema: type: array - items: &514 + items: &516 title: Webhook description: Webhooks for repositories. type: object @@ -72425,7 +72586,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &744 + last_response: &747 title: Hook Response type: object properties: @@ -72499,8 +72660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -72552,9 +72713,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: &515 + default: &517 value: type: Repository id: 12345678 @@ -72602,17 +72763,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '200': description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '404': *6 x-github: githubCloudOnly: false @@ -72632,9 +72793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 requestBody: required: true content: @@ -72679,9 +72840,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '422': *15 '404': *6 x-github: @@ -72702,9 +72863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '204': description: Response @@ -72728,9 +72889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '200': description: Response @@ -72757,9 +72918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 requestBody: required: false content: @@ -72803,11 +72964,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -72815,9 +72976,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -72836,18 +72997,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -72866,9 +73027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 - *16 responses: '202': *39 @@ -72891,9 +73052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '204': description: Response @@ -72918,9 +73079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '204': description: Response @@ -72978,14 +73139,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &516 + schema: &518 title: Import description: A repository import from an external source. type: object @@ -73084,7 +73245,7 @@ paths: - html_url - authors_url examples: - default: &519 + default: &521 value: vcs: subversion use_lfs: true @@ -73100,7 +73261,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &517 + '503': &519 description: Unavailable due to service under maintenance. content: application/json: @@ -73129,8 +73290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73178,7 +73339,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -73203,7 +73364,7 @@ paths: type: string '422': *15 '404': *6 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73231,8 +73392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -73281,7 +73442,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: example-1: summary: Example 1 @@ -73329,7 +73490,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': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73352,12 +73513,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73383,9 +73544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *327 - - *328 - - &682 + - *329 + - *330 + - &684 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73399,7 +73560,7 @@ paths: application/json: schema: type: array - items: &518 + items: &520 title: Porter Author description: Porter Author type: object @@ -73453,7 +73614,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73478,8 +73639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *327 - - *328 + - *329 + - *330 - name: author_id in: path required: true @@ -73509,7 +73670,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -73522,7 +73683,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73546,8 +73707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -73588,7 +73749,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73616,8 +73777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73644,11 +73805,11 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *519 + default: *521 '422': *15 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73671,8 +73832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -73680,8 +73841,8 @@ paths: application/json: schema: *22 examples: - default: *520 - '301': *336 + default: *522 + '301': *338 '404': *6 x-github: githubCloudOnly: false @@ -73701,8 +73862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -73710,12 +73871,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: &522 + default: &524 value: limit: collaborators_only origin: repository @@ -73740,13 +73901,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *521 + schema: *523 examples: default: summary: Example request body @@ -73758,9 +73919,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *522 + default: *524 '409': description: Response x-github: @@ -73782,8 +73943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -73806,8 +73967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -73817,9 +73978,9 @@ paths: application/json: schema: type: array - items: *523 + items: *525 examples: - default: &675 + default: &677 value: - id: 1 repository: @@ -73950,9 +74111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *207 requestBody: required: false content: @@ -73981,7 +74142,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -74112,9 +74273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *207 responses: '204': description: Response @@ -74145,8 +74306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -74194,7 +74355,7 @@ paths: required: false schema: type: string - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -74219,7 +74380,7 @@ paths: type: array items: *84 examples: - default: &532 + default: &534 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74367,7 +74528,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *336 + '301': *338 '422': *15 '404': *6 x-github: @@ -74396,8 +74557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74481,7 +74642,7 @@ paths: application/json: schema: *84 examples: - default: &529 + default: &531 value: id: 1 node_id: MDU6SXNzdWUx @@ -74637,7 +74798,7 @@ paths: '422': *15 '503': *72 '404': *6 - '410': *333 + '410': *335 x-github: triggersNotification: true githubCloudOnly: false @@ -74665,8 +74826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74687,9 +74848,9 @@ paths: application/json: schema: type: array - items: *524 + items: *526 examples: - default: &531 + default: &533 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74747,17 +74908,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '200': description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: &525 + default: &527 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74811,8 +74972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -74835,9 +74996,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -74855,8 +75016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '204': @@ -74877,8 +75038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74905,9 +75066,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -74928,8 +75089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -74962,16 +75123,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -74993,10 +75154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *83 - - *323 + - *325 responses: '204': description: Response @@ -75016,8 +75177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -75027,7 +75188,7 @@ paths: application/json: schema: type: array - items: &528 + items: &530 title: Issue Event description: Issue Event type: object @@ -75070,8 +75231,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *526 - required: *527 + properties: *528 + required: *529 nullable: true label: title: Issue Event Label @@ -75115,7 +75276,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *165 + requested_team: *167 dismissed_review: title: Issue Event Dismissed Review type: object @@ -75378,8 +75539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *327 - - *328 + - *329 + - *330 - name: event_id in: path required: true @@ -75390,7 +75551,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: default: value: @@ -75583,7 +75744,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *333 + '410': *335 '403': *29 x-github: githubCloudOnly: false @@ -75617,9 +75778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *327 - - *328 - - &530 + - *329 + - *330 + - &532 name: issue_number description: The number that identifies the issue. in: path @@ -75633,10 +75794,10 @@ paths: application/json: schema: *84 examples: - default: *529 - '301': *336 + default: *531 + '301': *338 '404': *6 - '410': *333 + '410': *335 '304': *37 x-github: githubCloudOnly: false @@ -75661,9 +75822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -75769,13 +75930,13 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 '422': *15 '503': *72 '403': *29 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75793,9 +75954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -75823,7 +75984,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75839,9 +76000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: content: application/json: @@ -75868,7 +76029,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75890,9 +76051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: assignee in: path required: true @@ -75932,9 +76093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *74 - *17 - *19 @@ -75945,13 +76106,13 @@ paths: application/json: schema: type: array - items: *524 + items: *526 examples: - default: *531 + default: *533 headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75980,9 +76141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -76004,16 +76165,16 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *333 + '410': *335 '422': *15 '404': *6 x-github: @@ -76041,9 +76202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -76055,12 +76216,12 @@ paths: type: array items: *84 examples: - default: *532 + default: *534 headers: Link: *58 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76088,9 +76249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -76114,15 +76275,15 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *336 + '301': *338 '403': *29 - '410': *333 + '410': *335 '422': *15 '404': *6 x-github: @@ -76153,9 +76314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -76169,13 +76330,13 @@ paths: application/json: schema: *84 examples: - default: *529 - '301': *336 + default: *531 + '301': *338 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *333 + '410': *335 x-github: triggersNotification: true githubCloudOnly: false @@ -76201,9 +76362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -76215,12 +76376,12 @@ paths: type: array items: *84 examples: - default: *532 + default: *534 headers: Link: *58 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76237,9 +76398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -76253,7 +76414,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &535 + - &537 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -76307,7 +76468,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &538 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76443,7 +76604,7 @@ paths: - performed_via_github_app - assignee - assigner - - &537 + - &539 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76494,7 +76655,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &540 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76545,7 +76706,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &541 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76599,7 +76760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &542 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76633,7 +76794,7 @@ paths: properties: *68 required: *69 review_requester: *4 - requested_team: *165 + requested_team: *167 requested_reviewer: *4 required: - review_requester @@ -76646,7 +76807,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76680,7 +76841,7 @@ paths: properties: *68 required: *69 review_requester: *4 - requested_team: *165 + requested_team: *167 requested_reviewer: *4 required: - review_requester @@ -76693,7 +76854,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &544 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76753,7 +76914,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Locked Issue Event description: Locked Issue Event type: object @@ -76801,7 +76962,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76867,7 +77028,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76933,7 +77094,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76999,7 +77160,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -77090,7 +77251,7 @@ paths: color: red headers: Link: *58 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77107,9 +77268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -77119,7 +77280,7 @@ paths: application/json: schema: type: array - items: &533 + items: &535 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -77166,7 +77327,7 @@ paths: - color - default examples: - default: &534 + default: &536 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77184,9 +77345,9 @@ paths: default: false headers: Link: *58 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77203,9 +77364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -77264,12 +77425,12 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 - '301': *336 + default: *536 + '301': *338 '404': *6 - '410': *333 + '410': *335 '422': *15 x-github: githubCloudOnly: false @@ -77286,9 +77447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -77348,12 +77509,12 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 - '301': *336 + default: *536 + '301': *338 '404': *6 - '410': *333 + '410': *335 '422': *15 x-github: githubCloudOnly: false @@ -77370,15 +77531,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 responses: '204': description: Response - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77397,9 +77558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: name in: path required: true @@ -77412,7 +77573,7 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: default: value: @@ -77423,9 +77584,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77445,9 +77606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -77475,7 +77636,7 @@ paths: '204': description: Response '403': *29 - '410': *333 + '410': *335 '404': *6 '422': *15 x-github: @@ -77493,9 +77654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 responses: '204': description: Response @@ -77525,9 +77686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 responses: '200': description: Response @@ -77535,10 +77696,10 @@ paths: application/json: schema: *84 examples: - default: *529 - '301': *336 + default: *531 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77555,9 +77716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -77583,13 +77744,13 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77607,9 +77768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77641,16 +77802,16 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -77672,10 +77833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *327 - - *328 - - *530 - - *323 + - *329 + - *330 + - *532 + - *325 responses: '204': description: Response @@ -77704,9 +77865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77730,7 +77891,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77763,9 +77924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -77777,11 +77938,11 @@ paths: type: array items: *84 examples: - default: *532 + default: *534 headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77809,9 +77970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77840,14 +78001,14 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *333 + '410': *335 '422': *15 '404': *6 x-github: @@ -77867,9 +78028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77902,7 +78063,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 '403': *29 '404': *6 '422': *7 @@ -77924,9 +78085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -77941,8 +78102,6 @@ paths: description: Timeline Event type: object anyOf: - - *535 - - *536 - *537 - *538 - *539 @@ -77954,6 +78113,8 @@ paths: - *545 - *546 - *547 + - *548 + - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -78262,7 +78423,7 @@ paths: type: string comments: type: array - items: &567 + items: &569 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -78471,7 +78632,7 @@ paths: type: string comments: type: array - items: *459 + items: *461 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78760,7 +78921,7 @@ paths: headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78777,8 +78938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -78788,7 +78949,7 @@ paths: application/json: schema: type: array - items: &548 + items: &550 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78854,8 +79015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -78891,9 +79052,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: &549 + default: &551 value: id: 1 key: ssh-rsa AAA... @@ -78927,9 +79088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *327 - - *328 - - &550 + - *329 + - *330 + - &552 name: key_id description: The unique identifier of the key. in: path @@ -78941,9 +79102,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: *549 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -78961,9 +79122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *327 - - *328 - - *550 + - *329 + - *330 + - *552 responses: '204': description: Response @@ -78983,8 +79144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -78994,9 +79155,9 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 + default: *536 headers: Link: *58 '404': *6 @@ -79017,8 +79178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79054,9 +79215,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: &551 + default: &553 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79088,8 +79249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -79100,9 +79261,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: *551 + default: *553 '404': *6 x-github: githubCloudOnly: false @@ -79119,8 +79280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -79159,7 +79320,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: default: value: @@ -79185,8 +79346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -79212,8 +79373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -79252,9 +79413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *327 - - *328 - - *435 + - *329 + - *330 + - *437 responses: '200': description: Response @@ -79399,8 +79560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79465,8 +79626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79500,9 +79661,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *460 + schema: *462 examples: - default: *552 + default: *554 '204': description: Response when already merged '404': @@ -79527,8 +79688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79569,12 +79730,12 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 examples: default: value: @@ -79630,8 +79791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79671,9 +79832,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: &554 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79732,9 +79893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *327 - - *328 - - &555 + - *329 + - *330 + - &557 name: milestone_number description: The number that identifies the milestone. in: path @@ -79746,9 +79907,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '404': *6 x-github: githubCloudOnly: false @@ -79765,9 +79926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *327 - - *328 - - *555 + - *329 + - *330 + - *557 requestBody: required: false content: @@ -79805,9 +79966,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79823,9 +79984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *327 - - *328 - - *555 + - *329 + - *330 + - *557 responses: '204': description: Response @@ -79846,9 +80007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *327 - - *328 - - *555 + - *329 + - *330 + - *557 - *17 - *19 responses: @@ -79858,9 +80019,9 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 + default: *536 headers: Link: *58 x-github: @@ -79879,12 +80040,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *327 - - *328 - - *556 - - *557 - - *74 + - *329 + - *330 - *558 + - *559 + - *74 + - *560 - *17 - *19 responses: @@ -79896,7 +80057,7 @@ paths: type: array items: *97 examples: - default: *559 + default: *561 headers: Link: *58 x-github: @@ -79920,8 +80081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -79979,14 +80140,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &560 + schema: &562 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -80111,7 +80272,7 @@ paths: - custom_404 - public examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -80152,8 +80313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -80207,9 +80368,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '422': *15 '409': *47 x-github: @@ -80232,8 +80393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -80332,8 +80493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -80359,8 +80520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -80370,7 +80531,7 @@ paths: application/json: schema: type: array - items: &562 + items: &564 title: Page Build description: Page Build type: object @@ -80464,8 +80625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -80510,16 +80671,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &563 + default: &565 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -80567,8 +80728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 - name: build_id in: path required: true @@ -80579,9 +80740,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80601,8 +80762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -80707,9 +80868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *327 - - *328 - - &564 + - *329 + - *330 + - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80767,11 +80928,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *327 - - *328 - - *564 + - *329 + - *330 + - *566 responses: - '204': *159 + '204': *161 '404': *6 x-github: githubCloudOnly: false @@ -80796,8 +80957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -81028,7 +81189,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -81055,8 +81216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Private vulnerability reporting status @@ -81093,10 +81254,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: - '204': *159 + '204': *161 '422': *14 x-github: githubCloudOnly: false @@ -81115,10 +81276,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: - '204': *159 + '204': *161 '422': *14 x-github: githubCloudOnly: false @@ -81139,8 +81300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: Indicates the state of the projects to return. in: query @@ -81161,7 +81322,7 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: value: @@ -81201,7 +81362,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *333 + '410': *335 '422': *7 x-github: githubCloudOnly: false @@ -81224,8 +81385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81251,13 +81412,13 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *332 + default: *334 '401': *25 '403': *29 '404': *6 - '410': *333 + '410': *335 '422': *7 x-github: githubCloudOnly: false @@ -81280,8 +81441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -81289,7 +81450,7 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: default: value: @@ -81320,8 +81481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81333,7 +81494,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *259 + items: *261 required: - properties examples: @@ -81383,8 +81544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81444,9 +81605,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: *565 + default: *567 headers: Link: *58 '304': *37 @@ -81478,8 +81639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81544,7 +81705,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81655,8 +81816,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 nullable: true active_lock_reason: type: string @@ -81701,7 +81862,7 @@ paths: nullable: true requested_teams: type: array - items: *305 + items: *307 nullable: true head: type: object @@ -81740,14 +81901,14 @@ paths: _links: type: object properties: - comments: *249 - commits: *249 - statuses: *249 - html: *249 - issue: *249 - review_comments: *249 - review_comment: *249 - self: *249 + comments: *251 + commits: *251 + statuses: *251 + html: *251 + issue: *251 + review_comments: *251 + review_comment: *251 + self: *251 required: - comments - commits @@ -81758,7 +81919,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: *566 + auto_merge: *568 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -81850,7 +82011,7 @@ paths: - merged_by - review_comments examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -82377,8 +82538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: sort in: query required: false @@ -82407,9 +82568,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82486,17 +82647,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '200': description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82571,8 +82732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -82595,9 +82756,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82613,8 +82774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '204': @@ -82636,8 +82797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82664,9 +82825,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -82687,8 +82848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -82721,16 +82882,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -82752,10 +82913,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *83 - - *323 + - *325 responses: '204': description: Response @@ -82798,9 +82959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *327 - - *328 - - &571 + - *329 + - *330 + - &573 name: pull_number description: The number that identifies the pull request. in: path @@ -82813,9 +82974,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '304': *37 '404': *6 '406': @@ -82850,9 +83011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -82894,9 +83055,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 '403': *29 x-github: @@ -82918,9 +83079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: true content: @@ -82980,17 +83141,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '401': *25 '403': *29 '404': *6 @@ -83020,9 +83181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -83043,9 +83204,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: *572 + default: *574 headers: Link: *58 x-github: @@ -83078,9 +83239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: true content: @@ -83185,7 +83346,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: example-for-a-multi-line-comment: value: @@ -83273,9 +83434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *83 requestBody: required: true @@ -83298,7 +83459,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: default: value: @@ -83384,9 +83545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *17 - *19 responses: @@ -83396,9 +83557,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *573 + default: *575 headers: Link: *58 x-github: @@ -83428,9 +83589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *17 - *19 responses: @@ -83440,7 +83601,7 @@ paths: application/json: schema: type: array - items: *473 + items: *475 examples: default: value: @@ -83478,9 +83639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 responses: '204': description: Response if pull request has been merged @@ -83503,9 +83664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -83616,9 +83777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 responses: '200': description: Response @@ -83634,7 +83795,7 @@ paths: items: *4 teams: type: array - items: *165 + items: *167 required: - users - teams @@ -83693,9 +83854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -83732,7 +83893,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -84268,9 +84429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: true content: @@ -84304,7 +84465,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -84809,9 +84970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *17 - *19 responses: @@ -84821,7 +84982,7 @@ paths: application/json: schema: type: array - items: &574 + items: &576 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84972,9 +85133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -85060,9 +85221,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &576 + default: &578 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85125,10 +85286,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - &575 + - *329 + - *330 + - *573 + - &577 name: review_id description: The unique identifier of the review. in: path @@ -85140,9 +85301,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &577 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85201,10 +85362,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 requestBody: required: true content: @@ -85227,7 +85388,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -85289,18 +85450,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *576 + default: *578 '422': *7 '404': *6 x-github: @@ -85327,10 +85488,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 - *17 - *19 responses: @@ -85413,9 +85574,9 @@ paths: _links: type: object properties: - self: *249 - html: *249 - pull_request: *249 + self: *251 + html: *251 + pull_request: *251 required: - self - html @@ -85565,10 +85726,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 requestBody: required: true content: @@ -85596,7 +85757,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -85659,10 +85820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 requestBody: required: true content: @@ -85697,9 +85858,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *577 + default: *579 '404': *6 '422': *7 '403': *29 @@ -85721,9 +85882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -85786,8 +85947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85800,9 +85961,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: type: file encoding: base64 @@ -85844,8 +86005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *327 - - *328 + - *329 + - *330 - name: dir description: The alternate path to look for a README file in: path @@ -85865,9 +86026,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 '422': *15 x-github: @@ -85889,8 +86050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -85900,7 +86061,7 @@ paths: application/json: schema: type: array - items: &580 + items: &582 title: Release description: A release. type: object @@ -85971,7 +86132,7 @@ paths: author: *4 assets: type: array - items: &581 + items: &583 title: Release Asset description: Data related to a release. type: object @@ -86158,8 +86319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -86235,9 +86396,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &584 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -86342,9 +86503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *327 - - *328 - - &582 + - *329 + - *330 + - &584 name: asset_id description: The unique identifier of the asset. in: path @@ -86356,9 +86517,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 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 @@ -86393,7 +86554,7 @@ paths: type: User site_admin: false '404': *6 - '302': *475 + '302': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86409,9 +86570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *327 - - *328 - - *582 + - *329 + - *330 + - *584 requestBody: required: false content: @@ -86439,9 +86600,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86457,9 +86618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *327 - - *328 - - *582 + - *329 + - *330 + - *584 responses: '204': description: Response @@ -86483,8 +86644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -86569,16 +86730,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86595,8 +86756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *327 - - *328 + - *329 + - *330 - name: tag description: tag parameter in: path @@ -86609,9 +86770,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -86633,9 +86794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *327 - - *328 - - &585 + - *329 + - *330 + - &587 name: release_id description: The unique identifier of the release. in: path @@ -86649,9 +86810,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '401': description: Unauthorized x-github: @@ -86669,9 +86830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 requestBody: required: false content: @@ -86735,9 +86896,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': description: Not Found if the discussion category name is invalid content: @@ -86758,9 +86919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 responses: '204': description: Response @@ -86780,9 +86941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 - *17 - *19 responses: @@ -86792,7 +86953,7 @@ paths: application/json: schema: type: array - items: *581 + items: *583 examples: default: value: @@ -86873,9 +87034,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: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 - name: name in: query required: true @@ -86901,7 +87062,7 @@ paths: description: Response for successful upload content: application/json: - schema: *581 + schema: *583 examples: response-for-successful-upload: value: @@ -86956,9 +87117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -86982,9 +87143,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -87005,9 +87166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 requestBody: required: true content: @@ -87037,16 +87198,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -87068,10 +87229,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *327 - - *328 - - *585 - - *323 + - *329 + - *330 + - *587 + - *325 responses: '204': description: Response @@ -87095,9 +87256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 - *17 - *19 responses: @@ -87113,8 +87274,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *268 - - &586 + - *270 + - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -87133,69 +87294,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *269 - - *586 - - allOf: - - *270 - - *586 - allOf: - *271 - - *586 - - allOf: - - *587 - - *586 + - *588 - allOf: - *272 - - *586 + - *588 - allOf: - *273 - - *586 + - *588 + - allOf: + - *589 + - *588 - allOf: - *274 - - *586 + - *588 - allOf: - *275 - - *586 + - *588 - allOf: - *276 - - *586 + - *588 - allOf: - *277 - - *586 + - *588 - allOf: - *278 - - *586 + - *588 - allOf: - *279 - - *586 + - *588 - allOf: - *280 - - *586 + - *588 - allOf: - *281 - - *586 + - *588 - allOf: - *282 - - *586 + - *588 - allOf: - *283 - - *586 + - *588 - allOf: - *284 - - *586 + - *588 - allOf: - *285 - - *586 + - *588 - allOf: - *286 - - *586 + - *588 - allOf: - *287 - - *586 + - *588 + - allOf: + - *288 + - *588 - allOf: + - *289 + - *588 + - allOf: + - *590 - *588 - - *586 examples: default: value: @@ -87234,8 +87395,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: includes_parents @@ -87246,7 +87407,7 @@ paths: schema: type: boolean default: true - - *589 + - *591 responses: '200': description: Response @@ -87254,7 +87415,7 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: default: value: @@ -87301,8 +87462,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 requestBody: description: Request body required: true @@ -87322,16 +87483,16 @@ paths: - tag - push default: branch - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *263 + items: *268 + conditions: *265 rules: type: array description: An array of rules within the ruleset. - items: *590 + items: *592 required: - name - enforcement @@ -87362,9 +87523,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &600 + default: &602 value: id: 42 name: super cool ruleset @@ -87411,12 +87572,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *327 - - *328 - - *591 - - *592 + - *329 + - *330 - *593 - *594 + - *595 + - *596 - *17 - *19 responses: @@ -87424,9 +87585,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *597 examples: - default: *596 + default: *598 '404': *6 '500': *104 x-github: @@ -87447,17 +87608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *327 - - *328 - - *597 + - *329 + - *330 + - *599 responses: '200': description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *599 + default: *601 '404': *6 '500': *104 x-github: @@ -87485,8 +87646,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87506,9 +87667,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *600 + default: *602 '404': *6 '500': *104 put: @@ -87526,8 +87687,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87552,16 +87713,16 @@ paths: - branch - tag - push - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *263 + items: *268 + conditions: *265 rules: description: An array of rules within the ruleset. type: array - items: *590 + items: *592 examples: default: value: @@ -87589,9 +87750,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *600 + default: *602 '404': *6 '500': *104 delete: @@ -87609,8 +87770,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87633,8 +87794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: ruleset_id @@ -87650,9 +87811,9 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: - default: *601 + default: *603 '404': *6 '500': *104 x-github: @@ -87671,8 +87832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87690,7 +87851,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -87745,21 +87906,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *292 - - *293 + - *329 + - *330 - *294 - *295 + - *296 + - *297 - *48 - *19 - *17 - - *603 - - *604 - - *296 - - *297 + - *605 + - *606 - *298 - *299 + - *300 + - *301 responses: '200': description: Response @@ -87767,7 +87928,7 @@ paths: application/json: schema: type: array - items: &608 + items: &610 type: object properties: number: *54 @@ -87786,8 +87947,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *605 - resolution: *606 + state: *607 + resolution: *608 resolved_at: type: string format: date-time @@ -87883,7 +88044,7 @@ paths: pull request. ' - oneOf: *607 + oneOf: *609 nullable: true has_more_locations: type: boolean @@ -88006,16 +88167,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *327 - - *328 - - *429 - - *299 + - *329 + - *330 + - *431 + - *301 responses: '200': description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -88067,9 +88228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 requestBody: required: true content: @@ -88077,8 +88238,8 @@ paths: schema: type: object properties: - state: *605 - resolution: *606 + state: *607 + resolution: *608 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -88096,7 +88257,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -88171,9 +88332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 - *19 - *17 responses: @@ -88184,7 +88345,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &766 + items: &769 type: object properties: type: @@ -88210,8 +88371,6 @@ paths: example: commit details: oneOf: - - *609 - - *610 - *611 - *612 - *613 @@ -88223,6 +88382,8 @@ paths: - *619 - *620 - *621 + - *622 + - *623 examples: default: value: @@ -88308,8 +88469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88317,14 +88478,14 @@ paths: schema: type: object properties: - reason: &623 + reason: &625 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *622 + placeholder_id: *624 required: - reason - placeholder_id @@ -88341,7 +88502,7 @@ paths: schema: type: object properties: - reason: *623 + reason: *625 expire_at: type: string format: date-time @@ -88384,8 +88545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -88400,7 +88561,7 @@ paths: properties: incremental_scans: type: array - items: &624 + items: &626 description: Information on a single scan performed by secret scanning on the repository type: object @@ -88426,15 +88587,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *624 + items: *626 backfill_scans: type: array - items: *624 + items: *626 custom_pattern_backfill_scans: type: array items: allOf: - - *624 + - *626 - type: object properties: pattern_name: @@ -88504,8 +88665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *327 - - *328 + - *329 + - *330 - *48 - name: sort description: The property to sort the results by. @@ -88549,9 +88710,9 @@ paths: application/json: schema: type: array - items: *625 + items: *627 examples: - default: *626 + default: *628 '400': *14 '404': *6 x-github: @@ -88574,8 +88735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88648,7 +88809,7 @@ paths: login: type: string description: The username of the user credited. - type: *304 + type: *306 required: - login - type @@ -88735,9 +88896,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: &628 + default: &630 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88970,8 +89131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -89075,7 +89236,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: default: value: @@ -89222,17 +89383,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 responses: '200': description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *628 + default: *630 '403': *29 '404': *6 x-github: @@ -89256,9 +89417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 requestBody: required: true content: @@ -89331,7 +89492,7 @@ paths: login: type: string description: The username of the user credited. - type: *304 + type: *306 required: - login - type @@ -89417,17 +89578,17 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *628 - add_credit: *628 + default: *630 + add_credit: *630 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *107 + schema: *109 examples: invalid_state_transition: value: @@ -89458,9 +89619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 responses: '202': *39 '400': *14 @@ -89487,17 +89648,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 responses: '202': description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 '400': *14 '422': *15 '403': *29 @@ -89523,8 +89684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -89623,8 +89784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89633,7 +89794,7 @@ paths: application/json: schema: type: array - items: &629 + items: &631 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89646,7 +89807,7 @@ paths: - 1124 - -435 '202': *39 - '204': *159 + '204': *161 '422': description: Repository contains more than 10,000 commits x-github: @@ -89666,8 +89827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -89716,7 +89877,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89743,8 +89904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -89818,7 +89979,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89840,8 +90001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89995,8 +90156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -90006,7 +90167,7 @@ paths: application/json: schema: type: array - items: *629 + items: *631 examples: default: value: @@ -90019,7 +90180,7 @@ paths: - - 0 - 2 - 21 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90039,8 +90200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *327 - - *328 + - *329 + - *330 - name: sha in: path required: true @@ -90094,7 +90255,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -90148,8 +90309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -90181,14 +90342,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &631 + schema: &633 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90256,8 +90417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -90283,7 +90444,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -90310,8 +90471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -90331,8 +90492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -90411,8 +90572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -90420,7 +90581,7 @@ paths: application/json: schema: type: array - items: &632 + items: &634 title: Tag protection description: Tag protection type: object @@ -90472,8 +90633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -90496,7 +90657,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: default: value: @@ -90527,8 +90688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90565,8 +90726,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -90602,8 +90763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -90613,9 +90774,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 headers: Link: *58 '404': *6 @@ -90635,8 +90796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 responses: @@ -90644,7 +90805,7 @@ paths: description: Response content: application/json: - schema: &633 + schema: &635 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90656,7 +90817,7 @@ paths: required: - names examples: - default: &634 + default: &636 value: names: - octocat @@ -90679,8 +90840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -90711,9 +90872,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: - default: *634 + default: *636 '404': *6 '422': *7 x-github: @@ -90734,9 +90895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *327 - - *328 - - &635 + - *329 + - *330 + - &637 name: per description: The time frame to display results for. in: query @@ -90765,7 +90926,7 @@ paths: example: 128 clones: type: array - items: &636 + items: &638 title: Traffic type: object properties: @@ -90852,8 +91013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -90943,8 +91104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -91004,9 +91165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *327 - - *328 - - *635 + - *329 + - *330 + - *637 responses: '200': description: Response @@ -91025,7 +91186,7 @@ paths: example: 3782 views: type: array - items: *636 + items: *638 required: - uniques - count @@ -91102,8 +91263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91139,7 +91300,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *135 examples: default: value: @@ -91377,8 +91538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91401,8 +91562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -91424,8 +91585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -91451,8 +91612,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -91544,9 +91705,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91587,7 +91748,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -91776,7 +91937,7 @@ paths: html_url: type: string format: uri - repository: *133 + repository: *135 score: type: number file_size: @@ -91794,7 +91955,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &637 + text_matches: &639 title: Search Result Text Matches type: array items: @@ -91956,7 +92117,7 @@ paths: enum: - author-date - committer-date - - &638 + - &640 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 @@ -92027,7 +92188,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *395 + properties: *397 nullable: true comment_count: type: integer @@ -92047,7 +92208,7 @@ paths: url: type: string format: uri - verification: *510 + verification: *512 required: - author - committer @@ -92066,7 +92227,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *395 + properties: *397 nullable: true parents: type: array @@ -92079,12 +92240,12 @@ paths: type: string sha: type: string - repository: *133 + repository: *135 score: type: number node_id: type: string - text_matches: *637 + text_matches: *639 required: - sha - node_id @@ -92266,7 +92427,7 @@ paths: - interactions - created - updated - - *638 + - *640 - *17 - *19 - name: advanced_search @@ -92372,11 +92533,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: type: string state_reason: @@ -92393,8 +92554,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 nullable: true comments: type: integer @@ -92408,7 +92569,7 @@ paths: type: string format: date-time nullable: true - text_matches: *637 + text_matches: *639 pull_request: type: object properties: @@ -92452,7 +92613,7 @@ paths: timeline_url: type: string format: uri - type: *206 + type: *208 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -92636,7 +92797,7 @@ paths: enum: - created - updated - - *638 + - *640 - *17 - *19 responses: @@ -92680,7 +92841,7 @@ paths: nullable: true score: type: number - text_matches: *637 + text_matches: *639 required: - id - node_id @@ -92765,7 +92926,7 @@ paths: - forks - help-wanted-issues - updated - - *638 + - *640 - *17 - *19 responses: @@ -93004,7 +93165,7 @@ paths: - admin - pull - push - text_matches: *637 + text_matches: *639 temp_clone_token: type: string allow_merge_commit: @@ -93304,7 +93465,7 @@ paths: type: string format: uri nullable: true - text_matches: *637 + text_matches: *639 related: type: array nullable: true @@ -93495,7 +93656,7 @@ paths: - followers - repositories - joined - - *638 + - *640 - *17 - *19 responses: @@ -93599,7 +93760,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *637 + text_matches: *639 blog: type: string nullable: true @@ -93678,7 +93839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &642 + - &644 name: team_id description: The unique identifier of the team. in: path @@ -93690,9 +93851,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 x-github: githubCloudOnly: false @@ -93719,7 +93880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *642 + - *644 requestBody: required: true content: @@ -93782,16 +93943,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '201': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 '422': *15 '403': *29 @@ -93819,7 +93980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *642 + - *644 responses: '204': description: Response @@ -93850,7 +94011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *642 + - *644 - *48 - *17 - *19 @@ -93861,9 +94022,9 @@ paths: application/json: schema: type: array - items: *314 + items: *316 examples: - default: *643 + default: *645 headers: Link: *58 x-github: @@ -93892,7 +94053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *642 + - *644 requestBody: required: true content: @@ -93926,9 +94087,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 x-github: triggersNotification: true githubCloudOnly: false @@ -93955,16 +94116,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 responses: '200': description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93989,8 +94150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 requestBody: required: false content: @@ -94013,9 +94174,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *644 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94040,8 +94201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 responses: '204': description: Response @@ -94070,8 +94231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *642 - - *316 + - *644 + - *318 - *48 - *17 - *19 @@ -94082,9 +94243,9 @@ paths: application/json: schema: type: array - items: *317 + items: *319 examples: - default: *645 + default: *647 headers: Link: *58 x-github: @@ -94113,8 +94274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *642 - - *316 + - *644 + - *318 requestBody: required: true content: @@ -94136,9 +94297,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: triggersNotification: true githubCloudOnly: false @@ -94165,17 +94326,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 responses: '200': description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94200,9 +94361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 requestBody: required: true content: @@ -94224,9 +94385,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *646 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94251,9 +94412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 responses: '204': description: Response @@ -94282,9 +94443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94310,9 +94471,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -94341,9 +94502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 requestBody: required: true content: @@ -94375,9 +94536,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94403,8 +94564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94430,9 +94591,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -94461,8 +94622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 requestBody: required: true content: @@ -94494,9 +94655,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94520,7 +94681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -94530,9 +94691,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *58 x-github: @@ -94558,7 +94719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *642 + - *644 - name: role description: Filters members returned by their role in the team. in: query @@ -94609,7 +94770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94646,7 +94807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94686,7 +94847,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94723,16 +94884,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *642 + - *644 - *63 responses: '200': description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-user-is-a-team-maintainer: *647 + response-if-user-is-a-team-maintainer: *649 '404': *6 x-github: githubCloudOnly: false @@ -94765,7 +94926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *642 + - *644 - *63 requestBody: required: false @@ -94791,9 +94952,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: *648 + response-if-users-membership-with-team-is-now-pending: *650 '403': description: Forbidden if team synchronization is set up '422': @@ -94827,7 +94988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94856,7 +95017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -94866,9 +95027,9 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: - default: *649 + default: *651 headers: Link: *58 '404': *6 @@ -94894,16 +95055,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *642 - - *326 + - *644 + - *328 responses: '200': description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: *650 + default: *652 '404': description: Not Found if project is not managed by this team x-github: @@ -94927,8 +95088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *642 - - *326 + - *644 + - *328 requestBody: required: false content: @@ -94995,8 +95156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *642 - - *326 + - *644 + - *328 responses: '204': description: Response @@ -95023,7 +95184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -95033,9 +95194,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 '404': *6 @@ -95065,15 +95226,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *642 - - *327 - - *328 + - *644 + - *329 + - *330 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *651 + schema: *653 examples: alternative-response-with-extra-repository-information: value: @@ -95224,9 +95385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *642 - - *327 - - *328 + - *644 + - *329 + - *330 requestBody: required: false content: @@ -95276,9 +95437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *642 - - *327 - - *328 + - *644 + - *329 + - *330 responses: '204': description: Response @@ -95303,7 +95464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -95313,9 +95474,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - response-if-child-teams-exist: *652 + response-if-child-teams-exist: *654 headers: Link: *58 '404': *6 @@ -95348,7 +95509,7 @@ paths: application/json: schema: oneOf: - - &654 + - &656 title: Private User description: Private User type: object @@ -95551,7 +95712,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *653 + - *655 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95704,7 +95865,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *656 examples: default: value: @@ -95907,9 +96068,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *37 '500': *104 '401': *25 @@ -96048,17 +96209,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '401': *25 '403': *29 '404': *6 @@ -96102,7 +96263,7 @@ paths: type: integer secrets: type: array - items: &655 + items: &657 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96142,7 +96303,7 @@ paths: - visibility - selected_repositories_url examples: - default: *452 + default: *454 headers: Link: *58 x-github: @@ -96212,13 +96373,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *655 + schema: *657 examples: default: value: @@ -96248,7 +96409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 requestBody: required: true content: @@ -96293,7 +96454,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -96321,7 +96482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '204': description: Response @@ -96346,7 +96507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 responses: '200': description: Response @@ -96362,9 +96523,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *656 + default: *658 '401': *25 '403': *29 '404': *6 @@ -96389,7 +96550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 requestBody: required: true content: @@ -96443,7 +96604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -96476,7 +96637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -96508,15 +96669,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '304': *37 '500': *104 '401': *25 @@ -96542,7 +96703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 requestBody: required: false content: @@ -96572,9 +96733,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '401': *25 '403': *29 '404': *6 @@ -96596,7 +96757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': *39 '304': *37 @@ -96625,13 +96786,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': description: Response content: application/json: - schema: &657 + schema: &659 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96672,7 +96833,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &658 + default: &660 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96704,7 +96865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *213 + - *215 - name: export_id in: path required: true @@ -96717,9 +96878,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: *658 + default: *660 '404': *6 x-github: githubCloudOnly: false @@ -96740,7 +96901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *213 + - *215 responses: '200': description: Response @@ -96756,9 +96917,9 @@ paths: type: integer machines: type: array - items: *659 + items: *661 examples: - default: *660 + default: *662 '304': *37 '500': *104 '401': *25 @@ -96787,7 +96948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *213 + - *215 requestBody: required: true content: @@ -96837,13 +96998,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *335 + repository: *337 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *450 - required: *451 + properties: *452 + required: *453 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97617,15 +97778,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '304': *37 '500': *104 '400': *14 @@ -97657,15 +97818,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '500': *104 '401': *25 '403': *29 @@ -97695,9 +97856,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: &672 + default: &674 value: - id: 197 name: hello_docker @@ -97798,7 +97959,7 @@ paths: application/json: schema: type: array - items: &661 + items: &663 title: Email description: Email type: object @@ -97863,9 +98024,9 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: - default: &674 + default: &676 value: - email: octocat@github.com verified: true @@ -97940,7 +98101,7 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: default: value: @@ -98196,7 +98357,7 @@ paths: application/json: schema: type: array - items: &662 + items: &664 title: GPG Key description: A unique encryption key type: object @@ -98327,7 +98488,7 @@ paths: - subkeys - revoked examples: - default: &688 + default: &690 value: - id: 3 name: Octocat's GPG Key @@ -98412,9 +98573,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: - default: &663 + default: &665 value: id: 3 name: Octocat's GPG Key @@ -98471,7 +98632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &664 + - &666 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98483,9 +98644,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: - default: *663 + default: *665 '404': *6 '304': *37 '403': *29 @@ -98508,7 +98669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *664 + - *666 responses: '204': description: Response @@ -98699,7 +98860,7 @@ paths: type: array items: *67 examples: - default: *125 + default: *127 headers: Link: *58 '404': *6 @@ -98724,7 +98885,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *122 + - *124 responses: '204': description: Response @@ -98750,7 +98911,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *122 + - *124 responses: '204': description: Response @@ -98784,12 +98945,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: *202 + default: *204 '204': description: Response when there are no restrictions x-github: @@ -98813,7 +98974,7 @@ paths: required: true content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -98824,7 +98985,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -98905,7 +99066,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -98930,7 +99091,7 @@ paths: type: array items: *84 examples: - default: *210 + default: *212 headers: Link: *58 '404': *6 @@ -98963,7 +99124,7 @@ paths: application/json: schema: type: array - items: &665 + items: &667 title: Key description: Key type: object @@ -99064,9 +99225,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: &666 + default: &668 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99099,15 +99260,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *550 + - *552 responses: '200': description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: *666 + default: *668 '404': *6 '304': *37 '403': *29 @@ -99130,7 +99291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *550 + - *552 responses: '204': description: Response @@ -99163,7 +99324,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99231,7 +99392,7 @@ paths: - account - plan examples: - default: &668 + default: &670 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99293,9 +99454,9 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 + default: *670 headers: Link: *58 '304': *37 @@ -99335,7 +99496,7 @@ paths: application/json: schema: type: array - items: *216 + items: *218 examples: default: value: @@ -99443,7 +99604,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -99526,7 +99687,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -99594,7 +99755,7 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: default: value: @@ -99847,7 +100008,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -100027,7 +100188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *219 + - *221 - name: exclude in: query required: false @@ -100040,7 +100201,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -100234,7 +100395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *219 + - *221 responses: '302': description: Response @@ -100260,7 +100421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *219 + - *221 responses: '204': description: Response @@ -100289,8 +100450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *219 - - *669 + - *221 + - *671 responses: '204': description: Response @@ -100314,7 +100475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *219 + - *221 - *17 - *19 responses: @@ -100324,9 +100485,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 '404': *6 @@ -100361,9 +100522,9 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: - default: *670 + default: *672 headers: Link: *58 '304': *37 @@ -100405,7 +100566,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *19 - *17 responses: @@ -100415,10 +100576,10 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *672 - '400': *673 + default: *674 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100438,16 +100599,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 responses: '200': description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: &689 + default: &691 value: id: 40201 name: octo-name @@ -100560,8 +100721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 responses: '204': description: Response @@ -100591,8 +100752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 - name: token description: package token schema: @@ -100624,8 +100785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 - *19 - *17 - name: state @@ -100645,7 +100806,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -100694,15 +100855,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 responses: '200': description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -100738,9 +100899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 responses: '204': description: Response @@ -100770,9 +100931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 responses: '204': description: Response @@ -100828,7 +100989,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -100900,9 +101061,9 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: - default: *674 + default: *676 headers: Link: *58 '304': *37 @@ -101015,7 +101176,7 @@ paths: type: array items: *67 examples: - default: &681 + default: &683 summary: Default response value: - id: 1296269 @@ -101319,9 +101480,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101359,9 +101520,9 @@ paths: application/json: schema: type: array - items: *523 + items: *525 examples: - default: *675 + default: *677 headers: Link: *58 '304': *37 @@ -101384,7 +101545,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -101407,7 +101568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -101440,7 +101601,7 @@ paths: application/json: schema: type: array - items: &676 + items: &678 title: Social account description: Social media account type: object @@ -101455,7 +101616,7 @@ paths: - provider - url examples: - default: &677 + default: &679 value: - provider: twitter url: https://twitter.com/github @@ -101517,9 +101678,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 '422': *15 '304': *37 '404': *6 @@ -101606,7 +101767,7 @@ paths: application/json: schema: type: array - items: &678 + items: &680 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101626,7 +101787,7 @@ paths: - title - created_at examples: - default: &702 + default: &705 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101692,9 +101853,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: &679 + default: &681 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101725,7 +101886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &680 + - &682 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101737,9 +101898,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '404': *6 '304': *37 '403': *29 @@ -101762,7 +101923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *680 + - *682 responses: '204': description: Response @@ -101791,7 +101952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &703 + - &706 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 @@ -101816,11 +101977,11 @@ paths: type: array items: *67 examples: - default-response: *681 + default-response: *683 application/vnd.github.v3.star+json: schema: type: array - items: &704 + items: &707 title: Starred Repository description: Starred Repository type: object @@ -101976,8 +102137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if this repository is starred by you @@ -102005,8 +102166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -102030,8 +102191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -102064,9 +102225,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 '304': *37 @@ -102103,7 +102264,7 @@ paths: application/json: schema: type: array - items: *312 + items: *314 examples: default: value: @@ -102189,10 +102350,10 @@ paths: application/json: schema: oneOf: - - *654 - - *653 + - *656 + - *655 examples: - default-response: &683 + default-response: &685 summary: Default response value: login: octocat @@ -102227,7 +102388,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &684 + response-with-git-hub-plan-information: &686 summary: Response with GitHub plan information value: login: octocat @@ -102287,7 +102448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *682 + - *684 - *17 responses: '200': @@ -102336,11 +102497,11 @@ paths: application/json: schema: oneOf: - - *654 - - *653 + - *656 + - *655 examples: - default-response: *683 - response-with-git-hub-plan-information: *684 + default-response: *685 + response-with-git-hub-plan-information: *686 '404': *6 x-github: githubCloudOnly: false @@ -102389,8 +102550,8 @@ paths: required: - subject_digests examples: - default: *685 - withPredicateType: *686 + default: *687 + withPredicateType: *688 responses: '200': description: Response @@ -102443,7 +102604,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *687 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102647,12 +102808,12 @@ paths: initiator: type: string examples: - default: *391 + default: *393 '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -102686,9 +102847,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *672 + default: *674 '403': *29 '401': *25 x-github: @@ -103092,9 +103253,9 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: - default: *688 + default: *690 headers: Link: *58 x-github: @@ -103198,7 +103359,7 @@ paths: application/json: schema: *22 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103281,9 +103442,9 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: - default: *670 + default: *672 headers: Link: *58 x-github: @@ -103322,7 +103483,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *63 - *19 - *17 @@ -103333,12 +103494,12 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *672 + default: *674 '403': *29 '401': *25 - '400': *673 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103358,17 +103519,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 responses: '200': description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: *689 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103389,8 +103550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 responses: '204': @@ -103423,8 +103584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 - name: token description: package token @@ -103457,8 +103618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 responses: '200': @@ -103467,7 +103628,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -103525,16 +103686,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 - *63 responses: '200': description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -103569,10 +103730,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *227 - - *228 - - *63 + - *229 - *230 + - *63 + - *232 responses: '204': description: Response @@ -103604,10 +103765,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *227 - - *228 - - *63 + - *229 - *230 + - *63 + - *232 responses: '204': description: Response @@ -103654,7 +103815,7 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: value: @@ -103729,9 +103890,9 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: - default: *243 + default: *245 headers: Link: *58 '304': *37 @@ -103753,16 +103914,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *244 + - *246 - *63 responses: '200': description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 headers: Link: *58 '304': *37 @@ -103784,7 +103945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *244 + - *246 - *63 - *17 - *40 @@ -103796,9 +103957,9 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: - default: *246 + default: *248 headers: Link: *58 '304': *37 @@ -103820,17 +103981,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *244 - - *690 + - *246 + - *692 - *63 responses: '200': description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 headers: Link: *58 '304': *37 @@ -103853,7 +104014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *244 + - *246 - *63 - *40 - *41 @@ -103883,9 +104044,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *255 headers: Link: *58 '304': *37 @@ -103907,7 +104068,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *244 + - *246 requestBody: required: true description: Details of the item to add to the project. @@ -103944,10 +104105,10 @@ paths: description: Response content: application/json: - schema: *691 + schema: *693 examples: - issue: *251 - pull_request: *251 + issue: *253 + pull_request: *253 '304': *37 '403': *29 '401': *25 @@ -103967,9 +104128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *244 + - *246 - *63 - - *254 + - *256 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -103986,9 +104147,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *58 '304': *37 @@ -104009,9 +104170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *244 + - *246 - *63 - - *254 + - *256 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104081,13 +104242,13 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - text_field: *253 - number_field: *253 - date_field: *253 - single_select_field: *253 - iteration_field: *253 + text_field: *255 + number_field: *255 + date_field: *255 + single_select_field: *255 + iteration_field: *255 '401': *25 '403': *29 '404': *6 @@ -104107,9 +104268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *244 + - *246 - *63 - - *254 + - *256 responses: '204': description: Response @@ -104355,9 +104516,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -104387,9 +104548,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *694 examples: - default: *693 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104417,14 +104578,144 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *63 + - *105 + - *698 + - *106 + - *699 + - *700 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *104 + '503': *72 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -104447,9 +104738,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *701 examples: - default: *697 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104470,10 +104761,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *63 - - *698 - - *699 - - *700 - - *701 + - *105 + - *703 + - *106 + - *704 responses: '200': description: Response when getting a billing usage report @@ -104572,9 +104863,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 headers: Link: *58 x-github: @@ -104604,9 +104895,9 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *702 + default: *705 headers: Link: *58 x-github: @@ -104631,7 +104922,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *63 - - *703 + - *706 - *48 - *17 - *19 @@ -104643,11 +104934,11 @@ paths: schema: anyOf: - type: array - items: *704 + items: *707 - type: array items: *67 examples: - default-response: *681 + default-response: *683 headers: Link: *58 x-github: @@ -104676,9 +104967,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -104806,7 +105097,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &705 + enterprise: &708 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104864,7 +105155,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &706 + installation: &709 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104883,7 +105174,7 @@ x-webhooks: required: - id - node_id - organization: &707 + organization: &710 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104943,13 +105234,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &708 + repository: &711 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: &738 + properties: &741 id: description: Unique identifier of the repository example: 42 @@ -105632,7 +105923,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &739 + required: &742 - archive_url - assignees_url - blobs_url @@ -105783,10 +106074,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -105862,11 +106153,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - rule: &709 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + rule: &712 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -106089,11 +106380,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - rule: *709 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + rule: *712 sender: *4 required: - action @@ -106276,11 +106567,11 @@ x-webhooks: - everyone required: - from - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - rule: *709 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + rule: *712 sender: *4 required: - action @@ -106364,7 +106655,7 @@ x-webhooks: type: string enum: - completed - check_run: &711 + check_run: &714 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106417,8 +106708,8 @@ x-webhooks: type: string pull_requests: type: array - items: *408 - repository: *133 + items: *410 + repository: *135 status: example: completed type: string @@ -106455,7 +106746,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *710 + deployment: *713 details_url: example: https://example.com type: string @@ -106505,7 +106796,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *408 + items: *410 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -106540,10 +106831,10 @@ x-webhooks: - output - app - pull_requests - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 sender: *4 required: - check_run @@ -106936,11 +107227,11 @@ x-webhooks: type: string enum: - created - check_run: *711 - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + check_run: *714 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 sender: *4 required: - check_run @@ -107336,11 +107627,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *711 - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + check_run: *714 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 requested_action: description: The action requested by the user. type: object @@ -107745,11 +108036,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *711 - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + check_run: *714 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 sender: *4 required: - check_run @@ -108726,10 +109017,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -109399,10 +109690,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -110066,10 +110357,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -110235,7 +110526,7 @@ x-webhooks: required: - login - id - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110380,20 +110671,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &712 + commit_oid: &715 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: *705 - installation: *706 - organization: *707 - ref: &713 + enterprise: *708 + installation: *709 + organization: *710 + ref: &716 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: *708 + repository: *711 sender: *4 required: - action @@ -110558,7 +110849,7 @@ x-webhooks: required: - login - id - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110788,12 +111079,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -110888,7 +111179,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111059,12 +111350,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -111230,7 +111521,7 @@ x-webhooks: required: - login - id - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111396,12 +111687,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -111501,7 +111792,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111669,16 +111960,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 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: *708 + repository: *711 sender: *4 required: - action @@ -111775,7 +112066,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111915,12 +112206,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -112177,10 +112468,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -112260,18 +112551,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *707 - pusher_type: &714 + organization: *710 + pusher_type: &717 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &715 + ref: &718 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -112281,7 +112572,7 @@ x-webhooks: enum: - tag - branch - repository: *708 + repository: *711 sender: *4 required: - ref @@ -112363,10 +112654,10 @@ x-webhooks: type: string enum: - created - definition: *255 - enterprise: *705 - installation: *706 - organization: *707 + definition: *257 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112451,9 +112742,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112530,10 +112821,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *255 - enterprise: *705 - installation: *706 - organization: *707 + definition: *257 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112610,10 +112901,10 @@ x-webhooks: type: string enum: - updated - definition: *255 - enterprise: *705 - installation: *706 - organization: *707 + definition: *257 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112690,19 +112981,19 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - repository: *708 - organization: *707 + enterprise: *708 + installation: *709 + repository: *711 + organization: *710 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *259 + items: *261 old_property_values: type: array description: The old custom property values for the repository. - items: *259 + items: *261 required: - action - repository @@ -112778,18 +113069,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - pusher_type: *714 - ref: *715 + enterprise: *708 + installation: *709 + organization: *710 + pusher_type: *717 + ref: *718 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *708 + repository: *711 sender: *4 required: - ref @@ -112873,11 +113164,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -112961,11 +113252,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113049,11 +113340,11 @@ x-webhooks: type: string enum: - created - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113135,11 +113426,11 @@ x-webhooks: type: string enum: - dismissed - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113221,11 +113512,11 @@ x-webhooks: type: string enum: - fixed - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113308,11 +113599,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113394,11 +113685,11 @@ x-webhooks: type: string enum: - reopened - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113475,9 +113766,9 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - key: &716 + enterprise: *708 + installation: *709 + key: &719 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113513,8 +113804,8 @@ x-webhooks: - verified - created_at - read_only - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -113591,11 +113882,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - key: *716 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + key: *719 + organization: *710 + repository: *711 sender: *4 required: - action @@ -114156,12 +114447,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: &720 + workflow: &723 title: Workflow type: object nullable: true @@ -114887,13 +115178,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *485 + deployment: *487 pull_requests: type: array - items: *569 - repository: *708 - organization: *707 - installation: *706 + items: *571 + repository: *711 + organization: *710 + installation: *709 sender: *4 responses: '200': @@ -114964,7 +115255,7 @@ x-webhooks: type: string enum: - approved - approver: &717 + approver: &720 type: object properties: avatar_url: @@ -115007,11 +115298,11 @@ x-webhooks: type: string comment: type: string - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - reviewers: &718 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + reviewers: &721 type: array items: type: object @@ -115090,7 +115381,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &719 + workflow_job_run: &722 type: object properties: conclusion: @@ -115821,18 +116112,18 @@ x-webhooks: type: string enum: - rejected - approver: *717 + approver: *720 comment: type: string - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - reviewers: *718 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + reviewers: *721 sender: *4 since: type: string - workflow_job_run: *719 + workflow_job_run: *722 workflow_job_runs: type: array items: @@ -116536,13 +116827,13 @@ x-webhooks: type: string enum: - requested - enterprise: *705 + enterprise: *708 environment: type: string - installation: *706 - organization: *707 - repository: *708 - requestor: &725 + installation: *709 + organization: *710 + repository: *711 + requestor: &728 title: User type: object nullable: true @@ -118441,12 +118732,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Deployment Workflow Run type: object @@ -119126,7 +119417,7 @@ x-webhooks: type: string enum: - answered - answer: &723 + answer: &726 type: object properties: author_association: @@ -119283,7 +119574,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &721 + discussion: &724 title: Discussion description: A Discussion in a repository. type: object @@ -119569,7 +119860,7 @@ x-webhooks: - id labels: type: array - items: *533 + items: *535 required: - repository_url - category @@ -119591,10 +119882,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -119721,11 +120012,11 @@ x-webhooks: - from required: - category - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -119808,11 +120099,11 @@ x-webhooks: type: string enum: - closed - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -119894,7 +120185,7 @@ x-webhooks: type: string enum: - created - comment: &722 + comment: &725 type: object properties: author_association: @@ -120051,11 +120342,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120138,12 +120429,12 @@ x-webhooks: type: string enum: - deleted - comment: *722 - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + comment: *725 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120238,12 +120529,12 @@ x-webhooks: - from required: - body - comment: *722 - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + comment: *725 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120327,11 +120618,11 @@ x-webhooks: type: string enum: - created - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120413,11 +120704,11 @@ x-webhooks: type: string enum: - deleted - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120517,11 +120808,11 @@ x-webhooks: type: string required: - from - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120603,10 +120894,10 @@ x-webhooks: type: string enum: - labeled - discussion: *721 - enterprise: *705 - installation: *706 - label: &724 + discussion: *724 + enterprise: *708 + installation: *709 + label: &727 title: Label type: object properties: @@ -120638,8 +120929,8 @@ x-webhooks: - color - default - description - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120722,11 +121013,11 @@ x-webhooks: type: string enum: - locked - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120808,11 +121099,11 @@ x-webhooks: type: string enum: - pinned - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120894,11 +121185,11 @@ x-webhooks: type: string enum: - reopened - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120983,16 +121274,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *721 - new_repository: *708 + new_discussion: *724 + new_repository: *711 required: - new_discussion - new_repository - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121075,10 +121366,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *721 - old_answer: *723 - organization: *707 - repository: *708 + discussion: *724 + old_answer: *726 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121160,12 +121451,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *721 - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121248,11 +121539,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121334,11 +121625,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121411,7 +121702,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *705 + enterprise: *708 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -122071,9 +122362,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - forkee @@ -122219,9 +122510,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pages: description: The pages that were updated. type: array @@ -122258,7 +122549,7 @@ x-webhooks: - action - sha - html_url - repository: *708 + repository: *711 sender: *4 required: - pages @@ -122334,10 +122625,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: &726 + organization: *710 + repositories: &729 description: An array of repository objects that the installation can access. type: array @@ -122363,8 +122654,8 @@ x-webhooks: - name - full_name - private - repository: *708 - requester: *725 + repository: *711 + requester: *728 sender: *4 required: - action @@ -122439,11 +122730,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -122519,11 +122810,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -122599,10 +122890,10 @@ x-webhooks: type: string enum: - added - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories_added: &727 + organization: *710 + repositories_added: &730 description: An array of repository objects, which were added to the installation. type: array @@ -122648,15 +122939,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *708 - repository_selection: &728 + repository: *711 + repository_selection: &731 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *725 + requester: *728 sender: *4 required: - action @@ -122735,10 +123026,10 @@ x-webhooks: type: string enum: - removed - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories_added: *727 + organization: *710 + repositories_added: *730 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122765,9 +123056,9 @@ x-webhooks: - name - full_name - private - repository: *708 - repository_selection: *728 - requester: *725 + repository: *711 + repository_selection: *731 + requester: *728 sender: *4 required: - action @@ -122846,11 +123137,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -123028,10 +123319,10 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 target_type: type: string @@ -123110,11 +123401,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -123366,8 +123657,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124161,8 +124452,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124178,7 +124469,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -124511,8 +124802,8 @@ x-webhooks: - state - locked - assignee - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -124592,7 +124883,7 @@ x-webhooks: type: string enum: - deleted - comment: &729 + comment: &732 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -124757,8 +125048,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125548,8 +125839,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125565,7 +125856,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -125900,8 +126191,8 @@ x-webhooks: - state - locked - assignee - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -125981,7 +126272,7 @@ x-webhooks: type: string enum: - edited - changes: &758 + changes: &761 description: The changes to the comment. type: object properties: @@ -125993,9 +126284,9 @@ x-webhooks: type: string required: - from - comment: *729 - enterprise: *705 - installation: *706 + comment: *732 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126788,8 +127079,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126805,7 +127096,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -127138,8 +127429,8 @@ x-webhooks: - state - locked - assignee - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127229,9 +127520,9 @@ x-webhooks: type: number blocking_issue: *84 blocking_issue_repo: *67 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127325,9 +127616,9 @@ x-webhooks: type: number blocking_issue: *84 blocking_issue_repo: *67 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127420,9 +127711,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127516,9 +127807,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127603,10 +127894,10 @@ x-webhooks: type: string enum: - assigned - assignee: *725 - enterprise: *705 - installation: *706 - issue: &732 + assignee: *728 + enterprise: *708 + installation: *709 + issue: &735 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128395,11 +128686,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128415,7 +128706,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -128516,8 +128807,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -128597,8 +128888,8 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129392,11 +129683,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129412,7 +129703,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -129648,8 +129939,8 @@ x-webhooks: required: - state - closed_at - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -129728,8 +130019,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130514,11 +130805,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130534,7 +130825,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -130634,8 +130925,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -130714,8 +131005,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131522,11 +131813,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131542,7 +131833,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -131621,7 +131912,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &730 + milestone: &733 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131759,8 +132050,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -131859,8 +132150,8 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132649,11 +132940,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132666,7 +132957,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -132770,9 +133061,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *724 - organization: *707 - repository: *708 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -132852,8 +133143,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133641,11 +133932,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133658,7 +133949,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -133762,9 +134053,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *724 - organization: *707 - repository: *708 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -133844,8 +134135,8 @@ x-webhooks: type: string enum: - locked - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134657,11 +134948,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134674,7 +134965,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -134755,8 +135046,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -134835,8 +135126,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135642,11 +135933,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135662,7 +135953,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -135740,9 +136031,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *730 - organization: *707 - repository: *708 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -136610,11 +136901,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136707,7 +136998,7 @@ x-webhooks: required: - login - id - type: *206 + type: *208 required: - id - number @@ -137176,8 +137467,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137966,11 +138257,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137986,7 +138277,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -138086,8 +138377,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -138167,9 +138458,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *705 - installation: *706 - issue: &731 + enterprise: *708 + installation: *709 + issue: &734 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -138952,11 +139243,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138972,7 +139263,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -139072,8 +139363,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -139152,8 +139443,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139963,11 +140254,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140061,9 +140352,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *206 - organization: *707 - repository: *708 + type: *208 + organization: *710 + repository: *711 sender: *4 required: - action @@ -140929,11 +141220,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140949,7 +141240,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -141517,11 +141808,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *705 - installation: *706 - issue: *731 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *734 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141601,12 +141892,12 @@ x-webhooks: type: string enum: - typed - enterprise: *705 - installation: *706 - issue: *732 - type: *206 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + type: *208 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141687,7 +141978,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &761 + assignee: &764 title: User type: object nullable: true @@ -141757,11 +142048,11 @@ x-webhooks: required: - login - id - enterprise: *705 - installation: *706 - issue: *732 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141840,12 +142131,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *705 - installation: *706 - issue: *732 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141925,8 +142216,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142736,11 +143027,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142756,7 +143047,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -142834,8 +143125,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -142915,11 +143206,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *705 - installation: *706 - issue: *731 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *734 + organization: *710 + repository: *711 sender: *4 required: - action @@ -142998,12 +143289,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *705 - installation: *706 - issue: *732 - type: *206 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + type: *208 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143083,11 +143374,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143165,11 +143456,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143279,11 +143570,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143365,9 +143656,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: &733 + enterprise: *708 + installation: *709 + marketplace_purchase: &736 title: Marketplace Purchase type: object required: @@ -143450,8 +143741,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *707 - previous_marketplace_purchase: &734 + organization: *710 + previous_marketplace_purchase: &737 title: Marketplace Purchase type: object properties: @@ -143531,7 +143822,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *708 + repository: *711 sender: *4 required: - action @@ -143611,10 +143902,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: *733 - organization: *707 + enterprise: *708 + installation: *709 + marketplace_purchase: *736 + organization: *710 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143697,7 +143988,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *708 + repository: *711 sender: *4 required: - action @@ -143779,10 +144070,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: *733 - organization: *707 + enterprise: *708 + installation: *709 + marketplace_purchase: *736 + organization: *710 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143864,7 +144155,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *708 + repository: *711 sender: *4 required: - action @@ -143945,8 +144236,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 marketplace_purchase: title: Marketplace Purchase type: object @@ -144028,9 +144319,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *707 - previous_marketplace_purchase: *734 - repository: *708 + organization: *710 + previous_marketplace_purchase: *737 + repository: *711 sender: *4 required: - action @@ -144110,12 +144401,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: *733 - organization: *707 - previous_marketplace_purchase: *734 - repository: *708 + enterprise: *708 + installation: *709 + marketplace_purchase: *736 + organization: *710 + previous_marketplace_purchase: *737 + repository: *711 sender: *4 required: - action @@ -144217,11 +144508,11 @@ x-webhooks: type: string required: - to - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 sender: *4 required: - action @@ -144321,11 +144612,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 sender: *4 required: - action @@ -144404,11 +144695,11 @@ x-webhooks: type: string enum: - removed - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 sender: *4 required: - action @@ -144486,11 +144777,11 @@ x-webhooks: type: string enum: - added - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144566,7 +144857,7 @@ x-webhooks: required: - login - id - team: &735 + team: &738 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -144789,11 +145080,11 @@ x-webhooks: type: string enum: - removed - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144870,7 +145161,7 @@ x-webhooks: required: - login - id - team: *735 + team: *738 required: - action - scope @@ -144952,8 +145243,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *706 - merge_group: &737 + installation: *709 + merge_group: &740 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144972,15 +145263,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *736 + head_commit: *739 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145066,10 +145357,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *706 - merge_group: *737 - organization: *707 - repository: *708 + installation: *709 + merge_group: *740 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145142,7 +145433,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 + enterprise: *708 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -145251,16 +145542,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *706 - organization: *707 + installation: *709 + organization: *710 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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -145341,11 +145632,11 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 - milestone: *730 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145424,9 +145715,9 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - milestone: &740 + enterprise: *708 + installation: *709 + milestone: &743 title: Milestone description: A collection of related issues and pull requests. type: object @@ -145563,8 +145854,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145643,11 +145934,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - milestone: *730 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145757,11 +146048,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - milestone: *730 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145841,11 +146132,11 @@ x-webhooks: type: string enum: - opened - enterprise: *705 - installation: *706 - milestone: *740 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *743 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145924,11 +146215,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *725 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + blocked_user: *728 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146007,11 +146298,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *725 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + blocked_user: *728 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146090,9 +146381,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - membership: &741 + enterprise: *708 + installation: *709 + membership: &744 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -146199,8 +146490,8 @@ x-webhooks: - role - organization_url - user - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146278,11 +146569,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *705 - installation: *706 - membership: *741 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + membership: *744 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146361,8 +146652,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -146478,10 +146769,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 - user: *725 + user: *728 required: - action - invitation @@ -146559,11 +146850,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *705 - installation: *706 - membership: *741 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + membership: *744 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146650,11 +146941,11 @@ x-webhooks: properties: from: type: string - enterprise: *705 - installation: *706 - membership: *741 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + membership: *744 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146730,9 +147021,9 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 package: description: Information about the package. type: object @@ -147231,7 +147522,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &742 + items: &745 title: Ruby Gems metadata type: object properties: @@ -147326,7 +147617,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -147402,9 +147693,9 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 package: description: Information about the package. type: object @@ -147757,7 +148048,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *742 + items: *745 source_url: type: string format: uri @@ -147827,7 +148118,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -148004,12 +148295,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *705 + enterprise: *708 id: type: integer - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - id @@ -148086,7 +148377,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &743 + personal_access_token_request: &746 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -148232,10 +148523,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *705 - organization: *707 + enterprise: *708 + organization: *710 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148312,11 +148603,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *743 - enterprise: *705 - organization: *707 + personal_access_token_request: *746 + enterprise: *708 + organization: *710 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148392,11 +148683,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *743 - enterprise: *705 - organization: *707 + personal_access_token_request: *746 + enterprise: *708 + organization: *710 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148471,11 +148762,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *743 - organization: *707 - enterprise: *705 + personal_access_token_request: *746 + organization: *710 + enterprise: *708 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148580,7 +148871,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *744 + last_response: *747 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -148612,8 +148903,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 zen: description: Random string of GitHub zen. @@ -148858,10 +149149,10 @@ x-webhooks: - from required: - note - enterprise: *705 - installation: *706 - organization: *707 - project_card: &745 + enterprise: *708 + installation: *709 + organization: *710 + project_card: &748 title: Project Card type: object properties: @@ -148980,7 +149271,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *708 + repository: *711 sender: *4 required: - action @@ -149061,11 +149352,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - project_card: *745 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_card: *748 + repository: *711 sender: *4 required: - action @@ -149145,9 +149436,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 project_card: title: Project Card type: object @@ -149275,8 +149566,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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -149370,11 +149661,11 @@ x-webhooks: - from required: - note - enterprise: *705 - installation: *706 - organization: *707 - project_card: *745 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_card: *748 + repository: *711 sender: *4 required: - action @@ -149468,9 +149759,9 @@ x-webhooks: - from required: - column_id - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 project_card: allOf: - title: Project Card @@ -149660,7 +149951,7 @@ x-webhooks: type: string required: - after_id - repository: *708 + repository: *711 sender: *4 required: - action @@ -149740,10 +150031,10 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 - organization: *707 - project: &747 + enterprise: *708 + installation: *709 + organization: *710 + project: &750 title: Project type: object properties: @@ -149867,7 +150158,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *708 + repository: *711 sender: *4 required: - action @@ -149947,10 +150238,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - project_column: &746 + enterprise: *708 + installation: *709 + organization: *710 + project_column: &749 title: Project Column type: object properties: @@ -149989,7 +150280,7 @@ x-webhooks: - name - created_at - updated_at - repository: *708 + repository: *711 sender: *4 required: - action @@ -150068,18 +150359,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - project_column: *746 + enterprise: *708 + installation: *709 + organization: *710 + project_column: *749 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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -150169,11 +150460,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - project_column: *746 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_column: *749 + repository: *711 sender: *4 required: - action @@ -150253,11 +150544,11 @@ x-webhooks: type: string enum: - moved - enterprise: *705 - installation: *706 - organization: *707 - project_column: *746 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_column: *749 + repository: *711 sender: *4 required: - action @@ -150337,11 +150628,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - project: *747 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 + repository: *711 sender: *4 required: - action @@ -150421,18 +150712,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - project: *747 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -150534,11 +150825,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - project: *747 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 + repository: *711 sender: *4 required: - action @@ -150617,11 +150908,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *705 - installation: *706 - organization: *707 - project: *747 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 + repository: *711 sender: *4 required: - action @@ -150702,9 +150993,9 @@ x-webhooks: type: string enum: - closed - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -150785,9 +151076,9 @@ x-webhooks: type: string enum: - created - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -150868,9 +151159,9 @@ x-webhooks: type: string enum: - deleted - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -150987,9 +151278,9 @@ x-webhooks: type: string to: type: string - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -151072,7 +151363,7 @@ x-webhooks: type: string enum: - archived - changes: &751 + changes: &754 type: object properties: archived_at: @@ -151086,9 +151377,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *706 - organization: *707 - projects_v2_item: &748 + installation: *709 + organization: *710 + projects_v2_item: &751 title: Projects v2 Item description: An item belonging to a project type: object @@ -151106,7 +151397,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *250 + content_type: *252 creator: *4 created_at: type: string @@ -151223,9 +151514,9 @@ x-webhooks: nullable: true to: type: string - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151307,9 +151598,9 @@ x-webhooks: type: string enum: - created - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151390,9 +151681,9 @@ x-webhooks: type: string enum: - deleted - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151498,7 +151789,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &749 + - &752 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -151520,7 +151811,7 @@ x-webhooks: required: - id - name - - &750 + - &753 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -151554,8 +151845,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *749 - - *750 + - *752 + - *753 required: - field_value - type: object @@ -151571,9 +151862,9 @@ x-webhooks: nullable: true required: - body - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151668,9 +151959,9 @@ x-webhooks: to: type: string nullable: true - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151753,10 +152044,10 @@ x-webhooks: type: string enum: - restored - changes: *751 - installation: *706 - organization: *707 - projects_v2_item: *748 + changes: *754 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151838,9 +152129,9 @@ x-webhooks: type: string enum: - reopened - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -151921,14 +152212,14 @@ x-webhooks: type: string enum: - created - installation: *706 - organization: *707 - projects_v2_status_update: &754 + installation: *709 + organization: *710 + projects_v2_status_update: &757 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *752 - required: *753 + properties: *755 + required: *756 sender: *4 required: - action @@ -152009,9 +152300,9 @@ x-webhooks: type: string enum: - deleted - installation: *706 - organization: *707 - projects_v2_status_update: *754 + installation: *709 + organization: *710 + projects_v2_status_update: *757 sender: *4 required: - action @@ -152147,9 +152438,9 @@ x-webhooks: type: string format: date nullable: true - installation: *706 - organization: *707 - projects_v2_status_update: *754 + installation: *709 + organization: *710 + projects_v2_status_update: *757 sender: *4 required: - action @@ -152220,10 +152511,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - repository @@ -152300,13 +152591,13 @@ x-webhooks: type: string enum: - assigned - assignee: *725 - enterprise: *705 - installation: *706 - number: &755 + assignee: *728 + enterprise: *708 + installation: *709 + number: &758 description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -154589,7 +154880,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -154671,11 +154962,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -156953,7 +157244,7 @@ x-webhooks: - draft reason: type: string - repository: *708 + repository: *711 sender: *4 required: - action @@ -157035,11 +157326,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -159317,7 +159608,7 @@ x-webhooks: - draft reason: type: string - repository: *708 + repository: *711 sender: *4 required: - action @@ -159399,13 +159690,13 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: &756 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: &759 allOf: - - *569 + - *571 - type: object properties: allow_auto_merge: @@ -159467,7 +159758,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *708 + repository: *711 sender: *4 required: - action @@ -159548,12 +159839,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -159633,11 +159924,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *705 - milestone: *553 - number: *755 - organization: *707 - pull_request: &757 + enterprise: *708 + milestone: *555 + number: *758 + organization: *710 + pull_request: &760 title: Pull Request type: object properties: @@ -161900,7 +162191,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -161979,11 +162270,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -164265,7 +164556,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *708 + repository: *711 sender: *4 required: - action @@ -164389,12 +164680,12 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -164474,11 +164765,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -166745,7 +167036,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -166825,11 +167116,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *705 - installation: *706 - label: *724 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + label: *727 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -169111,7 +169402,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -169192,10 +169483,10 @@ x-webhooks: type: string enum: - locked - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -171475,7 +171766,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -171555,12 +171846,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *705 - milestone: *553 - number: *755 - organization: *707 - pull_request: *757 - repository: *708 + enterprise: *708 + milestone: *555 + number: *758 + organization: *710 + pull_request: *760 + repository: *711 sender: *4 required: - action @@ -171639,12 +171930,12 @@ x-webhooks: type: string enum: - opened - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -171725,12 +172016,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -171810,12 +172101,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -172181,9 +172472,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: type: object properties: @@ -174353,7 +174644,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *708 + repository: *711 sender: *4 required: - action @@ -174433,7 +174724,7 @@ x-webhooks: type: string enum: - deleted - comment: &759 + comment: &762 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -174718,9 +175009,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: type: object properties: @@ -176878,7 +177169,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *708 + repository: *711 sender: *4 required: - action @@ -176958,11 +177249,11 @@ x-webhooks: type: string enum: - edited - changes: *758 - comment: *759 - enterprise: *705 - installation: *706 - organization: *707 + changes: *761 + comment: *762 + enterprise: *708 + installation: *709 + organization: *710 pull_request: type: object properties: @@ -179123,7 +179414,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *708 + repository: *711 sender: *4 required: - action @@ -179204,9 +179495,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -181379,7 +181670,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 + repository: *711 review: description: The review that was affected. type: object @@ -181626,9 +181917,9 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -183682,8 +183973,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 - review: &760 + repository: *711 + review: &763 description: The review that was affected. type: object properties: @@ -183916,12 +184207,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -186204,7 +186495,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_reviewer: title: User type: object @@ -186288,12 +186579,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -188583,7 +188874,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188775,12 +189066,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -191065,7 +191356,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_reviewer: title: User type: object @@ -191150,12 +191441,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -193431,7 +193722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193612,9 +193903,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -195789,8 +196080,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 - review: *760 + repository: *711 + review: *763 sender: *4 required: - action @@ -195870,9 +196161,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -197942,7 +198233,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 + repository: *711 sender: *4 thread: type: object @@ -198329,9 +198620,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -200387,7 +200678,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 + repository: *711 sender: *4 thread: type: object @@ -200777,10 +201068,10 @@ x-webhooks: type: string before: type: string - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -203051,7 +203342,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -203133,11 +203424,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *761 - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + assignee: *764 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -205420,7 +205711,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -205499,11 +205790,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *705 - installation: *706 - label: *724 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + label: *727 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -207776,7 +208067,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -207857,10 +208148,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -210125,7 +210416,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -210325,7 +210616,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *705 + enterprise: *708 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210417,8 +210708,8 @@ x-webhooks: - url - author - committer - installation: *706 - organization: *707 + installation: *709 + organization: *710 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210993,9 +211284,9 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 registry_package: type: object properties: @@ -211441,7 +211732,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *742 + items: *745 summary: type: string tag_name: @@ -211495,7 +211786,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -211573,9 +211864,9 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 registry_package: type: object properties: @@ -211883,7 +212174,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *742 + items: *745 summary: type: string tag_name: @@ -211932,7 +212223,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -212009,10 +212300,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - release: &762 + enterprise: *708 + installation: *709 + organization: *710 + release: &765 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212330,7 +212621,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *708 + repository: *711 sender: *4 required: - action @@ -212407,11 +212698,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - release: *762 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *765 + repository: *711 sender: *4 required: - action @@ -212528,11 +212819,11 @@ x-webhooks: type: boolean required: - to - enterprise: *705 - installation: *706 - organization: *707 - release: *762 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *765 + repository: *711 sender: *4 required: - action @@ -212610,9 +212901,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212934,7 +213225,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *708 + repository: *711 sender: *4 required: - action @@ -213010,10 +213301,10 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 - release: &763 + enterprise: *708 + installation: *709 + organization: *710 + release: &766 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213332,7 +213623,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *708 + repository: *711 sender: *4 required: - action @@ -213408,11 +213699,11 @@ x-webhooks: type: string enum: - released - enterprise: *705 - installation: *706 - organization: *707 - release: *762 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *765 + repository: *711 sender: *4 required: - action @@ -213488,11 +213779,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *705 - installation: *706 - organization: *707 - release: *763 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *766 + repository: *711 sender: *4 required: - action @@ -213568,11 +213859,11 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_advisory: *625 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_advisory: *627 sender: *4 required: - action @@ -213648,11 +213939,11 @@ x-webhooks: type: string enum: - reported - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_advisory: *625 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_advisory: *627 sender: *4 required: - action @@ -213728,10 +214019,10 @@ x-webhooks: type: string enum: - archived - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -213808,10 +214099,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -213889,10 +214180,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -213976,10 +214267,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214091,10 +214382,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214166,10 +214457,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 status: type: string @@ -214250,10 +214541,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214330,10 +214621,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214427,10 +214718,10 @@ x-webhooks: - name required: - repository - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214510,11 +214801,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_ruleset: *288 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_ruleset: *290 sender: *4 required: - action @@ -214592,11 +214883,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_ruleset: *288 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_ruleset: *290 sender: *4 required: - action @@ -214674,11 +214965,11 @@ x-webhooks: type: string enum: - edited - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_ruleset: *288 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_ruleset: *290 changes: type: object properties: @@ -214697,16 +214988,16 @@ x-webhooks: properties: added: type: array - items: *263 + items: *265 deleted: type: array - items: *263 + items: *265 updated: type: array items: type: object properties: - condition: *263 + condition: *265 changes: type: object properties: @@ -214739,16 +215030,16 @@ x-webhooks: properties: added: type: array - items: *590 + items: *592 deleted: type: array - items: *590 + items: *592 updated: type: array items: type: object properties: - rule: *590 + rule: *592 changes: type: object properties: @@ -214982,10 +215273,10 @@ x-webhooks: - from required: - owner - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215063,10 +215354,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215144,7 +215435,7 @@ x-webhooks: type: string enum: - create - alert: &764 + alert: &767 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215265,10 +215556,10 @@ x-webhooks: type: string enum: - open - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215474,10 +215765,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215555,11 +215846,11 @@ x-webhooks: type: string enum: - reopen - alert: *764 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *767 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215758,10 +216049,10 @@ x-webhooks: enum: - fixed - open - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215839,7 +216130,7 @@ x-webhooks: type: string enum: - created - alert: &765 + alert: &768 type: object properties: number: *54 @@ -215950,10 +216241,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216034,11 +216325,11 @@ x-webhooks: type: string enum: - created - alert: *765 - installation: *706 - location: *766 - organization: *707 - repository: *708 + alert: *768 + installation: *709 + location: *769 + organization: *710 + repository: *711 sender: *4 required: - location @@ -216276,11 +216567,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216358,11 +216649,11 @@ x-webhooks: type: string enum: - reopened - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216440,11 +216731,11 @@ x-webhooks: type: string enum: - resolved - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216522,11 +216813,11 @@ x-webhooks: type: string enum: - validated - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216652,10 +216943,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *708 - enterprise: *705 - installation: *706 - organization: *707 + repository: *711 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -216733,11 +217024,11 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - security_advisory: &767 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + security_advisory: &770 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216920,11 +217211,11 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - security_advisory: *767 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + security_advisory: *770 sender: *4 required: - action @@ -216997,10 +217288,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -217184,11 +217475,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *262 - enterprise: *705 - installation: *706 - organization: *707 - repository: *335 + security_and_analysis: *264 + enterprise: *708 + installation: *709 + organization: *710 + repository: *337 sender: *4 required: - changes @@ -217266,12 +217557,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: &768 + sponsorship: &771 type: object properties: created_at: @@ -217572,12 +217863,12 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - sponsorship @@ -217665,12 +217956,12 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - changes @@ -217747,17 +218038,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &769 + effective_date: &772 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: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - sponsorship @@ -217831,7 +218122,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &770 + changes: &773 type: object properties: tier: @@ -217875,13 +218166,13 @@ x-webhooks: - from required: - tier - effective_date: *769 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + effective_date: *772 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - changes @@ -217958,13 +218249,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *770 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + changes: *773 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - changes @@ -218038,10 +218329,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218124,10 +218415,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218547,15 +218838,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *705 + enterprise: *708 id: description: The unique identifier of the status. type: integer - installation: *706 + installation: *709 name: type: string - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 sha: description: The Commit SHA. @@ -218670,9 +218961,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -218762,9 +219053,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -218854,9 +219145,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -218946,9 +219237,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -219025,12 +219316,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - team: &771 + team: &774 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219253,9 +219544,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -219713,7 +220004,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -219789,9 +220080,9 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -220249,7 +220540,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -220326,9 +220617,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -220786,7 +221077,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -220930,9 +221221,9 @@ x-webhooks: - from required: - permissions - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -221390,7 +221681,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - changes @@ -221468,9 +221759,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -221928,7 +222219,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -222004,10 +222295,10 @@ x-webhooks: type: string enum: - started - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -222080,16 +222371,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *705 + enterprise: *708 inputs: type: object nullable: true additionalProperties: true - installation: *706 - organization: *707 + installation: *709 + organization: *710 ref: type: string - repository: *708 + repository: *711 sender: *4 workflow: type: string @@ -222171,10 +222462,10 @@ x-webhooks: type: string enum: - completed - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: allOf: @@ -222411,7 +222702,7 @@ x-webhooks: type: string required: - conclusion - deployment: *485 + deployment: *487 required: - action - repository @@ -222490,10 +222781,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: allOf: @@ -222753,7 +223044,7 @@ x-webhooks: required: - status - steps - deployment: *485 + deployment: *487 required: - action - repository @@ -222832,10 +223123,10 @@ x-webhooks: type: string enum: - queued - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: type: object @@ -222970,7 +223261,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *487 required: - action - repository @@ -223049,10 +223340,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: type: object @@ -223188,7 +223479,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *487 required: - action - repository @@ -223268,12 +223559,12 @@ x-webhooks: type: string enum: - completed - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Workflow Run type: object @@ -224272,12 +224563,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Workflow Run type: object @@ -225261,12 +225552,12 @@ x-webhooks: type: string enum: - requested - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 5eaca83da..49a63cd45 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -53745,6 +53745,395 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -601881,6 +602270,382 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index ff7904a0b..eea08df1d 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -855,7 +855,7 @@ paths: - subscriptions_url - type - url - type: &304 + type: &306 type: string description: The type of credit the user is receiving. enum: @@ -988,7 +988,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &108 + schema: &110 title: Validation Error Simple description: Validation Error Simple type: object @@ -1021,7 +1021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &627 + - &629 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1577,7 +1577,7 @@ paths: schema: type: integer default: 30 - - &184 + - &186 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 @@ -1593,7 +1593,7 @@ paths: application/json: schema: type: array - items: &185 + items: &187 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1673,7 +1673,7 @@ paths: - installation_id - repository_id examples: - default: &186 + default: &188 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1732,7 +1732,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &107 + schema: &109 title: Validation Error description: Validation Error type: object @@ -1801,7 +1801,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1915,7 +1915,7 @@ paths: - request - response examples: - default: &188 + default: &190 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2845,7 +2845,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &260 + properties: &262 id: description: Unique identifier of the repository example: 42 @@ -3283,7 +3283,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &261 + required: &263 - archive_url - assignees_url - blobs_url @@ -7394,7 +7394,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &155 + code_scanning_options: &157 type: object description: Security Configuration feature options for code scanning nullable: true @@ -7588,7 +7588,7 @@ paths: description: Response content: application/json: - schema: &157 + schema: &159 type: array description: A list of default code security configurations items: @@ -7604,7 +7604,7 @@ paths: default configuration: *43 examples: - default: &158 + default: &160 value: - default_for_new_repos: public configuration: @@ -7935,7 +7935,7 @@ paths: - *42 - *45 responses: - '204': &159 + '204': &161 description: A header with no content is returned. '400': *14 '403': *29 @@ -8062,7 +8062,7 @@ paths: default: value: default_for_new_repos: all - configuration: &156 + configuration: &158 value: id: 1325 target_type: organization @@ -8147,7 +8147,7 @@ paths: application/json: schema: type: array - items: &160 + items: &162 type: object description: Repositories associated with a code security configuration and attachment status @@ -8448,7 +8448,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &161 + repository: &163 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8542,7 +8542,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *42 - - &166 + - &168 name: state in: query description: |- @@ -8551,7 +8551,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &167 + - &169 name: severity in: query description: |- @@ -8560,7 +8560,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &168 + - &170 name: ecosystem in: query description: |- @@ -8569,14 +8569,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &169 + - &171 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 - - &170 + - &172 name: epss_percentage in: query description: |- @@ -8588,7 +8588,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &171 + - &173 name: has in: query description: |- @@ -8602,7 +8602,7 @@ paths: type: string enum: - patch - - &172 + - &174 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8612,7 +8612,7 @@ paths: enum: - development - runtime - - &173 + - &175 name: sort in: query description: |- @@ -8630,7 +8630,7 @@ paths: - *48 - *40 - *41 - - &174 + - &176 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8643,7 +8643,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &175 + - &177 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8663,7 +8663,7 @@ paths: application/json: schema: type: array - items: &176 + items: &178 type: object description: A Dependabot alert. properties: @@ -8729,7 +8729,7 @@ paths: - unknown - direct - transitive - security_advisory: &477 + security_advisory: &479 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8948,13 +8948,13 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - updated_at: &149 + updated_at: &151 type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &151 + dismissed_at: &153 type: string description: 'The time that the alert was dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8984,14 +8984,14 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: &150 + fixed_at: &152 type: string description: 'The time that the alert was no longer detected and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true nullable: true - auto_dismissed_at: &478 + auto_dismissed_at: &480 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -9017,7 +9017,7 @@ paths: - repository additionalProperties: false examples: - default: &177 + default: &179 value: - number: 2 state: dismissed @@ -9364,7 +9364,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *42 - - &292 + - &294 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9375,7 +9375,7 @@ paths: enum: - open - resolved - - &293 + - &295 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &294 + - &296 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9394,7 +9394,7 @@ paths: required: false schema: type: string - - &295 + - &297 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. @@ -9410,7 +9410,7 @@ paths: - *17 - *40 - *41 - - &296 + - &298 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9419,7 +9419,7 @@ paths: required: false schema: type: string - - &297 + - &299 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9428,7 +9428,7 @@ paths: schema: type: boolean default: false - - &298 + - &300 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9437,7 +9437,7 @@ paths: schema: type: boolean default: false - - &299 + - &301 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9453,7 +9453,7 @@ paths: application/json: schema: type: array - items: &300 + items: &302 type: object properties: number: *54 @@ -9472,14 +9472,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &605 + state: &607 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: &606 + resolution: &608 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9586,8 +9586,8 @@ paths: pull request. ' - oneOf: &607 - - &609 + oneOf: &609 + - &611 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -9639,7 +9639,7 @@ paths: - blob_url - commit_sha - commit_url - - &610 + - &612 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -9694,7 +9694,7 @@ paths: - page_url - commit_sha - commit_url - - &611 + - &613 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -9708,7 +9708,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &612 + - &614 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -9722,7 +9722,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &613 + - &615 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -9736,7 +9736,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &614 + - &616 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -9750,7 +9750,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &615 + - &617 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -9764,7 +9764,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &616 + - &618 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -9778,7 +9778,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &617 + - &619 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -9792,7 +9792,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &618 + - &620 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -9806,7 +9806,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &619 + - &621 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -9820,7 +9820,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &620 + - &622 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -9834,7 +9834,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &621 + - &623 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -9854,7 +9854,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &301 + default: &303 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -10659,7 +10659,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &526 + properties: &528 id: type: integer format: int64 @@ -10771,7 +10771,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &247 + properties: &249 url: type: string format: uri @@ -10841,7 +10841,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &248 + required: &250 - closed_issues - creator - description @@ -10920,7 +10920,7 @@ paths: timeline_url: type: string format: uri - type: &206 + type: &208 title: Issue Type description: The type of issue. type: object @@ -11031,7 +11031,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &639 + sub_issues_summary: &641 title: Sub-issues Summary type: object properties: @@ -11051,7 +11051,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &640 + issue_dependencies_summary: &642 title: Issue Dependencies Summary type: object properties: @@ -11070,7 +11070,7 @@ paths: - total_blocking issue_field_values: type: array - items: &641 + items: &643 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11130,7 +11130,7 @@ paths: - node_id - data_type - value - required: &527 + required: &529 - assignee - closed_at - comments @@ -11151,7 +11151,7 @@ paths: - user - created_at - updated_at - comment: &524 + comment: &526 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11718,7 +11718,7 @@ paths: url: type: string format: uri - user: &653 + user: &655 title: Public User description: Public User type: object @@ -13588,7 +13588,7 @@ paths: - closed - all default: open - - &209 + - &211 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13639,7 +13639,7 @@ paths: type: array items: *84 examples: - default: &210 + default: &212 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15024,14 +15024,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &327 + - &329 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &328 + - &330 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15102,7 +15102,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &336 + '301': &338 description: Moved permanently content: application/json: @@ -15124,7 +15124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &556 + - &558 name: all description: If `true`, show notifications marked as read. in: query @@ -15132,7 +15132,7 @@ paths: schema: type: boolean default: false - - &557 + - &559 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15142,7 +15142,7 @@ paths: type: boolean default: false - *74 - - &558 + - &560 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: @@ -15174,11 +15174,11 @@ paths: properties: id: type: string - repository: &133 + repository: &135 title: Minimal Repository description: Minimal Repository type: object - properties: &179 + properties: &181 id: type: integer format: int64 @@ -15454,7 +15454,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &262 + security_and_analysis: &264 nullable: true type: object properties: @@ -15528,7 +15528,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &180 + required: &182 - archive_url - assignees_url - blobs_url @@ -15616,7 +15616,7 @@ paths: - url - subscription_url examples: - default: &559 + default: &561 value: - id: '1' repository: @@ -16158,11 +16158,11 @@ paths: application/json: schema: type: array - items: &215 + items: &217 title: Organization Simple description: A GitHub organization. type: object - properties: &163 + properties: &165 login: type: string example: github @@ -16203,7 +16203,7 @@ paths: type: string example: A great organization nullable: true - required: &164 + required: &166 - login - url - id @@ -16217,7 +16217,7 @@ paths: - avatar_url - description examples: - default: &670 + default: &672 value: - login: github id: 1 @@ -16513,22 +16513,21 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access - "/organizations/{org}/settings/billing/usage": + "/organizations/{org}/settings/billing/premium_request/usage": get: - summary: Get billing usage report for an organization - description: |- - Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. tags: - billing - operationId: billing/get-github-billing-usage-report-org + operationId: billing/get-github-billing-premium-request-usage-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - *103 - - &698 + - &105 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, @@ -16537,16 +16536,16 @@ paths: required: false schema: type: integer - - &699 + - &698 name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: type: integer - - &700 + - &106 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -16555,7 +16554,169 @@ paths: required: false schema: type: integer - - &701 + - name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &699 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &700 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *104 + '503': *72 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage": + get: + summary: Get billing usage report for an organization + description: |- + Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + tags: + - billing + operationId: billing/get-github-billing-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - *103 + - *105 + - &703 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer + - *106 + - &704 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -16671,7 +16832,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &107 title: Organization Full description: Organization Full type: object @@ -16990,7 +17151,7 @@ paths: - updated_at - archived_at examples: - default-response: &106 + default-response: &108 value: login: github id: 1 @@ -17306,17 +17467,17 @@ paths: description: Response content: application/json: - schema: *105 + schema: *107 examples: - default: *106 + default: *108 '422': description: Validation failed content: application/json: schema: oneOf: - - *107 - - *108 + - *109 + - *110 '409': *47 x-github: githubCloudOnly: false @@ -17430,7 +17591,7 @@ paths: type: integer repository_cache_usages: type: array - items: &341 + items: &343 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -17503,7 +17664,7 @@ paths: type: integer runners: type: array - items: &109 + items: &111 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -17552,7 +17713,7 @@ paths: - display_name - source nullable: true - machine_size_details: &112 + machine_size_details: &114 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -17644,7 +17805,7 @@ paths: - public_ip_enabled - platform examples: - default: &132 + default: &134 value: total_count: 2 runners: @@ -17771,9 +17932,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: &113 + default: &115 value: id: 5 name: My hosted ubuntu runner @@ -17828,7 +17989,7 @@ paths: type: integer images: type: array - items: &110 + items: &112 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -17864,7 +18025,7 @@ paths: - display_name - source examples: - default: &111 + default: &113 value: id: ubuntu-20.04 platform: linux-x64 @@ -17904,9 +18065,9 @@ paths: type: integer images: type: array - items: *110 + items: *112 examples: - default: *111 + default: *113 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -17992,7 +18153,7 @@ paths: type: integer machine_specs: type: array - items: *112 + items: *114 examples: default: value: @@ -18062,7 +18223,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *103 - - &114 + - &116 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18074,9 +18235,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *113 + default: *115 headers: Link: *58 x-github: @@ -18097,7 +18258,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *103 - - *114 + - *116 requestBody: required: true content: @@ -18135,9 +18296,9 @@ paths: description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *113 + default: *115 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18154,15 +18315,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *103 - - *114 + - *116 responses: '202': description: Response content: application/json: - schema: *109 + schema: *111 examples: - default: *113 + default: *115 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18188,7 +18349,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &115 + schema: &117 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18202,7 +18363,7 @@ paths: required: - include_claim_keys examples: - default: &116 + default: &118 value: include_claim_keys: - repo @@ -18229,15 +18390,15 @@ paths: required: true content: application/json: - schema: *115 + schema: *117 examples: - default: *116 + default: *118 responses: '201': description: Empty response content: application/json: - schema: &142 + schema: &144 title: Empty Object description: An object without any properties. type: object @@ -18276,7 +18437,7 @@ paths: schema: type: object properties: - enabled_repositories: &117 + enabled_repositories: &119 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18289,7 +18450,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &118 + allowed_actions: &120 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -18297,12 +18458,12 @@ paths: - all - local_only - selected - selected_actions_url: &347 + selected_actions_url: &349 type: string description: The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`. - sha_pinning_required: &119 + sha_pinning_required: &121 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -18344,9 +18505,9 @@ paths: schema: type: object properties: - enabled_repositories: *117 - allowed_actions: *118 - sha_pinning_required: *119 + enabled_repositories: *119 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled_repositories examples: @@ -18380,7 +18541,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &353 type: object properties: days: @@ -18422,7 +18583,7 @@ paths: required: true content: application/json: - schema: &352 + schema: &354 type: object properties: days: @@ -18465,7 +18626,7 @@ paths: description: Response content: application/json: - schema: &120 + schema: &122 type: object properties: approval_policy: @@ -18479,7 +18640,7 @@ paths: required: - approval_policy examples: - default: &353 + default: &355 value: approval_policy: first_time_contributors '404': *6 @@ -18510,7 +18671,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -18538,7 +18699,7 @@ paths: description: Response content: application/json: - schema: &354 + schema: &356 type: object required: - run_workflows_from_fork_pull_requests @@ -18564,7 +18725,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &121 + default: &123 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -18592,7 +18753,7 @@ paths: required: true content: application/json: - schema: &355 + schema: &357 type: object required: - run_workflows_from_fork_pull_requests @@ -18615,7 +18776,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -18665,7 +18826,7 @@ paths: type: array items: *67 examples: - default: &125 + default: &127 value: total_count: 1 repositories: @@ -18850,7 +19011,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *103 - - &122 + - &124 name: repository_id description: The unique identifier of the repository. in: path @@ -18879,7 +19040,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *103 - - *122 + - *124 responses: '204': description: Response @@ -18908,7 +19069,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &125 type: object properties: github_owned_allowed: @@ -18930,7 +19091,7 @@ paths: items: type: string examples: - default: &124 + default: &126 value: github_owned_allowed: true verified_allowed: false @@ -18963,9 +19124,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19097,7 +19258,7 @@ paths: type: array items: *67 examples: - default: *125 + default: *127 '403': *29 '404': *6 x-github: @@ -19166,7 +19327,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *103 - - *122 + - *124 responses: '204': description: No content @@ -19193,7 +19354,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *103 - - *122 + - *124 responses: '204': description: No content @@ -19227,17 +19388,17 @@ paths: description: Response content: application/json: - schema: &356 + schema: &358 type: object properties: - default_workflow_permissions: &126 + default_workflow_permissions: &128 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &127 + can_approve_pull_request_reviews: &129 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19245,7 +19406,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &128 + default: &130 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19278,13 +19439,13 @@ paths: required: false content: application/json: - schema: &357 + schema: &359 type: object properties: - default_workflow_permissions: *126 - can_approve_pull_request_reviews: *127 + default_workflow_permissions: *128 + can_approve_pull_request_reviews: *129 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -19329,7 +19490,7 @@ paths: type: number runner_groups: type: array - items: &129 + items: &131 type: object properties: id: @@ -19517,9 +19678,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: &131 + default: &133 value: id: 2 name: octo-runner-group @@ -19555,7 +19716,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *103 - - &130 + - &132 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -19567,7 +19728,7 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: default: value: @@ -19604,7 +19765,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *103 - - *130 + - *132 requestBody: required: true content: @@ -19658,9 +19819,9 @@ paths: description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: *131 + default: *133 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19680,7 +19841,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *103 - - *130 + - *132 responses: '204': description: Response @@ -19704,7 +19865,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *103 - - *130 + - *132 - *17 - *19 responses: @@ -19722,9 +19883,9 @@ paths: type: number runners: type: array - items: *109 + items: *111 examples: - default: *132 + default: *134 headers: Link: *58 x-github: @@ -19747,7 +19908,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 + - *132 - *19 - *17 responses: @@ -19765,9 +19926,9 @@ paths: type: number repositories: type: array - items: *133 + items: *135 examples: - default: &656 + default: &658 value: total_count: 1 repositories: @@ -20020,7 +20181,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 + - *132 requestBody: required: true content: @@ -20065,8 +20226,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20089,8 +20250,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *103 - - *130 - - *122 + - *132 + - *124 responses: '204': description: Response @@ -20114,7 +20275,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *103 - - *130 + - *132 - *17 - *19 responses: @@ -20132,7 +20293,7 @@ paths: type: number runners: type: array - items: &135 + items: &137 title: Self hosted runners description: A self hosted runner type: object @@ -20161,7 +20322,7 @@ paths: type: boolean labels: type: array - items: &138 + items: &140 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20191,7 +20352,7 @@ paths: - busy - labels examples: - default: &136 + default: &138 value: total_count: 2 runners: @@ -20251,7 +20412,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *103 - - *130 + - *132 requestBody: required: true content: @@ -20296,8 +20457,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *103 - - *130 - - &134 + - *132 + - &136 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -20326,8 +20487,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *103 - - *130 - - *134 + - *132 + - *136 responses: '204': description: Response @@ -20375,9 +20536,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *58 x-github: @@ -20409,7 +20570,7 @@ paths: application/json: schema: type: array - items: &358 + items: &360 title: Runner Application description: Runner Application type: object @@ -20434,7 +20595,7 @@ paths: - download_url - filename examples: - default: &359 + default: &361 value: - os: osx architecture: x64 @@ -20520,7 +20681,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &360 + '201': &362 description: Response content: application/json: @@ -20530,7 +20691,7 @@ paths: - runner - encoded_jit_config properties: - runner: *135 + runner: *137 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -20593,7 +20754,7 @@ paths: description: Response content: application/json: - schema: &137 + schema: &139 title: Authentication Token description: Authentication Token type: object @@ -20631,7 +20792,7 @@ paths: - token - expires_at examples: - default: &361 + default: &363 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -20668,9 +20829,9 @@ paths: description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: &362 + default: &364 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -20696,15 +20857,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: &363 + default: &365 value: id: 23 name: MBP @@ -20746,7 +20907,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *103 - - *134 + - *136 responses: '204': description: Response @@ -20773,9 +20934,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 responses: - '200': &139 + '200': &141 description: Response content: application/json: @@ -20789,7 +20950,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -20829,7 +20990,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 requestBody: required: true content: @@ -20853,7 +21014,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -20878,7 +21039,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 requestBody: required: true content: @@ -20903,7 +21064,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -20928,9 +21089,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 + - *136 responses: - '200': &364 + '200': &366 description: Response content: application/json: @@ -20944,7 +21105,7 @@ paths: type: integer labels: type: array - items: *138 + items: *140 examples: default: value: @@ -20986,8 +21147,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *103 - - *134 - - &365 + - *136 + - &367 name: name description: The name of a self-hosted runner's custom label. in: path @@ -20995,7 +21156,7 @@ paths: schema: type: string responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -21038,7 +21199,7 @@ paths: type: integer secrets: type: array - items: &140 + items: &142 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21117,7 +21278,7 @@ paths: description: Response content: application/json: - schema: &377 + schema: &379 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21146,7 +21307,7 @@ paths: - key_id - key examples: - default: &378 + default: &380 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21172,7 +21333,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *103 - - &141 + - &143 name: secret_name description: The name of the secret. in: path @@ -21184,7 +21345,7 @@ paths: description: Response content: application/json: - schema: *140 + schema: *142 examples: default: value: @@ -21215,7 +21376,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -21272,7 +21433,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -21299,7 +21460,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -21326,7 +21487,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 - *19 - *17 responses: @@ -21344,9 +21505,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: &145 + default: &147 value: total_count: 1 repositories: @@ -21439,7 +21600,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -21492,7 +21653,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -21526,7 +21687,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -21559,7 +21720,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *103 - - &346 + - &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/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -21583,7 +21744,7 @@ paths: type: integer variables: type: array - items: &143 + items: &145 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -21716,7 +21877,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -21742,7 +21903,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *103 - - &144 + - &146 name: name description: The name of the variable. in: path @@ -21754,7 +21915,7 @@ paths: description: Response content: application/json: - schema: *143 + schema: *145 examples: default: value: @@ -21785,7 +21946,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *103 - - *144 + - *146 requestBody: required: true content: @@ -21848,7 +22009,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *103 - - *144 + - *146 responses: '204': description: Response @@ -21875,7 +22036,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *103 - - *144 + - *146 - *19 - *17 responses: @@ -21893,9 +22054,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '409': description: Response when the visibility of the variable is not set to `selected` @@ -21922,7 +22083,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *103 - - *144 + - *146 requestBody: required: true content: @@ -21972,7 +22133,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *103 - - *144 + - *146 - name: repository_id in: path required: true @@ -22007,7 +22168,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *103 - - *144 + - *146 - name: repository_id in: path required: true @@ -22278,12 +22439,12 @@ paths: required: - subject_digests examples: - default: &685 + default: &687 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &686 + withPredicateType: &688 value: subject_digests: - sha256:abc123 @@ -22341,7 +22502,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &687 + default: &689 value: attestations_subject_digests: - sha256:abc: @@ -22637,7 +22798,7 @@ paths: initiator: type: string examples: - default: &391 + default: &393 value: attestations: - bundle: @@ -22856,7 +23017,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &146 + schema: &148 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -22882,7 +23043,7 @@ paths: application/json: schema: type: array - items: &147 + items: &149 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -22913,7 +23074,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &165 + items: &167 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -22988,7 +23149,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &222 + properties: &224 id: description: Unique identifier of the team type: integer @@ -23060,7 +23221,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &223 + required: &225 - id - node_id - url @@ -23103,7 +23264,7 @@ paths: type: string format: date-time nullable: true - state: *146 + state: *148 contact_link: description: The contact link of the campaign. type: string @@ -23318,9 +23479,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: &148 + default: &150 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -23403,9 +23564,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '404': *6 '422': description: Unprocessable Entity @@ -23482,7 +23643,7 @@ paths: type: string format: uri nullable: true - state: *146 + state: *148 examples: default: value: @@ -23492,9 +23653,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *149 examples: - default: *148 + default: *150 '400': description: Bad Request content: @@ -23561,17 +23722,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *103 - - &417 + - &419 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, but not both. in: query required: false - schema: &152 + schema: &154 type: string description: The name of the tool used to generate the code scanning analysis. - - &418 + - &420 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 @@ -23579,7 +23740,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &153 + schema: &155 nullable: true type: string description: The GUID of the tool used to generate the code scanning analysis, @@ -23594,7 +23755,7 @@ paths: be returned. in: query required: false - schema: &420 + schema: &422 type: string description: State of a code scanning alert. enum: @@ -23617,7 +23778,7 @@ paths: be returned. in: query required: false - schema: &421 + schema: &423 type: string description: Severity of a code scanning alert. enum: @@ -23640,16 +23801,16 @@ paths: properties: number: *54 created_at: *55 - updated_at: *149 + updated_at: *151 url: *56 html_url: *57 - instances_url: &422 + instances_url: &424 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &154 + state: &156 type: string description: State of a code scanning alert. nullable: true @@ -23657,7 +23818,7 @@ paths: - open - dismissed - fixed - fixed_at: *150 + fixed_at: *152 dismissed_by: title: Simple User description: A GitHub user. @@ -23665,8 +23826,8 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *151 - dismissed_reason: &423 + dismissed_at: *153 + dismissed_reason: &425 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -23675,13 +23836,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &424 + dismissed_comment: &426 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &425 + rule: &427 type: object properties: id: @@ -23734,25 +23895,25 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &426 + tool: &428 type: object properties: - name: *152 + name: *154 version: nullable: true type: string description: The version of the tool used to generate the code scanning analysis. - guid: *153 - most_recent_instance: &427 + guid: *155 + most_recent_instance: &429 type: object properties: - ref: &419 + ref: &421 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &437 + analysis_key: &439 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -23763,13 +23924,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &438 + category: &440 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *154 + state: *156 commit_sha: type: string message: @@ -24276,7 +24437,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *155 + code_scanning_options: *157 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -24419,7 +24580,7 @@ paths: application/json: schema: *43 examples: - default: *156 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24447,9 +24608,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *159 examples: - default: *158 + default: *160 '304': *37 '403': *29 '404': *6 @@ -24501,7 +24662,7 @@ paths: - 32 - 91 responses: - '204': *159 + '204': *161 '400': *14 '403': *29 '404': *6 @@ -24536,7 +24697,7 @@ paths: application/json: schema: *43 examples: - default: *156 + default: *158 '304': *37 '403': *29 '404': *6 @@ -24820,7 +24981,7 @@ paths: - *103 - *45 responses: - '204': *159 + '204': *161 '400': *14 '403': *29 '404': *6 @@ -24958,7 +25119,7 @@ paths: default: value: default_for_new_repos: all - configuration: *156 + configuration: *158 '403': *29 '404': *6 x-github: @@ -25011,13 +25172,13 @@ paths: application/json: schema: type: array - items: *160 + items: *162 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *161 + repository: *163 '403': *29 '404': *6 x-github: @@ -25057,7 +25218,7 @@ paths: type: integer codespaces: type: array - items: &211 + items: &213 type: object title: Codespace description: A codespace. @@ -25082,12 +25243,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *133 + repository: *135 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &450 + properties: &452 name: type: string description: The name of the machine. @@ -25129,7 +25290,7 @@ paths: - ready - in_progress nullable: true - required: &451 + required: &453 - name - display_name - operating_system @@ -25334,7 +25495,7 @@ paths: - pulls_url - recent_folders examples: - default: &212 + default: &214 value: total_count: 3 codespaces: @@ -25958,7 +26119,7 @@ paths: type: integer secrets: type: array - items: &162 + items: &164 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -25997,7 +26158,7 @@ paths: - updated_at - visibility examples: - default: &452 + default: &454 value: total_count: 2 secrets: @@ -26035,7 +26196,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &455 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26064,7 +26225,7 @@ paths: - key_id - key examples: - default: &454 + default: &456 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26088,15 +26249,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *162 + schema: *164 examples: - default: &456 + default: &458 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26124,7 +26285,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -26179,7 +26340,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -26206,7 +26367,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -26232,7 +26393,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 - *19 - *17 responses: @@ -26250,9 +26411,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 '404': *6 x-github: githubCloudOnly: false @@ -26275,7 +26436,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -26326,7 +26487,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -26360,7 +26521,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -26563,7 +26724,7 @@ paths: currently being billed. seats: type: array - items: &214 + items: &216 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -26580,14 +26741,14 @@ paths: title: Organization Simple description: A GitHub organization. type: object - properties: *163 - required: *164 + properties: *165 + required: *166 nullable: true assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *165 + - *167 - *59 nullable: true pending_cancellation_date: @@ -27094,7 +27255,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -27401,7 +27562,7 @@ paths: - date additionalProperties: true examples: - default: &310 + default: &312 value: - date: '2024-06-24' total_active_users: 24 @@ -27503,7 +27664,7 @@ paths: '500': *104 '403': *29 '404': *6 - '422': &311 + '422': &313 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -27531,11 +27692,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *103 - - *166 - - *167 - *168 - *169 - *170 + - *171 + - *172 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -27551,14 +27712,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *171 - - *172 - *173 + - *174 + - *175 - *48 - *40 - *41 - - *174 - - *175 + - *176 + - *177 - *17 responses: '200': @@ -27567,9 +27728,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: *177 + default: *179 '304': *37 '400': *14 '403': *29 @@ -27613,7 +27774,7 @@ paths: type: integer secrets: type: array - items: &178 + items: &180 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -27690,7 +27851,7 @@ paths: description: Response content: application/json: - schema: &481 + schema: &483 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -27707,7 +27868,7 @@ paths: - key_id - key examples: - default: &482 + default: &484 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27731,13 +27892,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *178 + schema: *180 examples: default: value: @@ -27766,7 +27927,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -27821,7 +27982,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -27846,7 +28007,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -27871,7 +28032,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 - *19 - *17 responses: @@ -27889,9 +28050,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *145 + default: *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27913,7 +28074,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -27964,7 +28125,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -27996,7 +28157,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *103 - - *141 + - *143 - name: repository_id in: path required: true @@ -28034,7 +28195,7 @@ paths: application/json: schema: type: array - items: &225 + items: &227 title: Package description: A software package type: object @@ -28084,8 +28245,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *179 - required: *180 + properties: *181 + required: *182 nullable: true created_at: type: string @@ -28104,7 +28265,7 @@ paths: - created_at - updated_at examples: - default: &226 + default: &228 value: - id: 197 name: hello_docker @@ -28271,7 +28432,7 @@ paths: application/json: schema: type: array - items: &203 + items: &205 title: Organization Invitation description: Organization Invitation type: object @@ -28318,7 +28479,7 @@ paths: - invitation_teams_url - node_id examples: - default: &204 + default: &206 value: - id: 1 login: monalisa @@ -28385,7 +28546,7 @@ paths: application/json: schema: type: array - items: &181 + items: &183 title: Org Hook description: Org Hook type: object @@ -28556,9 +28717,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: &182 + default: &184 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -28606,7 +28767,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *103 - - &183 + - &185 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. @@ -28619,9 +28780,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 '404': *6 x-github: githubCloudOnly: false @@ -28649,7 +28810,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *103 - - *183 + - *185 requestBody: required: false content: @@ -28694,7 +28855,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *183 examples: default: value: @@ -28736,7 +28897,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *103 - - *183 + - *185 responses: '204': description: Response @@ -28764,7 +28925,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *103 - - *183 + - *185 responses: '200': description: Response @@ -28795,7 +28956,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *103 - - *183 + - *185 requestBody: required: false content: @@ -28846,9 +29007,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *103 - - *183 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -28856,9 +29017,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -28884,16 +29045,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *103 - - *183 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -28919,7 +29080,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *103 - - *183 + - *185 - *16 responses: '202': *39 @@ -28949,7 +29110,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *103 - - *183 + - *185 responses: '204': description: Response @@ -28972,7 +29133,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *103 - - &193 + - &195 name: actor_type in: path description: The type of the actor @@ -28985,14 +29146,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &194 + - &196 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &189 + - &191 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`.' @@ -29000,7 +29161,7 @@ paths: required: true schema: type: string - - &190 + - &192 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) @@ -29094,12 +29255,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *103 - - *189 - - *190 + - *191 + - *192 - *19 - *17 - *48 - - &199 + - &201 name: sort description: The property to sort the results by. in: query @@ -29178,14 +29339,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *103 - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: &191 + schema: &193 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -29201,7 +29362,7 @@ paths: type: integer format: int64 examples: - default: &192 + default: &194 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -29222,23 +29383,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *103 - - &195 + - &197 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *189 - - *190 + - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -29257,18 +29418,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *103 - - *189 - - *190 - - *193 - - *194 + - *191 + - *192 + - *195 + - *196 responses: '200': description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 x-github: enabledForGitHubApps: true category: orgs @@ -29286,9 +29447,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *103 - - *189 - - *190 - - &196 + - *191 + - *192 + - &198 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -29301,7 +29462,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &199 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -29317,7 +29478,7 @@ paths: type: integer format: int64 examples: - default: &198 + default: &200 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -29354,18 +29515,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *103 - - *195 - - *189 - - *190 - - *196 + - *197 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -29383,19 +29544,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *103 - - *193 - - *194 - - *189 - - *190 + - *195 - *196 + - *191 + - *192 + - *198 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *198 + default: *200 x-github: enabledForGitHubApps: true category: orgs @@ -29413,13 +29574,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *103 - - *195 - - *189 - - *190 + - *197 + - *191 + - *192 - *19 - *17 - *48 - - *199 + - *201 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -29500,7 +29661,7 @@ paths: application/json: schema: *22 examples: - default: &520 + default: &522 value: id: 1 account: @@ -29666,12 +29827,12 @@ paths: application/json: schema: anyOf: - - &201 + - &203 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &200 + limit: &202 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -29696,7 +29857,7 @@ paths: properties: {} additionalProperties: false examples: - default: &202 + default: &204 value: limit: collaborators_only origin: organization @@ -29725,13 +29886,13 @@ paths: required: true content: application/json: - schema: &521 + schema: &523 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *200 + limit: *202 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -29755,9 +29916,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *202 + default: *204 '422': *15 x-github: githubCloudOnly: false @@ -29833,9 +29994,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *58 '404': *6 @@ -29912,7 +30073,7 @@ paths: description: Response content: application/json: - schema: *203 + schema: *205 examples: default: value: @@ -29967,7 +30128,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *103 - - &205 + - &207 name: invitation_id description: The unique identifier of the invitation. in: path @@ -29998,7 +30159,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *103 - - *205 + - *207 - *17 - *19 responses: @@ -30008,9 +30169,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: &224 + default: &226 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30053,7 +30214,7 @@ paths: application/json: schema: type: array - items: *206 + items: *208 examples: default: value: @@ -30138,9 +30299,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: &207 + default: &209 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -30173,7 +30334,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *103 - - &208 + - &210 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -30226,9 +30387,9 @@ paths: description: Response content: application/json: - schema: *206 + schema: *208 examples: - default: *207 + default: *209 '404': *6 '422': *7 x-github: @@ -30253,7 +30414,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *103 - - *208 + - *210 responses: '204': description: Response @@ -30316,7 +30477,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: type description: Can be the name of an issue type. in: query @@ -30347,7 +30508,7 @@ paths: type: array items: *84 examples: - default: *210 + default: *212 headers: Link: *58 '404': *6 @@ -30506,9 +30667,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *37 '500': *104 '401': *25 @@ -30535,7 +30696,7 @@ paths: parameters: - *103 - *63 - - &213 + - &215 name: codespace_name in: path required: true @@ -30570,15 +30731,15 @@ paths: parameters: - *103 - *63 - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: &449 + default: &451 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -30758,7 +30919,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *214 + schema: *216 examples: default: value: @@ -30834,7 +30995,7 @@ paths: description: Response content: application/json: - schema: &216 + schema: &218 title: Org Membership description: Org Membership type: object @@ -30878,7 +31039,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *215 + organization: *217 user: title: Simple User description: A GitHub user. @@ -30901,7 +31062,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &217 + response-if-user-has-an-active-admin-membership-with-organization: &219 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -30998,9 +31159,9 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: - response-if-user-already-had-membership-with-organization: *217 + response-if-user-already-had-membership-with-organization: *219 '422': *15 '403': *29 x-github: @@ -31071,7 +31232,7 @@ paths: application/json: schema: type: array - items: &218 + items: &220 title: Migration description: A migration. type: object @@ -31400,7 +31561,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -31579,7 +31740,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *103 - - &219 + - &221 name: migration_id description: The unique identifier of the migration. in: path @@ -31606,7 +31767,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -31776,7 +31937,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *103 - - *219 + - *221 responses: '302': description: Response @@ -31798,7 +31959,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *103 - - *219 + - *221 responses: '204': description: Response @@ -31822,8 +31983,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *103 - - *219 - - &669 + - *221 + - &671 name: repo_name description: repo_name parameter in: path @@ -31851,7 +32012,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *103 - - *219 + - *221 - *17 - *19 responses: @@ -31861,9 +32022,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: &231 + default: &233 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32016,7 +32177,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &221 + items: &223 title: Organization Role description: Organization roles type: object @@ -32191,7 +32352,7 @@ paths: parameters: - *103 - *65 - - &220 + - &222 name: role_id description: The unique identifier of the role. in: path @@ -32228,7 +32389,7 @@ paths: parameters: - *103 - *65 - - *220 + - *222 responses: '204': description: Response @@ -32281,7 +32442,7 @@ paths: parameters: - *103 - *63 - - *220 + - *222 responses: '204': description: Response @@ -32313,7 +32474,7 @@ paths: parameters: - *103 - *63 - - *220 + - *222 responses: '204': description: Response @@ -32342,13 +32503,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *103 - - *220 + - *222 responses: '200': description: Response content: application/json: - schema: *221 + schema: *223 examples: default: value: @@ -32399,7 +32560,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *103 - - *220 + - *222 - *17 - *19 responses: @@ -32477,8 +32638,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *222 - required: *223 + properties: *224 + required: *225 nullable: true type: description: The ownership type of the team @@ -32510,7 +32671,7 @@ paths: - type - parent examples: - default: *224 + default: *226 headers: Link: *58 '404': @@ -32540,7 +32701,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *103 - - *220 + - *222 - *17 - *19 responses: @@ -32568,13 +32729,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &305 + items: &307 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *222 - required: *223 + properties: *224 + required: *225 name: nullable: true type: string @@ -32862,7 +33023,7 @@ paths: - nuget - container - *103 - - &671 + - &673 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -32898,12 +33059,12 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *226 + default: *228 '403': *29 '401': *25 - '400': &673 + '400': &675 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -32925,7 +33086,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &227 + - &229 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 @@ -32943,7 +33104,7 @@ paths: - docker - nuget - container - - &228 + - &230 name: package_name description: The name of the package. in: path @@ -32956,7 +33117,7 @@ paths: description: Response content: application/json: - schema: *225 + schema: *227 examples: default: value: @@ -33008,8 +33169,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 responses: '204': @@ -33042,8 +33203,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 - name: token description: package token @@ -33076,8 +33237,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 - *19 - *17 @@ -33098,7 +33259,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Package Version description: A version of a software package type: object @@ -33223,10 +33384,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *227 - - *228 + - *229 + - *230 - *103 - - &230 + - &232 name: package_version_id description: Unique identifier of the package version. in: path @@ -33238,7 +33399,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -33274,10 +33435,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *227 - - *228 - - *103 + - *229 - *230 + - *103 + - *232 responses: '204': description: Response @@ -33309,10 +33470,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *227 - - *228 - - *103 + - *229 - *230 + - *103 + - *232 responses: '204': description: Response @@ -33342,7 +33503,7 @@ paths: - *103 - *17 - *19 - - &232 + - &234 name: sort description: The property by which to sort the results. in: query @@ -33353,7 +33514,7 @@ paths: - created_at default: created_at - *48 - - &233 + - &235 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -33364,7 +33525,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &234 + - &236 name: repository description: The name of the repository to use to filter the results. in: query @@ -33372,7 +33533,7 @@ paths: schema: type: string example: Hello-World - - &235 + - &237 name: permission description: The permission to use to filter the results. in: query @@ -33380,7 +33541,7 @@ paths: schema: type: string example: issues_read - - &236 + - &238 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) @@ -33390,7 +33551,7 @@ paths: schema: type: string format: date-time - - &237 + - &239 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) @@ -33400,7 +33561,7 @@ paths: schema: type: string format: date-time - - &238 + - &240 name: token_id description: The ID of the token in: query @@ -33670,7 +33831,7 @@ paths: '422': *15 '404': *6 '403': *29 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33711,9 +33872,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -33739,14 +33900,14 @@ paths: - *103 - *17 - *19 - - *232 - - *48 - - *233 - *234 + - *48 - *235 - *236 - *237 - *238 + - *239 + - *240 responses: '500': *104 '422': *15 @@ -33985,7 +34146,7 @@ paths: responses: '500': *104 '404': *6 - '204': *159 + '204': *161 '403': *29 '422': *15 x-github: @@ -34026,9 +34187,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -34070,7 +34231,7 @@ paths: type: integer configurations: type: array - items: &239 + items: &241 title: Organization private registry description: Private registry configuration for an organization type: object @@ -34323,7 +34484,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &240 + org-private-registry-with-selected-visibility: &242 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -34413,15 +34574,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *103 - - *141 + - *143 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 '404': *6 x-github: githubCloudOnly: false @@ -34443,7 +34604,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *103 - - *141 + - *143 requestBody: required: true content: @@ -34539,7 +34700,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *103 - - *141 + - *143 responses: '204': description: Response @@ -34585,7 +34746,7 @@ paths: application/json: schema: type: array - items: &241 + items: &243 title: Project description: Projects are a way to organize columns and cards of work. @@ -34758,7 +34919,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -34796,7 +34957,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &333 + '410': &335 description: Gone content: application/json: @@ -34839,7 +35000,7 @@ paths: application/json: schema: type: array - items: &242 + items: &244 title: Projects v2 Project description: A projects v2 project type: object @@ -34909,7 +35070,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &752 + properties: &755 id: type: number description: The unique identifier of the status update. @@ -34957,7 +35118,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &753 + required: &756 - id - node_id - created_at @@ -34982,7 +35143,7 @@ paths: - deleted_at - deleted_by examples: - default: &243 + default: &245 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -35085,7 +35246,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &244 + - &246 name: project_number description: The project's number. in: path @@ -35098,9 +35259,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 headers: Link: *58 '304': *37 @@ -35122,7 +35283,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *244 + - *246 - *103 - *17 - *40 @@ -35134,7 +35295,7 @@ paths: application/json: schema: type: array - items: &245 + items: &247 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -35281,7 +35442,7 @@ paths: - updated_at - project_url examples: - default: &246 + default: &248 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -35324,8 +35485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *244 - - &690 + - *246 + - &692 name: field_id description: The unique identifier of the field. in: path @@ -35338,9 +35499,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 headers: Link: *58 '304': *37 @@ -35363,7 +35524,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *244 + - *246 - *103 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -35393,7 +35554,7 @@ paths: application/json: schema: type: array - items: &252 + items: &254 title: Projects v2 Item description: An item belonging to a project type: object @@ -35409,7 +35570,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &250 + content_type: &252 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -35459,7 +35620,7 @@ paths: - updated_at - archived_at examples: - default: &253 + default: &255 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -36154,7 +36315,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *103 - - *244 + - *246 requestBody: required: true description: Details of the item to add to the project. @@ -36191,7 +36352,7 @@ paths: description: Response content: application/json: - schema: &691 + schema: &693 title: Projects v2 Item description: An item belonging to a project type: object @@ -36205,7 +36366,7 @@ paths: content: oneOf: - *84 - - &464 + - &466 title: Pull Request Simple description: Pull Request Simple type: object @@ -36311,8 +36472,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 nullable: true active_lock_reason: type: string @@ -36357,7 +36518,7 @@ paths: nullable: true requested_teams: type: array - items: *165 + items: *167 nullable: true head: type: object @@ -36408,7 +36569,7 @@ paths: _links: type: object properties: - comments: &249 + comments: &251 title: Link description: Hypermedia Link type: object @@ -36417,13 +36578,13 @@ paths: type: string required: - href - commits: *249 - statuses: *249 - html: *249 - issue: *249 - review_comments: *249 - review_comment: *249 - self: *249 + commits: *251 + statuses: *251 + html: *251 + issue: *251 + review_comments: *251 + review_comment: *251 + self: *251 required: - comments - commits @@ -36434,7 +36595,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: &566 + auto_merge: &568 title: Auto merge description: The status of auto merging a pull request. type: object @@ -36536,7 +36697,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *250 + content_type: *252 creator: *4 created_at: type: string @@ -36569,7 +36730,7 @@ paths: - updated_at - archived_at examples: - issue: &251 + issue: &253 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -36624,7 +36785,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *251 + pull_request: *253 '304': *37 '403': *29 '401': *25 @@ -36644,9 +36805,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *244 + - *246 - *103 - - &254 + - &256 name: item_id description: The unique identifier of the project item. in: path @@ -36669,9 +36830,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *58 '304': *37 @@ -36692,9 +36853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *244 + - *246 - *103 - - *254 + - *256 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -36764,13 +36925,13 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - text_field: *253 - number_field: *253 - date_field: *253 - single_select_field: *253 - iteration_field: *253 + text_field: *255 + number_field: *255 + date_field: *255 + single_select_field: *255 + iteration_field: *255 '401': *25 '403': *29 '404': *6 @@ -36790,9 +36951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *244 + - *246 - *103 - - *254 + - *256 responses: '204': description: Response @@ -36824,7 +36985,7 @@ paths: application/json: schema: type: array - items: &255 + items: &257 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -36890,7 +37051,7 @@ paths: - property_name - value_type examples: - default: &256 + default: &258 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36949,7 +37110,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *255 + items: *257 minItems: 1 maxItems: 100 required: @@ -36979,9 +37140,9 @@ paths: application/json: schema: type: array - items: *255 + items: *257 examples: - default: *256 + default: *258 '403': *29 '404': *6 x-github: @@ -37003,7 +37164,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *103 - - &257 + - &259 name: custom_property_name description: The custom property name in: path @@ -37015,9 +37176,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: &258 + default: &260 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37052,7 +37213,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *103 - - *257 + - *259 requestBody: required: true content: @@ -37121,9 +37282,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *257 examples: - default: *258 + default: *260 '403': *29 '404': *6 x-github: @@ -37147,9 +37308,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *103 - - *257 + - *259 responses: - '204': *159 + '204': *161 '403': *29 '404': *6 x-github: @@ -37208,7 +37369,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &259 + items: &261 title: Custom Property Value description: Custom property name and associated value type: object @@ -37295,7 +37456,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *259 + items: *261 required: - repository_names - properties @@ -37485,9 +37646,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -37689,7 +37850,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &337 title: Full Repository description: Full Repository type: object @@ -37966,8 +38127,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *260 - required: *261 + properties: *262 + required: *263 nullable: true temp_clone_token: type: string @@ -38082,7 +38243,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &469 + properties: &471 url: type: string format: uri @@ -38098,12 +38259,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &470 + required: &472 - url - key - name - html_url - security_and_analysis: *262 + security_and_analysis: *264 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -38187,7 +38348,7 @@ paths: - network_count - subscribers_count examples: - default: &337 + default: &339 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38708,7 +38869,7 @@ paths: - *103 - *17 - *19 - - &589 + - &591 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38726,7 +38887,7 @@ paths: application/json: schema: type: array - items: &288 + items: &290 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38761,7 +38922,7 @@ paths: source: type: string description: The name of the source - enforcement: &265 + enforcement: &267 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38774,7 +38935,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &266 + items: &268 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38844,7 +39005,7 @@ paths: conditions: nullable: true anyOf: - - &263 + - &265 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38868,7 +39029,7 @@ paths: match. items: type: string - - &267 + - &269 title: Organization ruleset conditions type: object description: |- @@ -38882,7 +39043,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *263 + - *265 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38916,7 +39077,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *263 + - *265 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38938,7 +39099,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *263 + - *265 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38951,7 +39112,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &264 + items: &266 title: Repository ruleset property targeting definition type: object @@ -38984,17 +39145,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *264 + items: *266 required: - repository_property rules: type: array - items: &590 + items: &592 title: Repository Rule type: object description: A repository rule. oneOf: - - &268 + - &270 title: creation description: Only allow users with bypass permission to create matching refs. @@ -39006,7 +39167,7 @@ paths: type: string enum: - creation - - &269 + - &271 title: update description: Only allow users with bypass permission to update matching refs. @@ -39027,7 +39188,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &270 + - &272 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -39039,7 +39200,7 @@ paths: type: string enum: - deletion - - &271 + - &273 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -39051,7 +39212,7 @@ paths: type: string enum: - required_linear_history - - &587 + - &589 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -39129,7 +39290,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &272 + - &274 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -39153,7 +39314,7 @@ paths: type: string required: - required_deployment_environments - - &273 + - &275 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -39165,7 +39326,7 @@ paths: type: string enum: - required_signatures - - &274 + - &276 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -39227,7 +39388,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &275 + - &277 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -39275,7 +39436,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &276 + - &278 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -39287,7 +39448,7 @@ paths: type: string enum: - non_fast_forward - - &277 + - &279 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -39323,7 +39484,7 @@ paths: required: - operator - pattern - - &278 + - &280 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -39359,7 +39520,7 @@ paths: required: - operator - pattern - - &279 + - &281 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -39395,7 +39556,7 @@ paths: required: - operator - pattern - - &280 + - &282 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -39431,7 +39592,7 @@ paths: required: - operator - pattern - - &281 + - &283 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -39467,7 +39628,7 @@ paths: required: - operator - pattern - - &282 + - &284 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -39492,7 +39653,7 @@ paths: type: string required: - restricted_file_paths - - &283 + - &285 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -39516,7 +39677,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &284 + - &286 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -39539,7 +39700,7 @@ paths: type: string required: - restricted_file_extensions - - &285 + - &287 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -39564,7 +39725,7 @@ paths: maximum: 100 required: - max_file_size - - &286 + - &288 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -39614,7 +39775,7 @@ paths: - repository_id required: - workflows - - &287 + - &289 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39675,7 +39836,7 @@ paths: - tool required: - code_scanning_tools - - &588 + - &590 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -39773,22 +39934,20 @@ paths: - push - repository default: branch - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *267 + items: *268 + conditions: *269 rules: type: array description: An array of rules within the ruleset. - items: &290 + items: &292 title: Repository Rule type: object description: A repository rule. oneOf: - - *268 - - *269 - *270 - *271 - *272 @@ -39807,6 +39966,8 @@ paths: - *285 - *286 - *287 + - *288 + - *289 required: - name - enforcement @@ -39844,9 +40005,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &289 + default: &291 value: id: 21 name: super cool ruleset @@ -39901,7 +40062,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *103 - - &591 + - &593 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 @@ -39916,7 +40077,7 @@ paths: in: query schema: type: string - - &592 + - &594 name: time_period description: |- The time period to filter by. @@ -39932,14 +40093,14 @@ paths: - week - month default: day - - &593 + - &595 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 - - &594 + - &596 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -39959,7 +40120,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &597 title: Rule Suites description: Response type: array @@ -40014,7 +40175,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &596 + default: &598 value: - id: 21 actor_id: 12 @@ -40058,7 +40219,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *103 - - &597 + - &599 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -40074,7 +40235,7 @@ paths: description: Response content: application/json: - schema: &598 + schema: &600 title: Rule Suite description: Response type: object @@ -40173,7 +40334,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &599 + default: &601 value: id: 21 actor_id: 12 @@ -40246,9 +40407,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '404': *6 '500': *104 put: @@ -40292,16 +40453,16 @@ paths: - tag - push - repository - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *267 + items: *268 + conditions: *269 rules: description: An array of rules within the ruleset. type: array - items: *290 + items: *292 examples: default: value: @@ -40336,9 +40497,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *289 + default: *291 '404': *6 '500': *104 delete: @@ -40395,7 +40556,7 @@ paths: application/json: schema: type: array - items: &291 + items: &293 title: Ruleset version type: object description: The historical version of a ruleset @@ -40419,7 +40580,7 @@ paths: type: string format: date-time examples: - default: &601 + default: &603 value: - version_id: 3 actor: @@ -40472,9 +40633,9 @@ paths: description: Response content: application/json: - schema: &602 + schema: &604 allOf: - - *291 + - *293 - type: object required: - state @@ -40544,14 +40705,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *103 - - *292 - - *293 - *294 - *295 + - *296 + - *297 - *48 - *19 - *17 - - &603 + - &605 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -40561,7 +40722,7 @@ paths: required: false schema: type: string - - &604 + - &606 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -40571,10 +40732,10 @@ paths: required: false schema: type: string - - *296 - - *297 - *298 - *299 + - *300 + - *301 responses: '200': description: Response @@ -40582,9 +40743,9 @@ paths: application/json: schema: type: array - items: *300 + items: *302 examples: - default: *301 + default: *303 headers: Link: *58 '404': *6 @@ -40625,7 +40786,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &303 + pattern_config_version: &305 type: string description: The version of the entity. This is used to confirm you're updating the current version of the entity and mitigate @@ -40634,7 +40795,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &302 + items: &304 type: object properties: token_type: @@ -40700,7 +40861,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *302 + items: *304 examples: default: value: @@ -40757,7 +40918,7 @@ paths: schema: type: object properties: - pattern_config_version: *303 + pattern_config_version: *305 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -40783,7 +40944,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *303 + custom_pattern_version: *305 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -40881,7 +41042,7 @@ paths: application/json: schema: type: array - items: &625 + items: &627 description: A repository security advisory. type: object properties: @@ -41101,7 +41262,7 @@ paths: login: type: string description: The username of the user credited. - type: *304 + type: *306 credits_detailed: type: array nullable: true @@ -41111,7 +41272,7 @@ paths: type: object properties: user: *4 - type: *304 + type: *306 state: type: string description: The state of the user's acceptance of the @@ -41135,7 +41296,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *165 + items: *167 private_fork: readOnly: true nullable: true @@ -41172,7 +41333,7 @@ paths: - private_fork additionalProperties: false examples: - default: &626 + default: &628 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -41559,9 +41720,9 @@ paths: application/json: schema: type: array - items: *305 + items: *307 examples: - default: *224 + default: *226 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41646,7 +41807,7 @@ paths: description: Response content: application/json: - schema: &692 + schema: &694 type: object properties: total_minutes_used: @@ -41716,7 +41877,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &693 + default: &695 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -41752,7 +41913,7 @@ paths: description: Response content: application/json: - schema: &694 + schema: &696 type: object properties: total_gigabytes_bandwidth_used: @@ -41770,7 +41931,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &695 + default: &697 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -41802,7 +41963,7 @@ paths: description: Response content: application/json: - schema: &696 + schema: &701 type: object properties: days_left_in_billing_cycle: @@ -41820,7 +41981,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &697 + default: &702 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -41862,7 +42023,7 @@ paths: type: integer network_configurations: type: array - items: &306 + items: &308 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -41982,9 +42143,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - default: &307 + default: &309 value: id: 123456789ABCDEF name: My network configuration @@ -42013,7 +42174,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - &308 + - &310 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -42025,9 +42186,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - default: *307 + default: *309 headers: Link: *58 x-github: @@ -42049,7 +42210,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *103 - - *308 + - *310 requestBody: required: true content: @@ -42088,9 +42249,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *308 examples: - default: *307 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42110,7 +42271,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *103 - - *308 + - *310 responses: '204': description: Response @@ -42250,13 +42411,13 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *310 + default: *312 '500': *104 '403': *29 '404': *6 - '422': *311 + '422': *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42284,9 +42445,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 headers: Link: *58 '403': *29 @@ -42380,7 +42541,7 @@ paths: description: Response content: application/json: - schema: &312 + schema: &314 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -42443,8 +42604,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *222 - required: *223 + properties: *224 + required: *225 nullable: true members_count: type: integer @@ -42707,7 +42868,7 @@ paths: - repos_count - organization examples: - default: &313 + default: &315 value: id: 1 node_id: MDQ6VGVhbTE= @@ -42784,9 +42945,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 x-github: githubCloudOnly: false @@ -42870,16 +43031,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '201': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 '422': *15 '403': *29 @@ -42949,7 +43110,7 @@ paths: application/json: schema: type: array - items: &314 + items: &316 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -43048,7 +43209,7 @@ paths: - updated_at - url examples: - default: &643 + default: &645 value: - author: login: octocat @@ -43157,9 +43318,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: &315 + default: &317 value: author: login: octocat @@ -43233,7 +43394,7 @@ paths: parameters: - *103 - *65 - - &316 + - &318 name: discussion_number description: The number that identifies the discussion. in: path @@ -43245,9 +43406,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43271,7 +43432,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 requestBody: required: false content: @@ -43294,9 +43455,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: &644 + default: &646 value: author: login: octocat @@ -43368,7 +43529,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 responses: '204': description: Response @@ -43396,7 +43557,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 - *48 - *17 - *19 @@ -43407,7 +43568,7 @@ paths: application/json: schema: type: array - items: &317 + items: &319 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -43479,7 +43640,7 @@ paths: - updated_at - url examples: - default: &645 + default: &647 value: - author: login: octocat @@ -43549,7 +43710,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 requestBody: required: true content: @@ -43571,9 +43732,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: &318 + default: &320 value: author: login: octocat @@ -43641,8 +43802,8 @@ paths: parameters: - *103 - *65 - - *316 - - &319 + - *318 + - &321 name: comment_number description: The number that identifies the comment. in: path @@ -43654,9 +43815,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43680,8 +43841,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 requestBody: required: true content: @@ -43703,9 +43864,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: &646 + default: &648 value: author: login: octocat @@ -43771,8 +43932,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 responses: '204': description: Response @@ -43800,8 +43961,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -43827,7 +43988,7 @@ paths: application/json: schema: type: array - items: &320 + items: &322 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -43870,7 +44031,7 @@ paths: - content - created_at examples: - default: &322 + default: &324 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43922,8 +44083,8 @@ paths: parameters: - *103 - *65 - - *316 - - *319 + - *318 + - *321 requestBody: required: true content: @@ -43956,9 +44117,9 @@ paths: team discussion comment content: application/json: - schema: *320 + schema: *322 examples: - default: &321 + default: &323 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -43987,9 +44148,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44014,9 +44175,9 @@ paths: parameters: - *103 - *65 - - *316 - - *319 - - &323 + - *318 + - *321 + - &325 name: reaction_id description: The unique identifier of the reaction. in: path @@ -44050,7 +44211,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -44076,9 +44237,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -44106,7 +44267,7 @@ paths: parameters: - *103 - *65 - - *316 + - *318 requestBody: required: true content: @@ -44138,16 +44299,16 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -44172,8 +44333,8 @@ paths: parameters: - *103 - *65 - - *316 - - *323 + - *318 + - *325 responses: '204': description: Response @@ -44208,9 +44369,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *58 x-github: @@ -44294,7 +44455,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &326 title: Team Membership description: Team Membership type: object @@ -44321,7 +44482,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &647 + 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 @@ -44384,9 +44545,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: &648 + 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 @@ -44459,7 +44620,7 @@ paths: application/json: schema: type: array - items: &325 + items: &327 title: Team Project description: A team's access to a project. type: object @@ -44527,7 +44688,7 @@ paths: - updated_at - permissions examples: - default: &649 + default: &651 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44592,7 +44753,7 @@ paths: parameters: - *103 - *65 - - &326 + - &328 name: project_id description: The unique identifier of the project. in: path @@ -44604,9 +44765,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: &650 + default: &652 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -44670,7 +44831,7 @@ paths: parameters: - *103 - *65 - - *326 + - *328 requestBody: required: false content: @@ -44738,7 +44899,7 @@ paths: parameters: - *103 - *65 - - *326 + - *328 responses: '204': description: Response @@ -44776,9 +44937,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -44809,14 +44970,14 @@ paths: parameters: - *103 - *65 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &651 + schema: &653 title: Team Repository description: A team's access to a repository. type: object @@ -45387,8 +45548,8 @@ paths: parameters: - *103 - *65 - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -45435,8 +45596,8 @@ paths: parameters: - *103 - *65 - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -45471,9 +45632,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - response-if-child-teams-exist: &652 + response-if-child-teams-exist: &654 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -45600,7 +45761,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &329 + - &331 name: column_id description: The unique identifier of the column. in: path @@ -45612,7 +45773,7 @@ paths: description: Response content: application/json: - schema: &330 + schema: &332 title: Project Column description: Project columns contain cards of work. type: object @@ -45658,7 +45819,7 @@ paths: - created_at - updated_at examples: - default: &331 + default: &333 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45693,7 +45854,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *329 + - *331 requestBody: required: true content: @@ -45717,9 +45878,9 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: - default: *331 + default: *333 '304': *37 '403': *29 '401': *25 @@ -45744,7 +45905,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *329 + - *331 responses: '204': description: Response @@ -45773,7 +45934,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *329 + - *331 requestBody: required: true content: @@ -45833,15 +45994,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *326 + - *328 responses: '200': description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: &332 + default: &334 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45898,7 +46059,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *326 + - *328 requestBody: required: false content: @@ -45944,9 +46105,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *332 + default: *334 '404': description: Not Found if the authenticated user does not have access to the project @@ -45967,7 +46128,7 @@ paths: items: type: string '401': *25 - '410': *333 + '410': *335 '422': *7 x-github: githubCloudOnly: false @@ -45990,7 +46151,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *326 + - *328 responses: '204': description: Delete Success @@ -46011,7 +46172,7 @@ paths: items: type: string '401': *25 - '410': *333 + '410': *335 '404': *6 x-github: githubCloudOnly: false @@ -46035,7 +46196,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *326 + - *328 - 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 @@ -46092,7 +46253,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *326 + - *328 - *63 requestBody: required: false @@ -46145,7 +46306,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *326 + - *328 - *63 responses: '204': @@ -46177,7 +46338,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *326 + - *328 - *63 responses: '200': @@ -46251,7 +46412,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *326 + - *328 - *17 - *19 responses: @@ -46261,7 +46422,7 @@ paths: application/json: schema: type: array - items: *330 + items: *332 examples: default: value: @@ -46299,7 +46460,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *326 + - *328 requestBody: required: true content: @@ -46322,7 +46483,7 @@ paths: description: Response content: application/json: - schema: *330 + schema: *332 examples: default: value: @@ -46387,7 +46548,7 @@ paths: resources: type: object properties: - core: &334 + core: &336 title: Rate Limit type: object properties: @@ -46404,21 +46565,21 @@ paths: - remaining - reset - used - graphql: *334 - search: *334 - code_search: *334 - source_import: *334 - integration_manifest: *334 - code_scanning_upload: *334 - actions_runner_registration: *334 - scim: *334 - dependency_snapshots: *334 - dependency_sbom: *334 - code_scanning_autofix: *334 + 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 + dependency_sbom: *336 + code_scanning_autofix: *336 required: - core - search - rate: *334 + rate: *336 required: - rate - resources @@ -46523,14 +46684,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *335 + schema: *337 examples: default-response: summary: Default response @@ -47031,7 +47192,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *336 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47049,8 +47210,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -47297,10 +47458,10 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 - '307': &338 + default: *339 + '307': &340 description: Temporary Redirect content: application/json: @@ -47329,8 +47490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -47352,7 +47513,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *338 + '307': *340 '404': *6 '409': *47 x-github: @@ -47376,11 +47537,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &369 + - &371 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -47403,7 +47564,7 @@ paths: type: integer artifacts: type: array - items: &339 + items: &341 title: Artifact description: An artifact type: object @@ -47481,7 +47642,7 @@ paths: - expires_at - updated_at examples: - default: &370 + default: &372 value: total_count: 2 artifacts: @@ -47542,9 +47703,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *327 - - *328 - - &340 + - *329 + - *330 + - &342 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47556,7 +47717,7 @@ paths: description: Response content: application/json: - schema: *339 + schema: *341 examples: default: value: @@ -47594,9 +47755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *327 - - *328 - - *340 + - *329 + - *330 + - *342 responses: '204': description: Response @@ -47620,9 +47781,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *327 - - *328 - - *340 + - *329 + - *330 + - *342 - name: archive_format in: path required: true @@ -47636,7 +47797,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': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47659,14 +47820,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *341 + schema: *343 examples: default: value: @@ -47692,11 +47853,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - - &342 + - &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 @@ -47730,7 +47891,7 @@ paths: description: Response content: application/json: - schema: &343 + schema: &345 title: Repository actions caches description: Repository actions caches type: object @@ -47772,7 +47933,7 @@ paths: - total_count - actions_caches examples: - default: &344 + default: &346 value: total_count: 1 actions_caches: @@ -47804,23 +47965,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *327 - - *328 + - *329 + - *330 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *342 + - *344 responses: '200': description: Response content: application/json: - schema: *343 + schema: *345 examples: - default: *344 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47840,8 +48001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *327 - - *328 + - *329 + - *330 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47872,9 +48033,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *327 - - *328 - - &345 + - *329 + - *330 + - &347 name: job_id description: The unique identifier of the job. in: path @@ -47886,7 +48047,7 @@ paths: description: Response content: application/json: - schema: &373 + schema: &375 title: Job description: Information of a job execution in a workflow run type: object @@ -48193,9 +48354,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *327 - - *328 - - *345 + - *329 + - *330 + - *347 responses: '302': description: Response @@ -48223,9 +48384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *327 - - *328 - - *345 + - *329 + - *330 + - *347 requestBody: required: false content: @@ -48246,7 +48407,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -48270,8 +48431,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Status response @@ -48321,8 +48482,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -48356,7 +48517,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -48385,8 +48546,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -48404,7 +48565,7 @@ paths: type: integer secrets: type: array - items: &375 + items: &377 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -48424,7 +48585,7 @@ paths: - created_at - updated_at examples: - default: &376 + default: &378 value: total_count: 2 secrets: @@ -48457,9 +48618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *327 - - *328 - - *346 + - *329 + - *330 + - *348 - *19 responses: '200': @@ -48476,7 +48637,7 @@ paths: type: integer variables: type: array - items: &379 + items: &381 title: Actions Variable type: object properties: @@ -48506,7 +48667,7 @@ paths: - created_at - updated_at examples: - default: &380 + default: &382 value: total_count: 2 variables: @@ -48539,8 +48700,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -48549,12 +48710,12 @@ paths: schema: type: object properties: - enabled: &348 + enabled: &350 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *118 - selected_actions_url: *347 - sha_pinning_required: *119 + allowed_actions: *120 + selected_actions_url: *349 + sha_pinning_required: *121 required: - enabled examples: @@ -48582,8 +48743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48594,9 +48755,9 @@ paths: schema: type: object properties: - enabled: *348 - allowed_actions: *118 - sha_pinning_required: *119 + enabled: *350 + allowed_actions: *120 + sha_pinning_required: *121 required: - enabled examples: @@ -48626,14 +48787,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &349 + schema: &351 type: object properties: access_level: @@ -48650,7 +48811,7 @@ paths: required: - access_level examples: - default: &350 + default: &352 value: access_level: organization x-github: @@ -48674,15 +48835,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *349 + schema: *351 examples: - default: *350 + default: *352 responses: '204': description: Response @@ -48706,14 +48867,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: default: value: @@ -48737,8 +48898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Empty response for successful settings update @@ -48748,7 +48909,7 @@ paths: required: true content: application/json: - schema: *352 + schema: *354 examples: default: summary: Set retention days @@ -48772,16 +48933,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *120 + schema: *122 examples: - default: *353 + default: *355 '404': *6 x-github: enabledForGitHubApps: true @@ -48800,8 +48961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48811,7 +48972,7 @@ paths: required: true content: application/json: - schema: *120 + schema: *122 examples: default: summary: Set approval policy to first time contributors @@ -48835,16 +48996,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *354 + schema: *356 examples: - default: *121 + default: *123 '403': *29 '404': *6 x-github: @@ -48864,15 +49025,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *355 + schema: *357 examples: - default: *121 + default: *123 responses: '204': description: Empty response for successful settings update @@ -48896,16 +49057,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: *124 + default: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48924,8 +49085,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -48933,9 +49094,9 @@ paths: required: false content: application/json: - schema: *123 + schema: *125 examples: - selected_actions: *124 + selected_actions: *126 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -48957,16 +49118,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *356 + schema: *358 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48987,8 +49148,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Success response @@ -48999,9 +49160,9 @@ paths: required: true content: application/json: - schema: *357 + schema: *359 examples: - default: *128 + default: *130 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49028,8 +49189,8 @@ paths: in: query schema: type: string - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -49047,9 +49208,9 @@ paths: type: integer runners: type: array - items: *135 + items: *137 examples: - default: *136 + default: *138 headers: Link: *58 x-github: @@ -49073,8 +49234,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -49082,9 +49243,9 @@ paths: application/json: schema: type: array - items: *358 + items: *360 examples: - default: *359 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49106,8 +49267,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -49150,7 +49311,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *360 + '201': *362 '404': *6 '422': *7 '409': *47 @@ -49181,16 +49342,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *361 + default: *363 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49218,16 +49379,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response content: application/json: - schema: *137 + schema: *139 examples: - default: *362 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49249,17 +49410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: '200': description: Response content: application/json: - schema: *135 + schema: *137 examples: - default: *363 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49280,9 +49441,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: '204': description: Response @@ -49308,11 +49469,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: - '200': *139 + '200': *141 '404': *6 x-github: githubCloudOnly: false @@ -49334,9 +49495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 requestBody: required: true content: @@ -49360,7 +49521,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -49384,9 +49545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 requestBody: required: true content: @@ -49411,7 +49572,7 @@ paths: - gpu - accelerated responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -49435,11 +49596,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 + - *329 + - *330 + - *136 responses: - '200': *364 + '200': *366 '404': *6 x-github: githubCloudOnly: false @@ -49466,12 +49627,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *327 - - *328 - - *134 - - *365 + - *329 + - *330 + - *136 + - *367 responses: - '200': *139 + '200': *141 '404': *6 '422': *7 x-github: @@ -49497,9 +49658,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *327 - - *328 - - &383 + - *329 + - *330 + - &385 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. @@ -49507,7 +49668,7 @@ paths: required: false schema: type: string - - &384 + - &386 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -49515,7 +49676,7 @@ paths: required: false schema: type: string - - &385 + - &387 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -49524,7 +49685,7 @@ paths: required: false schema: type: string - - &386 + - &388 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 @@ -49551,7 +49712,7 @@ paths: - pending - *17 - *19 - - &387 + - &389 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -49560,7 +49721,7 @@ paths: schema: type: string format: date-time - - &366 + - &368 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -49569,13 +49730,13 @@ paths: schema: type: boolean default: false - - &388 + - &390 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &389 + - &391 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -49598,7 +49759,7 @@ paths: type: integer workflow_runs: type: array - items: &367 + items: &369 title: Workflow Run description: An invocation of a workflow type: object @@ -49693,7 +49854,7 @@ paths: that triggered the run. type: array nullable: true - items: &408 + items: &410 title: Pull Request Minimal type: object properties: @@ -49812,7 +49973,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &412 + properties: &414 id: type: string description: SHA for the commit @@ -49863,7 +50024,7 @@ paths: - name - email nullable: true - required: &413 + required: &415 - id - tree_id - message @@ -49871,8 +50032,8 @@ paths: - author - committer nullable: true - repository: *133 - head_repository: *133 + repository: *135 + head_repository: *135 head_repository_id: type: integer example: 5 @@ -49910,7 +50071,7 @@ paths: - workflow_url - pull_requests examples: - default: &390 + default: &392 value: total_count: 1 workflow_runs: @@ -50146,24 +50307,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *327 - - *328 - - &368 + - *329 + - *330 + - &370 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *366 + - *368 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: &371 + default: &373 value: id: 30433642 name: Build @@ -50404,9 +50565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '204': description: Response @@ -50429,9 +50590,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '200': description: Response @@ -50550,15 +50711,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50585,12 +50746,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 - *17 - *19 - - *369 + - *371 responses: '200': description: Response @@ -50606,9 +50767,9 @@ paths: type: integer artifacts: type: array - items: *339 + items: *341 examples: - default: *370 + default: *372 headers: Link: *58 x-github: @@ -50632,25 +50793,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *327 - - *328 - - *368 - - &372 + - *329 + - *330 + - *370 + - &374 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *366 + - *368 responses: '200': description: Response content: application/json: - schema: *367 + schema: *369 examples: - default: *371 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50673,10 +50834,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *327 - - *328 - - *368 - - *372 + - *329 + - *330 + - *370 + - *374 - *17 - *19 responses: @@ -50694,9 +50855,9 @@ paths: type: integer jobs: type: array - items: *373 + items: *375 examples: - default: &374 + default: &376 value: total_count: 1 jobs: @@ -50809,10 +50970,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *327 - - *328 - - *368 - - *372 + - *329 + - *330 + - *370 + - *374 responses: '302': description: Response @@ -50840,15 +51001,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50875,9 +51036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: true content: @@ -50944,15 +51105,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '202': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -50979,9 +51140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 - 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 @@ -51011,9 +51172,9 @@ paths: type: integer jobs: type: array - items: *373 + items: *375 examples: - default: *374 + default: *376 headers: Link: *58 x-github: @@ -51038,9 +51199,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '302': description: Response @@ -51067,9 +51228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '204': description: Response @@ -51096,9 +51257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '200': description: Response @@ -51158,7 +51319,7 @@ paths: items: type: object properties: - type: &490 + type: &492 type: string description: The type of reviewer. enum: @@ -51168,7 +51329,7 @@ paths: reviewer: anyOf: - *4 - - *165 + - *167 required: - environment - wait_timer @@ -51243,9 +51404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: true content: @@ -51292,7 +51453,7 @@ paths: application/json: schema: type: array - items: &485 + items: &487 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -51398,7 +51559,7 @@ paths: - created_at - updated_at examples: - default: &486 + default: &488 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -51454,9 +51615,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: false content: @@ -51477,7 +51638,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51500,9 +51661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 requestBody: required: false content: @@ -51523,7 +51684,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51555,9 +51716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *327 - - *328 - - *368 + - *329 + - *330 + - *370 responses: '200': description: Response @@ -51694,8 +51855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -51713,9 +51874,9 @@ paths: type: integer secrets: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *58 x-github: @@ -51740,16 +51901,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *378 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51771,17 +51932,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: &503 + default: &505 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51807,9 +51968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 requestBody: required: true content: @@ -51840,7 +52001,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51866,9 +52027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '204': description: Response @@ -51893,9 +52054,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *327 - - *328 - - *346 + - *329 + - *330 + - *348 - *19 responses: '200': @@ -51912,9 +52073,9 @@ paths: type: integer variables: type: array - items: *379 + items: *381 examples: - default: *380 + default: *382 headers: Link: *58 x-github: @@ -51937,8 +52098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -51965,7 +52126,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -51990,17 +52151,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *327 - - *328 - - *144 + - *329 + - *330 + - *146 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: &504 + default: &506 value: name: USERNAME value: octocat @@ -52026,9 +52187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *327 - - *328 - - *144 + - *329 + - *330 + - *146 requestBody: required: true content: @@ -52070,9 +52231,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *327 - - *328 - - *144 + - *329 + - *330 + - *146 responses: '204': description: Response @@ -52097,8 +52258,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -52116,7 +52277,7 @@ paths: type: integer workflows: type: array - items: &381 + items: &383 title: Workflow description: A GitHub Actions workflow type: object @@ -52223,9 +52384,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *327 - - *328 - - &382 + - *329 + - *330 + - &384 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -52240,7 +52401,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *383 examples: default: value: @@ -52273,9 +52434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '204': description: Response @@ -52300,9 +52461,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '204': description: Response @@ -52353,9 +52514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '204': description: Response @@ -52382,19 +52543,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *327 - - *328 - - *382 - - *383 + - *329 + - *330 - *384 - *385 - *386 - - *17 - - *19 - *387 - - *366 - *388 + - *17 + - *19 - *389 + - *368 + - *390 + - *391 responses: '200': description: Response @@ -52410,9 +52571,9 @@ paths: type: integer workflow_runs: type: array - items: *367 + items: *369 examples: - default: *390 + default: *392 headers: Link: *58 x-github: @@ -52444,9 +52605,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *327 - - *328 - - *382 + - *329 + - *330 + - *384 responses: '200': description: Response @@ -52507,8 +52668,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *327 - - *328 + - *329 + - *330 - *48 - *17 - *40 @@ -52672,8 +52833,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -52710,8 +52871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *327 - - *328 + - *329 + - *330 - name: assignee in: path required: true @@ -52747,8 +52908,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -52860,8 +53021,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *40 - *41 @@ -52917,7 +53078,7 @@ paths: initiator: type: string examples: - default: *391 + default: *393 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52937,8 +53098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -52946,7 +53107,7 @@ paths: application/json: schema: type: array - items: &392 + items: &394 title: Autolink reference description: An autolink reference. type: object @@ -53000,8 +53161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -53040,9 +53201,9 @@ paths: description: response content: application/json: - schema: *392 + schema: *394 examples: - default: &393 + default: &395 value: id: 1 key_prefix: TICKET- @@ -53073,9 +53234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *327 - - *328 - - &394 + - *329 + - *330 + - &396 name: autolink_id description: The unique identifier of the autolink. in: path @@ -53087,9 +53248,9 @@ paths: description: Response content: application/json: - schema: *392 + schema: *394 examples: - default: *393 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -53109,9 +53270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *327 - - *328 - - *394 + - *329 + - *330 + - *396 responses: '204': description: Response @@ -53135,8 +53296,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response if Dependabot is enabled @@ -53184,8 +53345,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -53206,8 +53367,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -53227,8 +53388,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *327 - - *328 + - *329 + - *330 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -53266,7 +53427,7 @@ paths: - url protected: type: boolean - protection: &396 + protection: &398 title: Branch Protection description: Branch Protection type: object @@ -53308,7 +53469,7 @@ paths: required: - contexts - checks - enforce_admins: &399 + enforce_admins: &401 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -53323,7 +53484,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &401 + required_pull_request_reviews: &403 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -53344,7 +53505,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *165 + items: *167 apps: description: The list of apps with review dismissal access. @@ -53373,7 +53534,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *165 + items: *167 apps: description: The list of apps allowed to bypass pull request requirements. @@ -53399,7 +53560,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &398 + restrictions: &400 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53462,7 +53623,7 @@ paths: type: string teams: type: array - items: *165 + items: *167 apps: type: array items: @@ -53676,9 +53837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *327 - - *328 - - &397 + - *329 + - *330 + - &399 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -53692,14 +53853,14 @@ paths: description: Response content: application/json: - schema: &407 + schema: &409 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &460 + commit: &462 title: Commit description: Commit type: object @@ -53733,7 +53894,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &395 + properties: &397 name: type: string example: '"Chris Wanstrath"' @@ -53748,7 +53909,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *395 + properties: *397 nullable: true message: type: string @@ -53769,7 +53930,7 @@ paths: required: - sha - url - verification: &510 + verification: &512 title: Verification type: object properties: @@ -53803,12 +53964,12 @@ paths: nullable: true oneOf: - *4 - - *142 + - *144 committer: nullable: true oneOf: - *4 - - *142 + - *144 parents: type: array items: @@ -53839,7 +54000,7 @@ paths: type: integer files: type: array - items: &473 + items: &475 title: Diff Entry description: Diff Entry type: object @@ -53923,7 +54084,7 @@ paths: - self protected: type: boolean - protection: *396 + protection: *398 protection_url: type: string format: uri @@ -54030,7 +54191,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *336 + '301': *338 '404': *6 x-github: githubCloudOnly: false @@ -54052,15 +54213,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *396 + schema: *398 examples: default: value: @@ -54254,9 +54415,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -54511,7 +54672,7 @@ paths: url: type: string format: uri - required_status_checks: &404 + required_status_checks: &406 title: Status Check Policy description: Status Check Policy type: object @@ -54587,7 +54748,7 @@ paths: items: *4 teams: type: array - items: *165 + items: *167 apps: type: array items: *5 @@ -54605,7 +54766,7 @@ paths: items: *4 teams: type: array - items: *165 + items: *167 apps: type: array items: *5 @@ -54663,7 +54824,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *398 + restrictions: *400 required_conversation_resolution: type: object properties: @@ -54775,9 +54936,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -54802,17 +54963,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &400 + default: &402 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54834,17 +54995,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *400 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54863,9 +55024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -54890,17 +55051,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: &402 + default: &404 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54996,9 +55157,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55096,9 +55257,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *403 examples: - default: *402 + default: *404 '422': *15 x-github: githubCloudOnly: false @@ -55119,9 +55280,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55148,17 +55309,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: &403 + default: &405 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -55181,17 +55342,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *399 + schema: *401 examples: - default: *403 + default: *405 '404': *6 x-github: githubCloudOnly: false @@ -55211,9 +55372,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55238,17 +55399,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: &405 + default: &407 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -55274,9 +55435,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55328,9 +55489,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *406 examples: - default: *405 + default: *407 '404': *6 '422': *15 x-github: @@ -55352,9 +55513,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55378,9 +55539,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -55414,9 +55575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55483,9 +55644,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -55549,9 +55710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: content: application/json: @@ -55617,15 +55778,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response content: application/json: - schema: *398 + schema: *400 examples: default: value: @@ -55716,9 +55877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '204': description: Response @@ -55741,9 +55902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -55753,7 +55914,7 @@ paths: type: array items: *5 examples: - default: &406 + default: &408 value: - id: 1 slug: octoapp @@ -55810,9 +55971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -55846,7 +56007,7 @@ paths: type: array items: *5 examples: - default: *406 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -55867,9 +56028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -55903,7 +56064,7 @@ paths: type: array items: *5 examples: - default: *406 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -55924,9 +56085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -55960,7 +56121,7 @@ paths: type: array items: *5 examples: - default: *406 + default: *408 '422': *15 x-github: githubCloudOnly: false @@ -55982,9 +56143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -55992,9 +56153,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '404': *6 x-github: githubCloudOnly: false @@ -56014,9 +56175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -56052,9 +56213,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -56075,9 +56236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: false content: @@ -56113,9 +56274,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -56136,9 +56297,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: content: application/json: @@ -56173,9 +56334,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 '422': *15 x-github: githubCloudOnly: false @@ -56197,9 +56358,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 responses: '200': description: Response @@ -56233,9 +56394,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56293,9 +56454,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56353,9 +56514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56415,9 +56576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 requestBody: required: true content: @@ -56439,7 +56600,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *409 examples: default: value: @@ -56555,8 +56716,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -56835,7 +56996,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &411 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56954,8 +57115,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *408 - deployment: &710 + items: *410 + deployment: &713 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -57235,9 +57396,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *327 - - *328 - - &410 + - *329 + - *330 + - &412 name: check_run_id description: The unique identifier of the check run. in: path @@ -57249,9 +57410,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: &411 + default: &413 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -57351,9 +57512,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *327 - - *328 - - *410 + - *329 + - *330 + - *412 requestBody: required: true content: @@ -57593,9 +57754,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *411 examples: - default: *411 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57615,9 +57776,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *327 - - *328 - - *410 + - *329 + - *330 + - *412 - *17 - *19 responses: @@ -57712,15 +57873,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *327 - - *328 - - *410 + - *329 + - *330 + - *412 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -57758,8 +57919,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -57781,7 +57942,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &414 + schema: &416 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57845,7 +58006,7 @@ paths: nullable: true pull_requests: type: array - items: *408 + items: *410 nullable: true app: title: GitHub app @@ -57858,7 +58019,7 @@ paths: nullable: true properties: *68 required: *69 - repository: *133 + repository: *135 created_at: type: string format: date-time @@ -57867,12 +58028,12 @@ paths: type: string format: date-time nullable: true - head_commit: &736 + head_commit: &739 title: Simple Commit description: A commit. type: object - properties: *412 - required: *413 + properties: *414 + required: *415 latest_check_runs_count: type: integer check_runs_url: @@ -57900,7 +58061,7 @@ paths: - check_runs_url - pull_requests examples: - default: &415 + default: &417 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -58191,9 +58352,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58212,8 +58373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -58274,7 +58435,7 @@ paths: required: - app_id - setting - repository: *133 + repository: *135 examples: default: value: @@ -58522,9 +58683,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *327 - - *328 - - &416 + - *329 + - *330 + - &418 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58536,9 +58697,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58561,17 +58722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *327 - - *328 - - *416 - - &466 + - *329 + - *330 + - *418 + - &468 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &467 + - &469 name: status description: Returns check runs with the specified `status`. in: query @@ -58610,9 +58771,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *411 examples: - default: &468 + default: &470 value: total_count: 1 check_runs: @@ -58714,15 +58875,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *327 - - *328 - - *416 + - *329 + - *330 + - *418 responses: '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -58749,21 +58910,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *417 - - *418 + - *329 + - *330 + - *419 + - *420 - *19 - *17 - - &435 + - &437 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: *419 - - &436 + schema: *421 + - &438 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58788,13 +58949,13 @@ paths: be returned. in: query required: false - schema: *420 + schema: *422 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *421 + schema: *423 responses: '200': description: Response @@ -58807,12 +58968,12 @@ paths: properties: number: *54 created_at: *55 - updated_at: *149 + updated_at: *151 url: *56 html_url: *57 - instances_url: *422 - state: *154 - fixed_at: *150 + instances_url: *424 + state: *156 + fixed_at: *152 dismissed_by: title: Simple User description: A GitHub user. @@ -58820,12 +58981,12 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *151 - dismissed_reason: *423 - dismissed_comment: *424 - rule: *425 - tool: *426 - most_recent_instance: *427 + dismissed_at: *153 + dismissed_reason: *425 + dismissed_comment: *426 + rule: *427 + tool: *428 + most_recent_instance: *429 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -58951,7 +59112,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &428 + '403': &430 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -58978,9 +59139,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *327 - - *328 - - &429 + - *329 + - *330 + - &431 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58994,17 +59155,17 @@ paths: description: Response content: application/json: - schema: &430 + schema: &432 type: object properties: number: *54 created_at: *55 - updated_at: *149 + updated_at: *151 url: *56 html_url: *57 - instances_url: *422 - state: *154 - fixed_at: *150 + instances_url: *424 + state: *156 + fixed_at: *152 dismissed_by: title: Simple User description: A GitHub user. @@ -59012,9 +59173,9 @@ paths: properties: *20 required: *21 nullable: true - dismissed_at: *151 - dismissed_reason: *423 - dismissed_comment: *424 + dismissed_at: *153 + dismissed_reason: *425 + dismissed_comment: *426 rule: type: object properties: @@ -59068,8 +59229,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *426 - most_recent_instance: *427 + tool: *428 + most_recent_instance: *429 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -59168,7 +59329,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59188,9 +59349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 requestBody: required: true content: @@ -59205,8 +59366,8 @@ paths: enum: - open - dismissed - dismissed_reason: *423 - dismissed_comment: *424 + dismissed_reason: *425 + dismissed_comment: *426 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -59225,7 +59386,7 @@ paths: description: Response content: application/json: - schema: *430 + schema: *432 examples: default: value: @@ -59301,7 +59462,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &434 + '403': &436 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -59328,15 +59489,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 responses: '200': description: Response content: application/json: - schema: &431 + schema: &433 type: object properties: status: @@ -59362,13 +59523,13 @@ paths: - description - started_at examples: - default: &432 + default: &434 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &433 + '400': &435 description: Bad Request content: application/json: @@ -59379,7 +59540,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59404,29 +59565,29 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 responses: '200': description: OK content: application/json: - schema: *431 + schema: *433 examples: - default: *432 + default: *434 '202': description: Accepted content: application/json: - schema: *431 + schema: *433 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *433 + '400': *435 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -59458,9 +59619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 requestBody: required: false content: @@ -59505,8 +59666,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *433 - '403': *434 + '400': *435 + '403': *436 '404': *6 '422': description: Unprocessable Entity @@ -59530,13 +59691,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 - *19 - *17 - - *435 - - *436 + - *437 + - *438 responses: '200': description: Response @@ -59544,7 +59705,7 @@ paths: application/json: schema: type: array - items: *427 + items: *429 examples: default: value: @@ -59583,7 +59744,7 @@ paths: end_column: 50 classifications: - source - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59617,25 +59778,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *327 - - *328 - - *417 - - *418 + - *329 + - *330 + - *419 + - *420 - *19 - *17 - - *436 + - *438 - 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: *419 + schema: *421 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &439 + schema: &441 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -59656,23 +59817,23 @@ paths: application/json: schema: type: array - items: &440 + items: &442 type: object properties: - ref: *419 - commit_sha: &448 + ref: *421 + commit_sha: &450 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: *437 + analysis_key: *439 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *438 + category: *440 error: type: string example: error reading field xyz @@ -59696,8 +59857,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *439 - tool: *426 + sarif_id: *441 + tool: *428 deletable: type: boolean warning: @@ -59758,7 +59919,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -59794,8 +59955,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59808,7 +59969,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: response: summary: application/json response @@ -59862,7 +60023,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *428 + '403': *430 '404': *6 '422': description: Response if analysis could not be processed @@ -59949,8 +60110,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -60003,7 +60164,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *434 + '403': *436 '404': *6 '503': *72 x-github: @@ -60025,8 +60186,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -60034,7 +60195,7 @@ paths: application/json: schema: type: array - items: &441 + items: &443 title: CodeQL Database description: A CodeQL database. type: object @@ -60145,7 +60306,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': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -60174,8 +60335,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -60187,7 +60348,7 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: default: value: @@ -60219,9 +60380,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': &475 + '302': &477 description: Found - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -60243,8 +60404,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *327 - - *328 + - *329 + - *330 - name: language in: path description: The language of the CodeQL database. @@ -60254,7 +60415,7 @@ paths: responses: '204': description: Response - '403': *434 + '403': *436 '404': *6 '503': *72 x-github: @@ -60282,8 +60443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -60292,7 +60453,7 @@ paths: type: object additionalProperties: false properties: - language: &442 + language: &444 type: string description: The language targeted by the CodeQL query enum: @@ -60371,7 +60532,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &446 + schema: &448 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -60381,7 +60542,7 @@ paths: description: The ID of the variant analysis. controller_repo: *53 actor: *4 - query_language: *442 + query_language: *444 query_pack_url: type: string description: The download url for the query pack. @@ -60428,7 +60589,7 @@ paths: items: type: object properties: - repository: &443 + repository: &445 title: Repository Identifier description: Repository Identifier type: object @@ -60464,7 +60625,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &447 + analysis_status: &449 type: string description: The new status of the CodeQL variant analysis repository task. @@ -60496,7 +60657,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &444 + access_mismatch_repos: &446 type: object properties: repository_count: @@ -60510,7 +60671,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: *443 + items: *445 required: - repository_count - repositories @@ -60532,8 +60693,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *444 - over_limit_repos: *444 + no_codeql_db_repos: *446 + over_limit_repos: *446 required: - access_mismatch_repos - not_found_repos @@ -60549,7 +60710,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &445 + value: &447 summary: Default response value: id: 1 @@ -60701,10 +60862,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *445 + value: *447 repository_lists: summary: Response for a successful variant analysis submission - value: *445 + value: *447 '404': *6 '422': description: Unable to process variant analysis submission @@ -60732,8 +60893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *327 - - *328 + - *329 + - *330 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60745,9 +60906,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *448 examples: - default: *445 + default: *447 '404': *6 '503': *72 x-github: @@ -60770,7 +60931,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *327 + - *329 - name: repo in: path description: The name of the controller repository. @@ -60805,7 +60966,7 @@ paths: type: object properties: repository: *53 - analysis_status: *447 + analysis_status: *449 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60930,8 +61091,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -61016,7 +61177,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *428 + '403': *430 '404': *6 '503': *72 x-github: @@ -61037,8 +61198,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -61105,7 +61266,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -61130,7 +61291,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *434 + '403': *436 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -61201,8 +61362,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -61210,7 +61371,7 @@ paths: schema: type: object properties: - commit_sha: *448 + commit_sha: *450 ref: type: string description: |- @@ -61268,7 +61429,7 @@ paths: schema: type: object properties: - id: *439 + id: *441 url: type: string description: The REST API URL for checking the status of the upload. @@ -61282,7 +61443,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': *434 + '403': *436 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -61305,8 +61466,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *327 - - *328 + - *329 + - *330 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -61352,7 +61513,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': *428 + '403': *430 '404': description: Not Found if the sarif id does not match any upload '503': *72 @@ -61377,8 +61538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -61434,7 +61595,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': *159 + '204': *161 '304': *37 '403': *29 '404': *6 @@ -61459,8 +61620,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -61580,8 +61741,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -61597,7 +61758,7 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: default: value: @@ -61895,8 +62056,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -61959,17 +62120,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '400': *14 '401': *25 '403': *29 @@ -61998,8 +62159,8 @@ paths: parameters: - *17 - *19 - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -62063,8 +62224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -62099,14 +62260,14 @@ paths: type: integer machines: type: array - items: &659 + items: &661 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *450 - required: *451 + properties: *452 + required: *453 examples: - default: &660 + default: &662 value: total_count: 2 machines: @@ -62146,8 +62307,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -62231,8 +62392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -62298,8 +62459,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -62317,7 +62478,7 @@ paths: type: integer secrets: type: array - items: &455 + items: &457 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -62337,7 +62498,7 @@ paths: - created_at - updated_at examples: - default: *452 + default: *454 headers: Link: *58 x-github: @@ -62360,16 +62521,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *453 + schema: *455 examples: - default: *454 + default: *456 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -62389,17 +62550,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '200': description: Response content: application/json: - schema: *455 + schema: *457 examples: - default: *456 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62419,9 +62580,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 requestBody: required: true content: @@ -62449,7 +62610,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -62473,9 +62634,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '204': description: Response @@ -62503,8 +62664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *327 - - *328 + - *329 + - *330 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -62546,7 +62707,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &457 + properties: &459 login: type: string example: octocat @@ -62639,7 +62800,7 @@ paths: user_view_type: type: string example: public - required: &458 + required: &460 - avatar_url - events_url - followers_url @@ -62713,8 +62874,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -62761,8 +62922,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 requestBody: required: false @@ -62789,7 +62950,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &523 + schema: &525 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62800,7 +62961,7 @@ paths: example: 42 type: integer format: int64 - repository: *133 + repository: *135 invitee: title: Simple User description: A GitHub user. @@ -62978,7 +63139,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *107 + schema: *109 '403': *29 x-github: triggersNotification: true @@ -63018,8 +63179,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '204': @@ -63051,8 +63212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *327 - - *328 + - *329 + - *330 - *63 responses: '200': @@ -63073,8 +63234,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *457 - required: *458 + properties: *459 + required: *460 nullable: true required: - permission @@ -63129,8 +63290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -63140,7 +63301,7 @@ paths: application/json: schema: type: array - items: &459 + items: &461 title: Commit Comment description: Commit Comment type: object @@ -63198,7 +63359,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &464 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63257,17 +63418,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '200': description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: &463 + default: &465 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63324,8 +63485,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -63348,7 +63509,7 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: default: value: @@ -63399,8 +63560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '204': @@ -63422,8 +63583,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -63450,9 +63611,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -63473,8 +63634,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -63507,16 +63668,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -63538,10 +63699,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *83 - - *323 + - *325 responses: '204': description: Response @@ -63590,8 +63751,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -63647,9 +63808,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: &573 + default: &575 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63743,9 +63904,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *327 - - *328 - - &461 + - *329 + - *330 + - &463 name: commit_sha description: The SHA of the commit. in: path @@ -63817,9 +63978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 - *17 - *19 responses: @@ -63829,9 +63990,9 @@ paths: application/json: schema: type: array - items: *459 + items: *461 examples: - default: *462 + default: *464 headers: Link: *58 x-github: @@ -63859,9 +64020,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 requestBody: required: true content: @@ -63896,9 +64057,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *461 examples: - default: *463 + default: *465 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63926,9 +64087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 - *17 - *19 responses: @@ -63938,9 +64099,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: &565 + default: &567 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64477,11 +64638,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - - &465 + - &467 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)" @@ -64496,9 +64657,9 @@ paths: description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: &552 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64611,11 +64772,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *327 - - *328 - - *465 - - *466 + - *329 + - *330 - *467 + - *468 + - *469 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64649,9 +64810,9 @@ paths: type: integer check_runs: type: array - items: *409 + items: *411 examples: - default: *468 + default: *470 headers: Link: *58 x-github: @@ -64676,9 +64837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *327 - - *328 - - *465 + - *329 + - *330 + - *467 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64686,7 +64847,7 @@ paths: schema: type: integer example: 1 - - *466 + - *468 - *17 - *19 responses: @@ -64704,7 +64865,7 @@ paths: type: integer check_suites: type: array - items: *414 + items: *416 examples: default: value: @@ -64904,9 +65065,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *327 - - *328 - - *465 + - *329 + - *330 + - *467 - *17 - *19 responses: @@ -64973,7 +65134,7 @@ paths: type: string total_count: type: integer - repository: *133 + repository: *135 commit_url: type: string format: uri @@ -65104,9 +65265,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *327 - - *328 - - *465 + - *329 + - *330 + - *467 - *17 - *19 responses: @@ -65116,7 +65277,7 @@ paths: application/json: schema: type: array - items: &630 + items: &632 title: Status description: The status of a commit. type: object @@ -65197,7 +65358,7 @@ paths: site_admin: false headers: Link: *58 - '301': *336 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65225,8 +65386,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -65255,20 +65416,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *469 - required: *470 + properties: *471 + required: *472 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &471 + properties: &473 url: type: string format: uri html_url: type: string format: uri - required: &472 + required: &474 - url - html_url nullable: true @@ -65282,26 +65443,26 @@ paths: contributing: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true readme: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true issue_template: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true pull_request_template: title: Community Health File type: object - properties: *471 - required: *472 + properties: *473 + required: *474 nullable: true required: - code_of_conduct @@ -65428,8 +65589,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 - name: basehead @@ -65472,8 +65633,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *460 - merge_base_commit: *460 + base_commit: *462 + merge_base_commit: *462 status: type: string enum: @@ -65493,10 +65654,10 @@ paths: example: 6 commits: type: array - items: *460 + items: *462 files: type: array - items: *473 + items: *475 required: - url - html_url @@ -65782,8 +65943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -65926,7 +66087,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &474 + response-if-content-is-a-file: &476 summary: Response if content is a file value: type: file @@ -66058,7 +66219,7 @@ paths: - size - type - url - - &578 + - &580 title: Content File description: Content File type: object @@ -66259,7 +66420,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *474 + response-if-content-is-a-file: *476 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -66328,7 +66489,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *475 + '302': *477 '304': *37 x-github: githubCloudOnly: false @@ -66351,8 +66512,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -66445,7 +66606,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &478 title: File Commit description: File Commit type: object @@ -66597,7 +66758,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: example-for-creating-a-file: value: @@ -66651,7 +66812,7 @@ paths: schema: oneOf: - *3 - - &505 + - &507 description: Repository rule violation was detected type: object properties: @@ -66672,7 +66833,7 @@ paths: items: type: object properties: - placeholder_id: &622 + placeholder_id: &624 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66704,8 +66865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *327 - - *328 + - *329 + - *330 - name: path description: path parameter in: path @@ -66766,7 +66927,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *478 examples: default: value: @@ -66821,8 +66982,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *327 - - *328 + - *329 + - *330 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66945,22 +67106,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *327 - - *328 - - *166 - - *167 + - *329 + - *330 - *168 - *169 + - *170 + - *171 - 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 - - *170 - - *171 - *172 - *173 + - *174 + - *175 - *48 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66980,8 +67141,8 @@ paths: default: 30 - *40 - *41 - - *174 - - *175 + - *176 + - *177 responses: '200': description: Response @@ -66989,7 +67150,7 @@ paths: application/json: schema: type: array - items: &479 + items: &481 type: object description: A Dependabot alert. properties: @@ -67035,13 +67196,13 @@ paths: - unknown - direct - transitive - security_advisory: *477 + security_advisory: *479 security_vulnerability: *52 url: *56 html_url: *57 created_at: *55 - updated_at: *149 - dismissed_at: *151 + updated_at: *151 + dismissed_at: *153 dismissed_by: title: Simple User description: A GitHub user. @@ -67065,8 +67226,8 @@ paths: dismissal. nullable: true maxLength: 280 - fixed_at: *150 - auto_dismissed_at: *478 + fixed_at: *152 + auto_dismissed_at: *480 required: - number - state @@ -67296,9 +67457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *327 - - *328 - - &480 + - *329 + - *330 + - &482 name: alert_number in: path description: |- @@ -67313,7 +67474,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *481 examples: default: value: @@ -67426,9 +67587,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *327 - - *328 - - *480 + - *329 + - *330 + - *482 requestBody: required: true content: @@ -67473,7 +67634,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *481 examples: default: value: @@ -67602,8 +67763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -67621,7 +67782,7 @@ paths: type: integer secrets: type: array - items: &483 + items: &485 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67674,16 +67835,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *481 + schema: *483 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67703,15 +67864,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '200': description: Response content: application/json: - schema: *483 + schema: *485 examples: default: value: @@ -67737,9 +67898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 requestBody: required: true content: @@ -67767,7 +67928,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -67791,9 +67952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *327 - - *328 - - *141 + - *329 + - *330 + - *143 responses: '204': description: Response @@ -67815,8 +67976,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -67976,8 +68137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -68216,8 +68377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -68292,7 +68453,7 @@ paths: - version - url additionalProperties: false - metadata: &484 + metadata: &486 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -68325,7 +68486,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *484 + metadata: *486 resolved: type: object description: A collection of resolved package dependencies. @@ -68338,7 +68499,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *484 + metadata: *486 relationship: type: string description: A notation of whether a dependency is requested @@ -68467,8 +68628,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *327 - - *328 + - *329 + - *330 - name: sha description: The SHA recorded at creation time. in: query @@ -68508,9 +68669,9 @@ paths: application/json: schema: type: array - items: *485 + items: *487 examples: - default: *486 + default: *488 headers: Link: *58 x-github: @@ -68576,8 +68737,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -68658,7 +68819,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: simple-example: summary: Simple example @@ -68731,9 +68892,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *327 - - *328 - - &487 + - *329 + - *330 + - &489 name: deployment_id description: deployment_id parameter in: path @@ -68745,7 +68906,7 @@ paths: description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -68810,9 +68971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 responses: '204': description: Response @@ -68834,9 +68995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 - *17 - *19 responses: @@ -68846,7 +69007,7 @@ paths: application/json: schema: type: array - items: &488 + items: &490 title: Deployment Status description: The status of a deployment. type: object @@ -69007,9 +69168,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 requestBody: required: true content: @@ -69084,9 +69245,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: &489 + default: &491 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -69142,9 +69303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *327 - - *328 - - *487 + - *329 + - *330 + - *489 - name: status_id in: path required: true @@ -69155,9 +69316,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *490 examples: - default: *489 + default: *491 '404': *6 x-github: githubCloudOnly: false @@ -69182,8 +69343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -69240,8 +69401,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -69258,7 +69419,7 @@ paths: type: integer environments: type: array - items: &491 + items: &493 title: Environment description: Details of a deployment environment type: object @@ -69310,7 +69471,7 @@ paths: type: type: string example: wait_timer - wait_timer: &493 + wait_timer: &495 type: integer example: 30 description: The amount of time to delay a job after @@ -69347,11 +69508,11 @@ paths: items: type: object properties: - type: *490 + type: *492 reviewer: anyOf: - *4 - - *165 + - *167 required: - id - node_id @@ -69371,7 +69532,7 @@ paths: - id - node_id - type - deployment_branch_policy: &494 + deployment_branch_policy: &496 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -69487,9 +69648,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *327 - - *328 - - &492 + - *329 + - *330 + - &494 name: environment_name in: path required: true @@ -69502,9 +69663,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: &495 + default: &497 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69588,9 +69749,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 requestBody: required: false content: @@ -69599,7 +69760,7 @@ paths: type: object nullable: true properties: - wait_timer: *493 + wait_timer: *495 prevent_self_review: type: boolean example: false @@ -69616,13 +69777,13 @@ paths: items: type: object properties: - type: *490 + type: *492 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *494 + deployment_branch_policy: *496 additionalProperties: false examples: default: @@ -69642,9 +69803,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *493 examples: - default: *495 + default: *497 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69668,9 +69829,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 responses: '204': description: Default response @@ -69695,9 +69856,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 - *17 - *19 responses: @@ -69715,7 +69876,7 @@ paths: example: 2 branch_policies: type: array - items: &496 + items: &498 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69772,9 +69933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 requestBody: required: true content: @@ -69820,9 +69981,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - example-wildcard: &497 + example-wildcard: &499 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69864,10 +70025,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 - - &498 + - *329 + - *330 + - *494 + - &500 name: branch_policy_id in: path required: true @@ -69879,9 +70040,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69900,10 +70061,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 - - *498 + - *329 + - *330 + - *494 + - *500 requestBody: required: true content: @@ -69931,9 +70092,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *498 examples: - default: *497 + default: *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69952,10 +70113,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *327 - - *328 - - *492 - - *498 + - *329 + - *330 + - *494 + - *500 responses: '204': description: Response @@ -69980,9 +70141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *492 - - *328 - - *327 + - *494 + - *330 + - *329 responses: '200': description: List of deployment protection rules @@ -69998,7 +70159,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &499 + items: &501 title: Deployment protection rule description: Deployment protection rule type: object @@ -70017,7 +70178,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &500 + app: &502 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -70116,9 +70277,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *492 - - *328 - - *327 + - *494 + - *330 + - *329 requestBody: content: application/json: @@ -70139,9 +70300,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *499 + schema: *501 examples: - default: &501 + default: &503 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -70176,9 +70337,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *492 - - *328 - - *327 + - *494 + - *330 + - *329 - *19 - *17 responses: @@ -70197,7 +70358,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *500 + items: *502 examples: default: value: @@ -70232,10 +70393,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *327 - - *328 - - *492 - - &502 + - *329 + - *330 + - *494 + - &504 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -70247,9 +70408,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *501 examples: - default: *501 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70270,10 +70431,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *492 - - *328 - - *327 - - *502 + - *494 + - *330 + - *329 + - *504 responses: '204': description: Response @@ -70299,9 +70460,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 - *17 - *19 responses: @@ -70319,9 +70480,9 @@ paths: type: integer secrets: type: array - items: *375 + items: *377 examples: - default: *376 + default: *378 headers: Link: *58 x-github: @@ -70346,17 +70507,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 responses: '200': description: Response content: application/json: - schema: *377 + schema: *379 examples: - default: *378 + default: *380 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70378,18 +70539,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *327 - - *328 - - *492 - - *141 + - *329 + - *330 + - *494 + - *143 responses: '200': description: Response content: application/json: - schema: *375 + schema: *377 examples: - default: *503 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70411,10 +70572,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *327 - - *328 - - *492 - - *141 + - *329 + - *330 + - *494 + - *143 requestBody: required: true content: @@ -70445,7 +70606,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -70471,10 +70632,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *327 - - *328 - - *492 - - *141 + - *329 + - *330 + - *494 + - *143 responses: '204': description: Default response @@ -70499,10 +70660,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *327 - - *328 - - *492 - - *346 + - *329 + - *330 + - *494 + - *348 - *19 responses: '200': @@ -70519,9 +70680,9 @@ paths: type: integer variables: type: array - items: *379 + items: *381 examples: - default: *380 + default: *382 headers: Link: *58 x-github: @@ -70544,9 +70705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *327 - - *328 - - *492 + - *329 + - *330 + - *494 requestBody: required: true content: @@ -70573,7 +70734,7 @@ paths: description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -70598,18 +70759,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *327 - - *328 - - *492 - - *144 + - *329 + - *330 + - *494 + - *146 responses: '200': description: Response content: application/json: - schema: *379 + schema: *381 examples: - default: *504 + default: *506 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70630,10 +70791,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *327 - - *328 - - *144 - - *492 + - *329 + - *330 + - *146 + - *494 requestBody: required: true content: @@ -70675,10 +70836,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *327 - - *328 - - *144 - - *492 + - *329 + - *330 + - *146 + - *494 responses: '204': description: Response @@ -70700,8 +70861,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -70778,8 +70939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *327 - - *328 + - *329 + - *330 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70801,7 +70962,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -70938,8 +71099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -70971,9 +71132,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 '400': *14 '422': *15 '403': *29 @@ -70994,8 +71155,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71054,8 +71215,8 @@ paths: application/json: schema: oneOf: - - *107 - - *505 + - *109 + - *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71080,8 +71241,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *327 - - *328 + - *329 + - *330 - name: file_sha in: path required: true @@ -71180,8 +71341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71290,7 +71451,7 @@ paths: description: Response content: application/json: - schema: &506 + schema: &508 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71504,15 +71665,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *327 - - *328 - - *461 + - *329 + - *330 + - *463 responses: '200': description: Response content: application/json: - schema: *506 + schema: *508 examples: default: value: @@ -71568,9 +71729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *327 - - *328 - - &507 + - *329 + - *330 + - &509 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. @@ -71587,7 +71748,7 @@ paths: application/json: schema: type: array - items: &508 + items: &510 title: Git Reference description: Git references within a repository type: object @@ -71662,17 +71823,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *327 - - *328 - - *507 + - *329 + - *330 + - *509 responses: '200': description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: &509 + default: &511 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71701,8 +71862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71731,9 +71892,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *509 + default: *511 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -71759,9 +71920,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *327 - - *328 - - *507 + - *329 + - *330 + - *509 requestBody: required: true content: @@ -71790,9 +71951,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *510 examples: - default: *509 + default: *511 '422': *15 '409': *47 x-github: @@ -71810,9 +71971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *327 - - *328 - - *507 + - *329 + - *330 + - *509 responses: '204': description: Response @@ -71867,8 +72028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -71935,7 +72096,7 @@ paths: description: Response content: application/json: - schema: &511 + schema: &513 title: Git Tag description: Metadata for a Git tag type: object @@ -71986,7 +72147,7 @@ paths: - sha - type - url - verification: *510 + verification: *512 required: - sha - url @@ -71996,7 +72157,7 @@ paths: - tag - message examples: - default: &512 + default: &514 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -72069,8 +72230,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *327 - - *328 + - *329 + - *330 - name: tag_sha in: path required: true @@ -72081,9 +72242,9 @@ paths: description: Response content: application/json: - schema: *511 + schema: *513 examples: - default: *512 + default: *514 '404': *6 '409': *47 x-github: @@ -72107,8 +72268,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -72181,7 +72342,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &515 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -72277,8 +72438,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *327 - - *328 + - *329 + - *330 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72301,7 +72462,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *515 examples: default-response: summary: Default response @@ -72360,8 +72521,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -72371,7 +72532,7 @@ paths: application/json: schema: type: array - items: &514 + items: &516 title: Webhook description: Webhooks for repositories. type: object @@ -72425,7 +72586,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &744 + last_response: &747 title: Hook Response type: object properties: @@ -72499,8 +72660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -72552,9 +72713,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: &515 + default: &517 value: type: Repository id: 12345678 @@ -72602,17 +72763,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '200': description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '404': *6 x-github: githubCloudOnly: false @@ -72632,9 +72793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 requestBody: required: true content: @@ -72679,9 +72840,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *516 examples: - default: *515 + default: *517 '422': *15 '404': *6 x-github: @@ -72702,9 +72863,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '204': description: Response @@ -72728,9 +72889,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '200': description: Response @@ -72757,9 +72918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 requestBody: required: false content: @@ -72803,11 +72964,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 - *17 - - *184 + - *186 responses: '200': description: Response @@ -72815,9 +72976,9 @@ paths: application/json: schema: type: array - items: *185 + items: *187 examples: - default: *186 + default: *188 '400': *14 '422': *15 x-github: @@ -72836,18 +72997,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 - *16 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 '400': *14 '422': *15 x-github: @@ -72866,9 +73027,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 - *16 responses: '202': *39 @@ -72891,9 +73052,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '204': description: Response @@ -72918,9 +73079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *327 - - *328 - - *183 + - *329 + - *330 + - *185 responses: '204': description: Response @@ -72978,14 +73139,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &516 + schema: &518 title: Import description: A repository import from an external source. type: object @@ -73084,7 +73245,7 @@ paths: - html_url - authors_url examples: - default: &519 + default: &521 value: vcs: subversion use_lfs: true @@ -73100,7 +73261,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &517 + '503': &519 description: Unavailable due to service under maintenance. content: application/json: @@ -73129,8 +73290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73178,7 +73339,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: default: value: @@ -73203,7 +73364,7 @@ paths: type: string '422': *15 '404': *6 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73231,8 +73392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -73281,7 +73442,7 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: example-1: summary: Example 1 @@ -73329,7 +73490,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': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73352,12 +73513,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73383,9 +73544,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *327 - - *328 - - &682 + - *329 + - *330 + - &684 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73399,7 +73560,7 @@ paths: application/json: schema: type: array - items: &518 + items: &520 title: Porter Author description: Porter Author type: object @@ -73453,7 +73614,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73478,8 +73639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *327 - - *328 + - *329 + - *330 - name: author_id in: path required: true @@ -73509,7 +73670,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *520 examples: default: value: @@ -73522,7 +73683,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73546,8 +73707,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -73588,7 +73749,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73616,8 +73777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -73644,11 +73805,11 @@ paths: description: Response content: application/json: - schema: *516 + schema: *518 examples: - default: *519 + default: *521 '422': *15 - '503': *517 + '503': *519 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73671,8 +73832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -73680,8 +73841,8 @@ paths: application/json: schema: *22 examples: - default: *520 - '301': *336 + default: *522 + '301': *338 '404': *6 x-github: githubCloudOnly: false @@ -73701,8 +73862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -73710,12 +73871,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: &522 + default: &524 value: limit: collaborators_only origin: repository @@ -73740,13 +73901,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: application/json: - schema: *521 + schema: *523 examples: default: summary: Example request body @@ -73758,9 +73919,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *522 + default: *524 '409': description: Response x-github: @@ -73782,8 +73943,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -73806,8 +73967,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -73817,9 +73978,9 @@ paths: application/json: schema: type: array - items: *523 + items: *525 examples: - default: &675 + default: &677 value: - id: 1 repository: @@ -73950,9 +74111,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *207 requestBody: required: false content: @@ -73981,7 +74142,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *525 examples: default: value: @@ -74112,9 +74273,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *327 - - *328 - - *205 + - *329 + - *330 + - *207 responses: '204': description: Response @@ -74145,8 +74306,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *327 - - *328 + - *329 + - *330 - 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 @@ -74194,7 +74355,7 @@ paths: required: false schema: type: string - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -74219,7 +74380,7 @@ paths: type: array items: *84 examples: - default: &532 + default: &534 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74367,7 +74528,7 @@ paths: state_reason: completed headers: Link: *58 - '301': *336 + '301': *338 '422': *15 '404': *6 x-github: @@ -74396,8 +74557,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -74481,7 +74642,7 @@ paths: application/json: schema: *84 examples: - default: &529 + default: &531 value: id: 1 node_id: MDU6SXNzdWUx @@ -74637,7 +74798,7 @@ paths: '422': *15 '503': *72 '404': *6 - '410': *333 + '410': *335 x-github: triggersNotification: true githubCloudOnly: false @@ -74665,8 +74826,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *94 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74687,9 +74848,9 @@ paths: application/json: schema: type: array - items: *524 + items: *526 examples: - default: &531 + default: &533 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74747,17 +74908,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '200': description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: &525 + default: &527 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74811,8 +74972,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -74835,9 +74996,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 '422': *15 x-github: githubCloudOnly: false @@ -74855,8 +75016,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '204': @@ -74877,8 +75038,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74905,9 +75066,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -74928,8 +75089,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -74962,16 +75123,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -74993,10 +75154,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *83 - - *323 + - *325 responses: '204': description: Response @@ -75016,8 +75177,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -75027,7 +75188,7 @@ paths: application/json: schema: type: array - items: &528 + items: &530 title: Issue Event description: Issue Event type: object @@ -75070,8 +75231,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *526 - required: *527 + properties: *528 + required: *529 nullable: true label: title: Issue Event Label @@ -75115,7 +75276,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *165 + requested_team: *167 dismissed_review: title: Issue Event Dismissed Review type: object @@ -75378,8 +75539,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *327 - - *328 + - *329 + - *330 - name: event_id in: path required: true @@ -75390,7 +75551,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *530 examples: default: value: @@ -75583,7 +75744,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *333 + '410': *335 '403': *29 x-github: githubCloudOnly: false @@ -75617,9 +75778,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *327 - - *328 - - &530 + - *329 + - *330 + - &532 name: issue_number description: The number that identifies the issue. in: path @@ -75633,10 +75794,10 @@ paths: application/json: schema: *84 examples: - default: *529 - '301': *336 + default: *531 + '301': *338 '404': *6 - '410': *333 + '410': *335 '304': *37 x-github: githubCloudOnly: false @@ -75661,9 +75822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -75769,13 +75930,13 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 '422': *15 '503': *72 '403': *29 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75793,9 +75954,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -75823,7 +75984,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75839,9 +76000,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: content: application/json: @@ -75868,7 +76029,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75890,9 +76051,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: assignee in: path required: true @@ -75932,9 +76093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *74 - *17 - *19 @@ -75945,13 +76106,13 @@ paths: application/json: schema: type: array - items: *524 + items: *526 examples: - default: *531 + default: *533 headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75980,9 +76141,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -76004,16 +76165,16 @@ paths: description: Response content: application/json: - schema: *524 + schema: *526 examples: - default: *525 + default: *527 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *333 + '410': *335 '422': *15 '404': *6 x-github: @@ -76041,9 +76202,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -76055,12 +76216,12 @@ paths: type: array items: *84 examples: - default: *532 + default: *534 headers: Link: *58 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76088,9 +76249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -76114,15 +76275,15 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *336 + '301': *338 '403': *29 - '410': *333 + '410': *335 '422': *15 '404': *6 x-github: @@ -76153,9 +76314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -76169,13 +76330,13 @@ paths: application/json: schema: *84 examples: - default: *529 - '301': *336 + default: *531 + '301': *338 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *333 + '410': *335 x-github: triggersNotification: true githubCloudOnly: false @@ -76201,9 +76362,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -76215,12 +76376,12 @@ paths: type: array items: *84 examples: - default: *532 + default: *534 headers: Link: *58 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76237,9 +76398,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -76253,7 +76414,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &535 + - &537 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -76307,7 +76468,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &536 + - &538 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76443,7 +76604,7 @@ paths: - performed_via_github_app - assignee - assigner - - &537 + - &539 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76494,7 +76655,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &538 + - &540 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76545,7 +76706,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &539 + - &541 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76599,7 +76760,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &540 + - &542 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76633,7 +76794,7 @@ paths: properties: *68 required: *69 review_requester: *4 - requested_team: *165 + requested_team: *167 requested_reviewer: *4 required: - review_requester @@ -76646,7 +76807,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &541 + - &543 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76680,7 +76841,7 @@ paths: properties: *68 required: *69 review_requester: *4 - requested_team: *165 + requested_team: *167 requested_reviewer: *4 required: - review_requester @@ -76693,7 +76854,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &542 + - &544 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76753,7 +76914,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &543 + - &545 title: Locked Issue Event description: Locked Issue Event type: object @@ -76801,7 +76962,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &544 + - &546 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76867,7 +77028,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &545 + - &547 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76933,7 +77094,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &546 + - &548 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76999,7 +77160,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &547 + - &549 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -77090,7 +77251,7 @@ paths: color: red headers: Link: *58 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77107,9 +77268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -77119,7 +77280,7 @@ paths: application/json: schema: type: array - items: &533 + items: &535 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -77166,7 +77327,7 @@ paths: - color - default examples: - default: &534 + default: &536 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -77184,9 +77345,9 @@ paths: default: false headers: Link: *58 - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77203,9 +77364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -77264,12 +77425,12 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 - '301': *336 + default: *536 + '301': *338 '404': *6 - '410': *333 + '410': *335 '422': *15 x-github: githubCloudOnly: false @@ -77286,9 +77447,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -77348,12 +77509,12 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 - '301': *336 + default: *536 + '301': *338 '404': *6 - '410': *333 + '410': *335 '422': *15 x-github: githubCloudOnly: false @@ -77370,15 +77531,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 responses: '204': description: Response - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77397,9 +77558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: name in: path required: true @@ -77412,7 +77573,7 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: default: value: @@ -77423,9 +77584,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *336 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77445,9 +77606,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: false content: @@ -77475,7 +77636,7 @@ paths: '204': description: Response '403': *29 - '410': *333 + '410': *335 '404': *6 '422': *15 x-github: @@ -77493,9 +77654,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 responses: '204': description: Response @@ -77525,9 +77686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 responses: '200': description: Response @@ -77535,10 +77696,10 @@ paths: application/json: schema: *84 examples: - default: *529 - '301': *336 + default: *531 + '301': *338 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77555,9 +77716,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -77583,13 +77744,13 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77607,9 +77768,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77641,16 +77802,16 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -77672,10 +77833,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *327 - - *328 - - *530 - - *323 + - *329 + - *330 + - *532 + - *325 responses: '204': description: Response @@ -77704,9 +77865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77730,7 +77891,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77763,9 +77924,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -77777,11 +77938,11 @@ paths: type: array items: *84 examples: - default: *532 + default: *534 headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77809,9 +77970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77840,14 +78001,14 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *333 + '410': *335 '422': *15 '404': *6 x-github: @@ -77867,9 +78028,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 requestBody: required: true content: @@ -77902,7 +78063,7 @@ paths: application/json: schema: *84 examples: - default: *529 + default: *531 '403': *29 '404': *6 '422': *7 @@ -77924,9 +78085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *327 - - *328 - - *530 + - *329 + - *330 + - *532 - *17 - *19 responses: @@ -77941,8 +78102,6 @@ paths: description: Timeline Event type: object anyOf: - - *535 - - *536 - *537 - *538 - *539 @@ -77954,6 +78113,8 @@ paths: - *545 - *546 - *547 + - *548 + - *549 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -78262,7 +78423,7 @@ paths: type: string comments: type: array - items: &567 + items: &569 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -78471,7 +78632,7 @@ paths: type: string comments: type: array - items: *459 + items: *461 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78760,7 +78921,7 @@ paths: headers: Link: *58 '404': *6 - '410': *333 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78777,8 +78938,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -78788,7 +78949,7 @@ paths: application/json: schema: type: array - items: &548 + items: &550 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78854,8 +79015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -78891,9 +79052,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: &549 + default: &551 value: id: 1 key: ssh-rsa AAA... @@ -78927,9 +79088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *327 - - *328 - - &550 + - *329 + - *330 + - &552 name: key_id description: The unique identifier of the key. in: path @@ -78941,9 +79102,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *550 examples: - default: *549 + default: *551 '404': *6 x-github: githubCloudOnly: false @@ -78961,9 +79122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *327 - - *328 - - *550 + - *329 + - *330 + - *552 responses: '204': description: Response @@ -78983,8 +79144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -78994,9 +79155,9 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 + default: *536 headers: Link: *58 '404': *6 @@ -79017,8 +79178,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79054,9 +79215,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: &551 + default: &553 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79088,8 +79249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -79100,9 +79261,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: - default: *551 + default: *553 '404': *6 x-github: githubCloudOnly: false @@ -79119,8 +79280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -79159,7 +79320,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *535 examples: default: value: @@ -79185,8 +79346,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *327 - - *328 + - *329 + - *330 - name: name in: path required: true @@ -79212,8 +79373,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -79252,9 +79413,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *327 - - *328 - - *435 + - *329 + - *330 + - *437 responses: '200': description: Response @@ -79399,8 +79560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79465,8 +79626,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79500,9 +79661,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *460 + schema: *462 examples: - default: *552 + default: *554 '204': description: Response when already merged '404': @@ -79527,8 +79688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79569,12 +79730,12 @@ paths: application/json: schema: type: array - items: &553 + items: &555 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 examples: default: value: @@ -79630,8 +79791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -79671,9 +79832,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: &554 + default: &556 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79732,9 +79893,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *327 - - *328 - - &555 + - *329 + - *330 + - &557 name: milestone_number description: The number that identifies the milestone. in: path @@ -79746,9 +79907,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 '404': *6 x-github: githubCloudOnly: false @@ -79765,9 +79926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *327 - - *328 - - *555 + - *329 + - *330 + - *557 requestBody: required: false content: @@ -79805,9 +79966,9 @@ paths: description: Response content: application/json: - schema: *553 + schema: *555 examples: - default: *554 + default: *556 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79823,9 +79984,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *327 - - *328 - - *555 + - *329 + - *330 + - *557 responses: '204': description: Response @@ -79846,9 +80007,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *327 - - *328 - - *555 + - *329 + - *330 + - *557 - *17 - *19 responses: @@ -79858,9 +80019,9 @@ paths: application/json: schema: type: array - items: *533 + items: *535 examples: - default: *534 + default: *536 headers: Link: *58 x-github: @@ -79879,12 +80040,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *327 - - *328 - - *556 - - *557 - - *74 + - *329 + - *330 - *558 + - *559 + - *74 + - *560 - *17 - *19 responses: @@ -79896,7 +80057,7 @@ paths: type: array items: *97 examples: - default: *559 + default: *561 headers: Link: *58 x-github: @@ -79920,8 +80081,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -79979,14 +80140,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: &560 + schema: &562 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -80111,7 +80272,7 @@ paths: - custom_404 - public examples: - default: &561 + default: &563 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -80152,8 +80313,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -80207,9 +80368,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *562 examples: - default: *561 + default: *563 '422': *15 '409': *47 x-github: @@ -80232,8 +80393,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -80332,8 +80493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -80359,8 +80520,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -80370,7 +80531,7 @@ paths: application/json: schema: type: array - items: &562 + items: &564 title: Page Build description: Page Build type: object @@ -80464,8 +80625,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '201': description: Response @@ -80510,16 +80671,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: &563 + default: &565 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -80567,8 +80728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *327 - - *328 + - *329 + - *330 - name: build_id in: path required: true @@ -80579,9 +80740,9 @@ paths: description: Response content: application/json: - schema: *562 + schema: *564 examples: - default: *563 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80601,8 +80762,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -80707,9 +80868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *327 - - *328 - - &564 + - *329 + - *330 + - &566 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80767,11 +80928,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *327 - - *328 - - *564 + - *329 + - *330 + - *566 responses: - '204': *159 + '204': *161 '404': *6 x-github: githubCloudOnly: false @@ -80796,8 +80957,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -81028,7 +81189,7 @@ paths: description: Empty response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -81055,8 +81216,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Private vulnerability reporting status @@ -81093,10 +81254,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: - '204': *159 + '204': *161 '422': *14 x-github: githubCloudOnly: false @@ -81115,10 +81276,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: - '204': *159 + '204': *161 '422': *14 x-github: githubCloudOnly: false @@ -81139,8 +81300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: Indicates the state of the projects to return. in: query @@ -81161,7 +81322,7 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: value: @@ -81201,7 +81362,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *333 + '410': *335 '422': *7 x-github: githubCloudOnly: false @@ -81224,8 +81385,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81251,13 +81412,13 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: - default: *332 + default: *334 '401': *25 '403': *29 '404': *6 - '410': *333 + '410': *335 '422': *7 x-github: githubCloudOnly: false @@ -81280,8 +81441,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -81289,7 +81450,7 @@ paths: application/json: schema: type: array - items: *259 + items: *261 examples: default: value: @@ -81320,8 +81481,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81333,7 +81494,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *259 + items: *261 required: - properties examples: @@ -81383,8 +81544,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *327 - - *328 + - *329 + - *330 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81444,9 +81605,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: *565 + default: *567 headers: Link: *58 '304': *37 @@ -81478,8 +81639,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -81544,7 +81705,7 @@ paths: description: Response content: application/json: - schema: &569 + schema: &571 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81655,8 +81816,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 nullable: true active_lock_reason: type: string @@ -81701,7 +81862,7 @@ paths: nullable: true requested_teams: type: array - items: *305 + items: *307 nullable: true head: type: object @@ -81740,14 +81901,14 @@ paths: _links: type: object properties: - comments: *249 - commits: *249 - statuses: *249 - html: *249 - issue: *249 - review_comments: *249 - review_comment: *249 - self: *249 + comments: *251 + commits: *251 + statuses: *251 + html: *251 + issue: *251 + review_comments: *251 + review_comment: *251 + self: *251 required: - comments - commits @@ -81758,7 +81919,7 @@ paths: - review_comment - self author_association: *70 - auto_merge: *566 + auto_merge: *568 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -81850,7 +82011,7 @@ paths: - merged_by - review_comments examples: - default: &570 + default: &572 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -82377,8 +82538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: sort in: query required: false @@ -82407,9 +82568,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: &572 + default: &574 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82486,17 +82647,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '200': description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: &568 + default: &570 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82571,8 +82732,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -82595,9 +82756,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: - default: *568 + default: *570 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82613,8 +82774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 + - *329 + - *330 - *83 responses: '204': @@ -82636,8 +82797,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -82664,9 +82825,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -82687,8 +82848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *327 - - *328 + - *329 + - *330 - *83 requestBody: required: true @@ -82721,16 +82882,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -82752,10 +82913,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *327 - - *328 + - *329 + - *330 - *83 - - *323 + - *325 responses: '204': description: Response @@ -82798,9 +82959,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *327 - - *328 - - &571 + - *329 + - *330 + - &573 name: pull_number description: The number that identifies the pull request. in: path @@ -82813,9 +82974,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '304': *37 '404': *6 '406': @@ -82850,9 +83011,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -82894,9 +83055,9 @@ paths: description: Response content: application/json: - schema: *569 + schema: *571 examples: - default: *570 + default: *572 '422': *15 '403': *29 x-github: @@ -82918,9 +83079,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: true content: @@ -82980,17 +83141,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '401': *25 '403': *29 '404': *6 @@ -83020,9 +83181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *94 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -83043,9 +83204,9 @@ paths: application/json: schema: type: array - items: *567 + items: *569 examples: - default: *572 + default: *574 headers: Link: *58 x-github: @@ -83078,9 +83239,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: true content: @@ -83185,7 +83346,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: example-for-a-multi-line-comment: value: @@ -83273,9 +83434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *83 requestBody: required: true @@ -83298,7 +83459,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *569 examples: default: value: @@ -83384,9 +83545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *17 - *19 responses: @@ -83396,9 +83557,9 @@ paths: application/json: schema: type: array - items: *460 + items: *462 examples: - default: *573 + default: *575 headers: Link: *58 x-github: @@ -83428,9 +83589,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *17 - *19 responses: @@ -83440,7 +83601,7 @@ paths: application/json: schema: type: array - items: *473 + items: *475 examples: default: value: @@ -83478,9 +83639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 responses: '204': description: Response if pull request has been merged @@ -83503,9 +83664,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -83616,9 +83777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 responses: '200': description: Response @@ -83634,7 +83795,7 @@ paths: items: *4 teams: type: array - items: *165 + items: *167 required: - users - teams @@ -83693,9 +83854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -83732,7 +83893,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -84268,9 +84429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: true content: @@ -84304,7 +84465,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -84809,9 +84970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 - *17 - *19 responses: @@ -84821,7 +84982,7 @@ paths: application/json: schema: type: array - items: &574 + items: &576 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84972,9 +85133,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -85060,9 +85221,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &576 + default: &578 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85125,10 +85286,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - &575 + - *329 + - *330 + - *573 + - &577 name: review_id description: The unique identifier of the review. in: path @@ -85140,9 +85301,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: &577 + default: &579 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -85201,10 +85362,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 requestBody: required: true content: @@ -85227,7 +85388,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -85289,18 +85450,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *576 + default: *578 '422': *7 '404': *6 x-github: @@ -85327,10 +85488,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 - *17 - *19 responses: @@ -85413,9 +85574,9 @@ paths: _links: type: object properties: - self: *249 - html: *249 - pull_request: *249 + self: *251 + html: *251 + pull_request: *251 required: - self - html @@ -85565,10 +85726,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 requestBody: required: true content: @@ -85596,7 +85757,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: default: value: @@ -85659,10 +85820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *327 - - *328 - - *571 - - *575 + - *329 + - *330 + - *573 + - *577 requestBody: required: true content: @@ -85697,9 +85858,9 @@ paths: description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *577 + default: *579 '404': *6 '422': *7 '403': *29 @@ -85721,9 +85882,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *327 - - *328 - - *571 + - *329 + - *330 + - *573 requestBody: required: false content: @@ -85786,8 +85947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *327 - - *328 + - *329 + - *330 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85800,9 +85961,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: &579 + default: &581 value: type: file encoding: base64 @@ -85844,8 +86005,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *327 - - *328 + - *329 + - *330 - name: dir description: The alternate path to look for a README file in: path @@ -85865,9 +86026,9 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: - default: *579 + default: *581 '404': *6 '422': *15 x-github: @@ -85889,8 +86050,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -85900,7 +86061,7 @@ paths: application/json: schema: type: array - items: &580 + items: &582 title: Release description: A release. type: object @@ -85971,7 +86132,7 @@ paths: author: *4 assets: type: array - items: &581 + items: &583 title: Release Asset description: Data related to a release. type: object @@ -86158,8 +86319,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -86235,9 +86396,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: &584 + default: &586 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -86342,9 +86503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *327 - - *328 - - &582 + - *329 + - *330 + - &584 name: asset_id description: The unique identifier of the asset. in: path @@ -86356,9 +86517,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: &583 + default: &585 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 @@ -86393,7 +86554,7 @@ paths: type: User site_admin: false '404': *6 - '302': *475 + '302': *477 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86409,9 +86570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *327 - - *328 - - *582 + - *329 + - *330 + - *584 requestBody: required: false content: @@ -86439,9 +86600,9 @@ paths: description: Response content: application/json: - schema: *581 + schema: *583 examples: - default: *583 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86457,9 +86618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *327 - - *328 - - *582 + - *329 + - *330 + - *584 responses: '204': description: Response @@ -86483,8 +86644,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -86569,16 +86730,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86595,8 +86756,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *327 - - *328 + - *329 + - *330 - name: tag description: tag parameter in: path @@ -86609,9 +86770,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': *6 x-github: githubCloudOnly: false @@ -86633,9 +86794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *327 - - *328 - - &585 + - *329 + - *330 + - &587 name: release_id description: The unique identifier of the release. in: path @@ -86649,9 +86810,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '401': description: Unauthorized x-github: @@ -86669,9 +86830,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 requestBody: required: false content: @@ -86735,9 +86896,9 @@ paths: description: Response content: application/json: - schema: *580 + schema: *582 examples: - default: *584 + default: *586 '404': description: Not Found if the discussion category name is invalid content: @@ -86758,9 +86919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 responses: '204': description: Response @@ -86780,9 +86941,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 - *17 - *19 responses: @@ -86792,7 +86953,7 @@ paths: application/json: schema: type: array - items: *581 + items: *583 examples: default: value: @@ -86873,9 +87034,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: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 - name: name in: query required: true @@ -86901,7 +87062,7 @@ paths: description: Response for successful upload content: application/json: - schema: *581 + schema: *583 examples: response-for-successful-upload: value: @@ -86956,9 +87117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -86982,9 +87143,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 '404': *6 @@ -87005,9 +87166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *327 - - *328 - - *585 + - *329 + - *330 + - *587 requestBody: required: true content: @@ -87037,16 +87198,16 @@ paths: description: Reaction exists content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '201': description: Reaction created content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 '422': *15 x-github: githubCloudOnly: false @@ -87068,10 +87229,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *327 - - *328 - - *585 - - *323 + - *329 + - *330 + - *587 + - *325 responses: '204': description: Response @@ -87095,9 +87256,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *327 - - *328 - - *397 + - *329 + - *330 + - *399 - *17 - *19 responses: @@ -87113,8 +87274,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *268 - - &586 + - *270 + - &588 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -87133,69 +87294,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *269 - - *586 - - allOf: - - *270 - - *586 - allOf: - *271 - - *586 - - allOf: - - *587 - - *586 + - *588 - allOf: - *272 - - *586 + - *588 - allOf: - *273 - - *586 + - *588 + - allOf: + - *589 + - *588 - allOf: - *274 - - *586 + - *588 - allOf: - *275 - - *586 + - *588 - allOf: - *276 - - *586 + - *588 - allOf: - *277 - - *586 + - *588 - allOf: - *278 - - *586 + - *588 - allOf: - *279 - - *586 + - *588 - allOf: - *280 - - *586 + - *588 - allOf: - *281 - - *586 + - *588 - allOf: - *282 - - *586 + - *588 - allOf: - *283 - - *586 + - *588 - allOf: - *284 - - *586 + - *588 - allOf: - *285 - - *586 + - *588 - allOf: - *286 - - *586 + - *588 - allOf: - *287 - - *586 + - *588 + - allOf: + - *288 + - *588 - allOf: + - *289 + - *588 + - allOf: + - *590 - *588 - - *586 examples: default: value: @@ -87234,8 +87395,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: includes_parents @@ -87246,7 +87407,7 @@ paths: schema: type: boolean default: true - - *589 + - *591 responses: '200': description: Response @@ -87254,7 +87415,7 @@ paths: application/json: schema: type: array - items: *288 + items: *290 examples: default: value: @@ -87301,8 +87462,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 requestBody: description: Request body required: true @@ -87322,16 +87483,16 @@ paths: - tag - push default: branch - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *263 + items: *268 + conditions: *265 rules: type: array description: An array of rules within the ruleset. - items: *590 + items: *592 required: - name - enforcement @@ -87362,9 +87523,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: &600 + default: &602 value: id: 42 name: super cool ruleset @@ -87411,12 +87572,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *327 - - *328 - - *591 - - *592 + - *329 + - *330 - *593 - *594 + - *595 + - *596 - *17 - *19 responses: @@ -87424,9 +87585,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *597 examples: - default: *596 + default: *598 '404': *6 '500': *104 x-github: @@ -87447,17 +87608,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *327 - - *328 - - *597 + - *329 + - *330 + - *599 responses: '200': description: Response content: application/json: - schema: *598 + schema: *600 examples: - default: *599 + default: *601 '404': *6 '500': *104 x-github: @@ -87485,8 +87646,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87506,9 +87667,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *600 + default: *602 '404': *6 '500': *104 put: @@ -87526,8 +87687,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87552,16 +87713,16 @@ paths: - branch - tag - push - enforcement: *265 + enforcement: *267 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *266 - conditions: *263 + items: *268 + conditions: *265 rules: description: An array of rules within the ruleset. type: array - items: *590 + items: *592 examples: default: value: @@ -87589,9 +87750,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *290 examples: - default: *600 + default: *602 '404': *6 '500': *104 delete: @@ -87609,8 +87770,8 @@ paths: category: repos subcategory: rules parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87633,8 +87794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 - name: ruleset_id @@ -87650,9 +87811,9 @@ paths: application/json: schema: type: array - items: *291 + items: *293 examples: - default: *601 + default: *603 '404': *6 '500': *104 x-github: @@ -87671,8 +87832,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *327 - - *328 + - *329 + - *330 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87690,7 +87851,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *604 examples: default: value: @@ -87745,21 +87906,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *327 - - *328 - - *292 - - *293 + - *329 + - *330 - *294 - *295 + - *296 + - *297 - *48 - *19 - *17 - - *603 - - *604 - - *296 - - *297 + - *605 + - *606 - *298 - *299 + - *300 + - *301 responses: '200': description: Response @@ -87767,7 +87928,7 @@ paths: application/json: schema: type: array - items: &608 + items: &610 type: object properties: number: *54 @@ -87786,8 +87947,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *605 - resolution: *606 + state: *607 + resolution: *608 resolved_at: type: string format: date-time @@ -87883,7 +88044,7 @@ paths: pull request. ' - oneOf: *607 + oneOf: *609 nullable: true has_more_locations: type: boolean @@ -88006,16 +88167,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *327 - - *328 - - *429 - - *299 + - *329 + - *330 + - *431 + - *301 responses: '200': description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -88067,9 +88228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 requestBody: required: true content: @@ -88077,8 +88238,8 @@ paths: schema: type: object properties: - state: *605 - resolution: *606 + state: *607 + resolution: *608 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -88096,7 +88257,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -88171,9 +88332,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *327 - - *328 - - *429 + - *329 + - *330 + - *431 - *19 - *17 responses: @@ -88184,7 +88345,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &766 + items: &769 type: object properties: type: @@ -88210,8 +88371,6 @@ paths: example: commit details: oneOf: - - *609 - - *610 - *611 - *612 - *613 @@ -88223,6 +88382,8 @@ paths: - *619 - *620 - *621 + - *622 + - *623 examples: default: value: @@ -88308,8 +88469,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88317,14 +88478,14 @@ paths: schema: type: object properties: - reason: &623 + reason: &625 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *622 + placeholder_id: *624 required: - reason - placeholder_id @@ -88341,7 +88502,7 @@ paths: schema: type: object properties: - reason: *623 + reason: *625 expire_at: type: string format: date-time @@ -88384,8 +88545,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -88400,7 +88561,7 @@ paths: properties: incremental_scans: type: array - items: &624 + items: &626 description: Information on a single scan performed by secret scanning on the repository type: object @@ -88426,15 +88587,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *624 + items: *626 backfill_scans: type: array - items: *624 + items: *626 custom_pattern_backfill_scans: type: array items: allOf: - - *624 + - *626 - type: object properties: pattern_name: @@ -88504,8 +88665,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *327 - - *328 + - *329 + - *330 - *48 - name: sort description: The property to sort the results by. @@ -88549,9 +88710,9 @@ paths: application/json: schema: type: array - items: *625 + items: *627 examples: - default: *626 + default: *628 '400': *14 '404': *6 x-github: @@ -88574,8 +88735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -88648,7 +88809,7 @@ paths: login: type: string description: The username of the user credited. - type: *304 + type: *306 required: - login - type @@ -88735,9 +88896,9 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: &628 + default: &630 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88970,8 +89131,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -89075,7 +89236,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: default: value: @@ -89222,17 +89383,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 responses: '200': description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *628 + default: *630 '403': *29 '404': *6 x-github: @@ -89256,9 +89417,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 requestBody: required: true content: @@ -89331,7 +89492,7 @@ paths: login: type: string description: The username of the user credited. - type: *304 + type: *306 required: - login - type @@ -89417,17 +89578,17 @@ paths: description: Response content: application/json: - schema: *625 + schema: *627 examples: - default: *628 - add_credit: *628 + default: *630 + add_credit: *630 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *107 + schema: *109 examples: invalid_state_transition: value: @@ -89458,9 +89619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 responses: '202': *39 '400': *14 @@ -89487,17 +89648,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *327 - - *328 - - *627 + - *329 + - *330 + - *629 responses: '202': description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 '400': *14 '422': *15 '403': *29 @@ -89523,8 +89684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -89623,8 +89784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89633,7 +89794,7 @@ paths: application/json: schema: type: array - items: &629 + items: &631 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89646,7 +89807,7 @@ paths: - 1124 - -435 '202': *39 - '204': *159 + '204': *161 '422': description: Repository contains more than 10,000 commits x-github: @@ -89666,8 +89827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -89716,7 +89877,7 @@ paths: total: 89 week: 1336280400 '202': *39 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89743,8 +89904,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -89818,7 +89979,7 @@ paths: d: 77 c: 10 '202': *39 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89840,8 +90001,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89995,8 +90156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -90006,7 +90167,7 @@ paths: application/json: schema: type: array - items: *629 + items: *631 examples: default: value: @@ -90019,7 +90180,7 @@ paths: - - 0 - 2 - 21 - '204': *159 + '204': *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90039,8 +90200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *327 - - *328 + - *329 + - *330 - name: sha in: path required: true @@ -90094,7 +90255,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -90148,8 +90309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -90181,14 +90342,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &631 + schema: &633 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90256,8 +90417,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: false content: @@ -90283,7 +90444,7 @@ paths: description: Response content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -90310,8 +90471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -90331,8 +90492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -90411,8 +90572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -90420,7 +90581,7 @@ paths: application/json: schema: type: array - items: &632 + items: &634 title: Tag protection description: Tag protection type: object @@ -90472,8 +90633,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -90496,7 +90657,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *634 examples: default: value: @@ -90527,8 +90688,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90565,8 +90726,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -90602,8 +90763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *327 - - *328 + - *329 + - *330 - *17 - *19 responses: @@ -90613,9 +90774,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - default: *224 + default: *226 headers: Link: *58 '404': *6 @@ -90635,8 +90796,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 - *19 - *17 responses: @@ -90644,7 +90805,7 @@ paths: description: Response content: application/json: - schema: &633 + schema: &635 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90656,7 +90817,7 @@ paths: required: - names examples: - default: &634 + default: &636 value: names: - octocat @@ -90679,8 +90840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -90711,9 +90872,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: - default: *634 + default: *636 '404': *6 '422': *7 x-github: @@ -90734,9 +90895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *327 - - *328 - - &635 + - *329 + - *330 + - &637 name: per description: The time frame to display results for. in: query @@ -90765,7 +90926,7 @@ paths: example: 128 clones: type: array - items: &636 + items: &638 title: Traffic type: object properties: @@ -90852,8 +91013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -90943,8 +91104,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *327 - - *328 + - *329 + - *330 responses: '200': description: Response @@ -91004,9 +91165,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *327 - - *328 - - *635 + - *329 + - *330 + - *637 responses: '200': description: Response @@ -91025,7 +91186,7 @@ paths: example: 3782 views: type: array - items: *636 + items: *638 required: - uniques - count @@ -91102,8 +91263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *327 - - *328 + - *329 + - *330 requestBody: required: true content: @@ -91139,7 +91300,7 @@ paths: description: Response content: application/json: - schema: *133 + schema: *135 examples: default: value: @@ -91377,8 +91538,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91401,8 +91562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -91424,8 +91585,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -91451,8 +91612,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *327 - - *328 + - *329 + - *330 - name: ref in: path required: true @@ -91544,9 +91705,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91587,7 +91748,7 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: default: value: @@ -91776,7 +91937,7 @@ paths: html_url: type: string format: uri - repository: *133 + repository: *135 score: type: number file_size: @@ -91794,7 +91955,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &637 + text_matches: &639 title: Search Result Text Matches type: array items: @@ -91956,7 +92117,7 @@ paths: enum: - author-date - committer-date - - &638 + - &640 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 @@ -92027,7 +92188,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *395 + properties: *397 nullable: true comment_count: type: integer @@ -92047,7 +92208,7 @@ paths: url: type: string format: uri - verification: *510 + verification: *512 required: - author - committer @@ -92066,7 +92227,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *395 + properties: *397 nullable: true parents: type: array @@ -92079,12 +92240,12 @@ paths: type: string sha: type: string - repository: *133 + repository: *135 score: type: number node_id: type: string - text_matches: *637 + text_matches: *639 required: - sha - node_id @@ -92266,7 +92427,7 @@ paths: - interactions - created - updated - - *638 + - *640 - *17 - *19 - name: advanced_search @@ -92372,11 +92533,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: type: string state_reason: @@ -92393,8 +92554,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *247 - required: *248 + properties: *249 + required: *250 nullable: true comments: type: integer @@ -92408,7 +92569,7 @@ paths: type: string format: date-time nullable: true - text_matches: *637 + text_matches: *639 pull_request: type: object properties: @@ -92452,7 +92613,7 @@ paths: timeline_url: type: string format: uri - type: *206 + type: *208 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -92636,7 +92797,7 @@ paths: enum: - created - updated - - *638 + - *640 - *17 - *19 responses: @@ -92680,7 +92841,7 @@ paths: nullable: true score: type: number - text_matches: *637 + text_matches: *639 required: - id - node_id @@ -92765,7 +92926,7 @@ paths: - forks - help-wanted-issues - updated - - *638 + - *640 - *17 - *19 responses: @@ -93004,7 +93165,7 @@ paths: - admin - pull - push - text_matches: *637 + text_matches: *639 temp_clone_token: type: string allow_merge_commit: @@ -93304,7 +93465,7 @@ paths: type: string format: uri nullable: true - text_matches: *637 + text_matches: *639 related: type: array nullable: true @@ -93495,7 +93656,7 @@ paths: - followers - repositories - joined - - *638 + - *640 - *17 - *19 responses: @@ -93599,7 +93760,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *637 + text_matches: *639 blog: type: string nullable: true @@ -93678,7 +93839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &642 + - &644 name: team_id description: The unique identifier of the team. in: path @@ -93690,9 +93851,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 x-github: githubCloudOnly: false @@ -93719,7 +93880,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *642 + - *644 requestBody: required: true content: @@ -93782,16 +93943,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '201': description: Response content: application/json: - schema: *312 + schema: *314 examples: - default: *313 + default: *315 '404': *6 '422': *15 '403': *29 @@ -93819,7 +93980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *642 + - *644 responses: '204': description: Response @@ -93850,7 +94011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *642 + - *644 - *48 - *17 - *19 @@ -93861,9 +94022,9 @@ paths: application/json: schema: type: array - items: *314 + items: *316 examples: - default: *643 + default: *645 headers: Link: *58 x-github: @@ -93892,7 +94053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *642 + - *644 requestBody: required: true content: @@ -93926,9 +94087,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 x-github: triggersNotification: true githubCloudOnly: false @@ -93955,16 +94116,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 responses: '200': description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93989,8 +94150,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 requestBody: required: false content: @@ -94013,9 +94174,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *644 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94040,8 +94201,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 responses: '204': description: Response @@ -94070,8 +94231,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *642 - - *316 + - *644 + - *318 - *48 - *17 - *19 @@ -94082,9 +94243,9 @@ paths: application/json: schema: type: array - items: *317 + items: *319 examples: - default: *645 + default: *647 headers: Link: *58 x-github: @@ -94113,8 +94274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *642 - - *316 + - *644 + - *318 requestBody: required: true content: @@ -94136,9 +94297,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: triggersNotification: true githubCloudOnly: false @@ -94165,17 +94326,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 responses: '200': description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *318 + default: *320 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94200,9 +94361,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 requestBody: required: true content: @@ -94224,9 +94385,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *319 examples: - default: *646 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94251,9 +94412,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 responses: '204': description: Response @@ -94282,9 +94443,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -94310,9 +94471,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -94341,9 +94502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *642 - - *316 - - *319 + - *644 + - *318 + - *321 requestBody: required: true content: @@ -94375,9 +94536,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94403,8 +94564,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -94430,9 +94591,9 @@ paths: application/json: schema: type: array - items: *320 + items: *322 examples: - default: *322 + default: *324 headers: Link: *58 x-github: @@ -94461,8 +94622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *642 - - *316 + - *644 + - *318 requestBody: required: true content: @@ -94494,9 +94655,9 @@ paths: description: Response content: application/json: - schema: *320 + schema: *322 examples: - default: *321 + default: *323 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94520,7 +94681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -94530,9 +94691,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *204 + default: *206 headers: Link: *58 x-github: @@ -94558,7 +94719,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *642 + - *644 - name: role description: Filters members returned by their role in the team. in: query @@ -94609,7 +94770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94646,7 +94807,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94686,7 +94847,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94723,16 +94884,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *642 + - *644 - *63 responses: '200': description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-user-is-a-team-maintainer: *647 + response-if-user-is-a-team-maintainer: *649 '404': *6 x-github: githubCloudOnly: false @@ -94765,7 +94926,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *642 + - *644 - *63 requestBody: required: false @@ -94791,9 +94952,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *326 examples: - response-if-users-membership-with-team-is-now-pending: *648 + response-if-users-membership-with-team-is-now-pending: *650 '403': description: Forbidden if team synchronization is set up '422': @@ -94827,7 +94988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *642 + - *644 - *63 responses: '204': @@ -94856,7 +95017,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -94866,9 +95027,9 @@ paths: application/json: schema: type: array - items: *325 + items: *327 examples: - default: *649 + default: *651 headers: Link: *58 '404': *6 @@ -94894,16 +95055,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *642 - - *326 + - *644 + - *328 responses: '200': description: Response content: application/json: - schema: *325 + schema: *327 examples: - default: *650 + default: *652 '404': description: Not Found if project is not managed by this team x-github: @@ -94927,8 +95088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *642 - - *326 + - *644 + - *328 requestBody: required: false content: @@ -94995,8 +95156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *642 - - *326 + - *644 + - *328 responses: '204': description: Response @@ -95023,7 +95184,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -95033,9 +95194,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 '404': *6 @@ -95065,15 +95226,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *642 - - *327 - - *328 + - *644 + - *329 + - *330 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *651 + schema: *653 examples: alternative-response-with-extra-repository-information: value: @@ -95224,9 +95385,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *642 - - *327 - - *328 + - *644 + - *329 + - *330 requestBody: required: false content: @@ -95276,9 +95437,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *642 - - *327 - - *328 + - *644 + - *329 + - *330 responses: '204': description: Response @@ -95303,7 +95464,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *642 + - *644 - *17 - *19 responses: @@ -95313,9 +95474,9 @@ paths: application/json: schema: type: array - items: *165 + items: *167 examples: - response-if-child-teams-exist: *652 + response-if-child-teams-exist: *654 headers: Link: *58 '404': *6 @@ -95348,7 +95509,7 @@ paths: application/json: schema: oneOf: - - &654 + - &656 title: Private User description: Private User type: object @@ -95551,7 +95712,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *653 + - *655 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95704,7 +95865,7 @@ paths: description: Response content: application/json: - schema: *654 + schema: *656 examples: default: value: @@ -95907,9 +96068,9 @@ paths: type: integer codespaces: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 '304': *37 '500': *104 '401': *25 @@ -96048,17 +96209,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '401': *25 '403': *29 '404': *6 @@ -96102,7 +96263,7 @@ paths: type: integer secrets: type: array - items: &655 + items: &657 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96142,7 +96303,7 @@ paths: - visibility - selected_repositories_url examples: - default: *452 + default: *454 headers: Link: *58 x-github: @@ -96212,13 +96373,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '200': description: Response content: application/json: - schema: *655 + schema: *657 examples: default: value: @@ -96248,7 +96409,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 requestBody: required: true content: @@ -96293,7 +96454,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -96321,7 +96482,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *141 + - *143 responses: '204': description: Response @@ -96346,7 +96507,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 responses: '200': description: Response @@ -96362,9 +96523,9 @@ paths: type: integer repositories: type: array - items: *133 + items: *135 examples: - default: *656 + default: *658 '401': *25 '403': *29 '404': *6 @@ -96389,7 +96550,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *141 + - *143 requestBody: required: true content: @@ -96443,7 +96604,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -96476,7 +96637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *141 + - *143 - name: repository_id in: path required: true @@ -96508,15 +96669,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '304': *37 '500': *104 '401': *25 @@ -96542,7 +96703,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 requestBody: required: false content: @@ -96572,9 +96733,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '401': *25 '403': *29 '404': *6 @@ -96596,7 +96757,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': *39 '304': *37 @@ -96625,13 +96786,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '202': description: Response content: application/json: - schema: &657 + schema: &659 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96672,7 +96833,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &658 + default: &660 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96704,7 +96865,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *213 + - *215 - name: export_id in: path required: true @@ -96717,9 +96878,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *659 examples: - default: *658 + default: *660 '404': *6 x-github: githubCloudOnly: false @@ -96740,7 +96901,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *213 + - *215 responses: '200': description: Response @@ -96756,9 +96917,9 @@ paths: type: integer machines: type: array - items: *659 + items: *661 examples: - default: *660 + default: *662 '304': *37 '500': *104 '401': *25 @@ -96787,7 +96948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *213 + - *215 requestBody: required: true content: @@ -96837,13 +96998,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *335 + repository: *337 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *450 - required: *451 + properties: *452 + required: *453 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97617,15 +97778,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '304': *37 '500': *104 '400': *14 @@ -97657,15 +97818,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: *211 + schema: *213 examples: - default: *449 + default: *451 '500': *104 '401': *25 '403': *29 @@ -97695,9 +97856,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: &672 + default: &674 value: - id: 197 name: hello_docker @@ -97798,7 +97959,7 @@ paths: application/json: schema: type: array - items: &661 + items: &663 title: Email description: Email type: object @@ -97863,9 +98024,9 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: - default: &674 + default: &676 value: - email: octocat@github.com verified: true @@ -97940,7 +98101,7 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: default: value: @@ -98196,7 +98357,7 @@ paths: application/json: schema: type: array - items: &662 + items: &664 title: GPG Key description: A unique encryption key type: object @@ -98327,7 +98488,7 @@ paths: - subkeys - revoked examples: - default: &688 + default: &690 value: - id: 3 name: Octocat's GPG Key @@ -98412,9 +98573,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: - default: &663 + default: &665 value: id: 3 name: Octocat's GPG Key @@ -98471,7 +98632,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &664 + - &666 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98483,9 +98644,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *664 examples: - default: *663 + default: *665 '404': *6 '304': *37 '403': *29 @@ -98508,7 +98669,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *664 + - *666 responses: '204': description: Response @@ -98699,7 +98860,7 @@ paths: type: array items: *67 examples: - default: *125 + default: *127 headers: Link: *58 '404': *6 @@ -98724,7 +98885,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *122 + - *124 responses: '204': description: Response @@ -98750,7 +98911,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *122 + - *124 responses: '204': description: Response @@ -98784,12 +98945,12 @@ paths: application/json: schema: anyOf: - - *201 + - *203 - type: object properties: {} additionalProperties: false examples: - default: *202 + default: *204 '204': description: Response when there are no restrictions x-github: @@ -98813,7 +98974,7 @@ paths: required: true content: application/json: - schema: *521 + schema: *523 examples: default: value: @@ -98824,7 +98985,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: default: value: @@ -98905,7 +99066,7 @@ paths: - closed - all default: open - - *209 + - *211 - name: sort description: What to sort results by. in: query @@ -98930,7 +99091,7 @@ paths: type: array items: *84 examples: - default: *210 + default: *212 headers: Link: *58 '404': *6 @@ -98963,7 +99124,7 @@ paths: application/json: schema: type: array - items: &665 + items: &667 title: Key description: Key type: object @@ -99064,9 +99225,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: &666 + default: &668 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99099,15 +99260,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *550 + - *552 responses: '200': description: Response content: application/json: - schema: *665 + schema: *667 examples: - default: *666 + default: *668 '404': *6 '304': *37 '403': *29 @@ -99130,7 +99291,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *550 + - *552 responses: '204': description: Response @@ -99163,7 +99324,7 @@ paths: application/json: schema: type: array - items: &667 + items: &669 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99231,7 +99392,7 @@ paths: - account - plan examples: - default: &668 + default: &670 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99293,9 +99454,9 @@ paths: application/json: schema: type: array - items: *667 + items: *669 examples: - default: *668 + default: *670 headers: Link: *58 '304': *37 @@ -99335,7 +99496,7 @@ paths: application/json: schema: type: array - items: *216 + items: *218 examples: default: value: @@ -99443,7 +99604,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -99526,7 +99687,7 @@ paths: description: Response content: application/json: - schema: *216 + schema: *218 examples: default: value: @@ -99594,7 +99755,7 @@ paths: application/json: schema: type: array - items: *218 + items: *220 examples: default: value: @@ -99847,7 +100008,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -100027,7 +100188,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *219 + - *221 - name: exclude in: query required: false @@ -100040,7 +100201,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *220 examples: default: value: @@ -100234,7 +100395,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *219 + - *221 responses: '302': description: Response @@ -100260,7 +100421,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *219 + - *221 responses: '204': description: Response @@ -100289,8 +100450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *219 - - *669 + - *221 + - *671 responses: '204': description: Response @@ -100314,7 +100475,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *219 + - *221 - *17 - *19 responses: @@ -100324,9 +100485,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 '404': *6 @@ -100361,9 +100522,9 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: - default: *670 + default: *672 headers: Link: *58 '304': *37 @@ -100405,7 +100566,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *19 - *17 responses: @@ -100415,10 +100576,10 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *672 - '400': *673 + default: *674 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100438,16 +100599,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 responses: '200': description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: &689 + default: &691 value: id: 40201 name: octo-name @@ -100560,8 +100721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 responses: '204': description: Response @@ -100591,8 +100752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 - name: token description: package token schema: @@ -100624,8 +100785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *227 - - *228 + - *229 + - *230 - *19 - *17 - name: state @@ -100645,7 +100806,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -100694,15 +100855,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 responses: '200': description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -100738,9 +100899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 responses: '204': description: Response @@ -100770,9 +100931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 responses: '204': description: Response @@ -100828,7 +100989,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *243 examples: default: value: @@ -100900,9 +101061,9 @@ paths: application/json: schema: type: array - items: *661 + items: *663 examples: - default: *674 + default: *676 headers: Link: *58 '304': *37 @@ -101015,7 +101176,7 @@ paths: type: array items: *67 examples: - default: &681 + default: &683 summary: Default response value: - id: 1296269 @@ -101319,9 +101480,9 @@ paths: description: Response content: application/json: - schema: *335 + schema: *337 examples: - default: *337 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101359,9 +101520,9 @@ paths: application/json: schema: type: array - items: *523 + items: *525 examples: - default: *675 + default: *677 headers: Link: *58 '304': *37 @@ -101384,7 +101545,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -101407,7 +101568,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *205 + - *207 responses: '204': description: Response @@ -101440,7 +101601,7 @@ paths: application/json: schema: type: array - items: &676 + items: &678 title: Social account description: Social media account type: object @@ -101455,7 +101616,7 @@ paths: - provider - url examples: - default: &677 + default: &679 value: - provider: twitter url: https://twitter.com/github @@ -101517,9 +101678,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 '422': *15 '304': *37 '404': *6 @@ -101606,7 +101767,7 @@ paths: application/json: schema: type: array - items: &678 + items: &680 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101626,7 +101787,7 @@ paths: - title - created_at examples: - default: &702 + default: &705 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101692,9 +101853,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: &679 + default: &681 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101725,7 +101886,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &680 + - &682 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101737,9 +101898,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *680 examples: - default: *679 + default: *681 '404': *6 '304': *37 '403': *29 @@ -101762,7 +101923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *680 + - *682 responses: '204': description: Response @@ -101791,7 +101952,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &703 + - &706 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 @@ -101816,11 +101977,11 @@ paths: type: array items: *67 examples: - default-response: *681 + default-response: *683 application/vnd.github.v3.star+json: schema: type: array - items: &704 + items: &707 title: Starred Repository description: Starred Repository type: object @@ -101976,8 +102137,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response if this repository is starred by you @@ -102005,8 +102166,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -102030,8 +102191,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *327 - - *328 + - *329 + - *330 responses: '204': description: Response @@ -102064,9 +102225,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 '304': *37 @@ -102103,7 +102264,7 @@ paths: application/json: schema: type: array - items: *312 + items: *314 examples: default: value: @@ -102189,10 +102350,10 @@ paths: application/json: schema: oneOf: - - *654 - - *653 + - *656 + - *655 examples: - default-response: &683 + default-response: &685 summary: Default response value: login: octocat @@ -102227,7 +102388,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &684 + response-with-git-hub-plan-information: &686 summary: Response with GitHub plan information value: login: octocat @@ -102287,7 +102448,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *682 + - *684 - *17 responses: '200': @@ -102336,11 +102497,11 @@ paths: application/json: schema: oneOf: - - *654 - - *653 + - *656 + - *655 examples: - default-response: *683 - response-with-git-hub-plan-information: *684 + default-response: *685 + response-with-git-hub-plan-information: *686 '404': *6 x-github: githubCloudOnly: false @@ -102389,8 +102550,8 @@ paths: required: - subject_digests examples: - default: *685 - withPredicateType: *686 + default: *687 + withPredicateType: *688 responses: '200': description: Response @@ -102443,7 +102604,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *687 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102647,12 +102808,12 @@ paths: initiator: type: string examples: - default: *391 + default: *393 '201': description: Response content: application/json: - schema: *142 + schema: *144 examples: default: value: @@ -102686,9 +102847,9 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *672 + default: *674 '403': *29 '401': *25 x-github: @@ -103092,9 +103253,9 @@ paths: application/json: schema: type: array - items: *662 + items: *664 examples: - default: *688 + default: *690 headers: Link: *58 x-github: @@ -103198,7 +103359,7 @@ paths: application/json: schema: *22 examples: - default: *520 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103281,9 +103442,9 @@ paths: application/json: schema: type: array - items: *215 + items: *217 examples: - default: *670 + default: *672 headers: Link: *58 x-github: @@ -103322,7 +103483,7 @@ paths: - docker - nuget - container - - *671 + - *673 - *63 - *19 - *17 @@ -103333,12 +103494,12 @@ paths: application/json: schema: type: array - items: *225 + items: *227 examples: - default: *672 + default: *674 '403': *29 '401': *25 - '400': *673 + '400': *675 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103358,17 +103519,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 responses: '200': description: Response content: application/json: - schema: *225 + schema: *227 examples: - default: *689 + default: *691 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103389,8 +103550,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 responses: '204': @@ -103423,8 +103584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 - name: token description: package token @@ -103457,8 +103618,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *227 - - *228 + - *229 + - *230 - *63 responses: '200': @@ -103467,7 +103628,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -103525,16 +103686,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *227 - - *228 + - *229 - *230 + - *232 - *63 responses: '200': description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -103569,10 +103730,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *227 - - *228 - - *63 + - *229 - *230 + - *63 + - *232 responses: '204': description: Response @@ -103604,10 +103765,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *227 - - *228 - - *63 + - *229 - *230 + - *63 + - *232 responses: '204': description: Response @@ -103654,7 +103815,7 @@ paths: application/json: schema: type: array - items: *241 + items: *243 examples: default: value: @@ -103729,9 +103890,9 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: - default: *243 + default: *245 headers: Link: *58 '304': *37 @@ -103753,16 +103914,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *244 + - *246 - *63 responses: '200': description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *243 + default: *245 headers: Link: *58 '304': *37 @@ -103784,7 +103945,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *244 + - *246 - *63 - *17 - *40 @@ -103796,9 +103957,9 @@ paths: application/json: schema: type: array - items: *245 + items: *247 examples: - default: *246 + default: *248 headers: Link: *58 '304': *37 @@ -103820,17 +103981,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *244 - - *690 + - *246 + - *692 - *63 responses: '200': description: Response content: application/json: - schema: *245 + schema: *247 examples: - default: *246 + default: *248 headers: Link: *58 '304': *37 @@ -103853,7 +104014,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *244 + - *246 - *63 - *40 - *41 @@ -103883,9 +104044,9 @@ paths: application/json: schema: type: array - items: *252 + items: *254 examples: - default: *253 + default: *255 headers: Link: *58 '304': *37 @@ -103907,7 +104068,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *63 - - *244 + - *246 requestBody: required: true description: Details of the item to add to the project. @@ -103944,10 +104105,10 @@ paths: description: Response content: application/json: - schema: *691 + schema: *693 examples: - issue: *251 - pull_request: *251 + issue: *253 + pull_request: *253 '304': *37 '403': *29 '401': *25 @@ -103967,9 +104128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *244 + - *246 - *63 - - *254 + - *256 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -103986,9 +104147,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - default: *253 + default: *255 headers: Link: *58 '304': *37 @@ -104009,9 +104170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *244 + - *246 - *63 - - *254 + - *256 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -104081,13 +104242,13 @@ paths: description: Response content: application/json: - schema: *252 + schema: *254 examples: - text_field: *253 - number_field: *253 - date_field: *253 - single_select_field: *253 - iteration_field: *253 + text_field: *255 + number_field: *255 + date_field: *255 + single_select_field: *255 + iteration_field: *255 '401': *25 '403': *29 '404': *6 @@ -104107,9 +104268,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *244 + - *246 - *63 - - *254 + - *256 responses: '204': description: Response @@ -104355,9 +104516,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -104387,9 +104548,9 @@ paths: description: Response content: application/json: - schema: *692 + schema: *694 examples: - default: *693 + default: *695 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104417,14 +104578,144 @@ paths: description: Response content: application/json: - schema: *694 + schema: *696 examples: - default: *695 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *63 + - *105 + - *698 + - *106 + - *699 + - *700 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *104 + '503': *72 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -104447,9 +104738,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *701 examples: - default: *697 + default: *702 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104470,10 +104761,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *63 - - *698 - - *699 - - *700 - - *701 + - *105 + - *703 + - *106 + - *704 responses: '200': description: Response when getting a billing usage report @@ -104572,9 +104863,9 @@ paths: application/json: schema: type: array - items: *676 + items: *678 examples: - default: *677 + default: *679 headers: Link: *58 x-github: @@ -104604,9 +104895,9 @@ paths: application/json: schema: type: array - items: *678 + items: *680 examples: - default: *702 + default: *705 headers: Link: *58 x-github: @@ -104631,7 +104922,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *63 - - *703 + - *706 - *48 - *17 - *19 @@ -104643,11 +104934,11 @@ paths: schema: anyOf: - type: array - items: *704 + items: *707 - type: array items: *67 examples: - default-response: *681 + default-response: *683 headers: Link: *58 x-github: @@ -104676,9 +104967,9 @@ paths: application/json: schema: type: array - items: *133 + items: *135 examples: - default: *231 + default: *233 headers: Link: *58 x-github: @@ -104806,7 +105097,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &705 + enterprise: &708 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104864,7 +105155,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &706 + installation: &709 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104883,7 +105174,7 @@ x-webhooks: required: - id - node_id - organization: &707 + organization: &710 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104943,13 +105234,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &708 + repository: &711 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: &738 + properties: &741 id: description: Unique identifier of the repository example: 42 @@ -105632,7 +105923,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &739 + required: &742 - archive_url - assignees_url - blobs_url @@ -105783,10 +106074,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -105862,11 +106153,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - rule: &709 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + rule: &712 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -106089,11 +106380,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - rule: *709 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + rule: *712 sender: *4 required: - action @@ -106276,11 +106567,11 @@ x-webhooks: - everyone required: - from - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - rule: *709 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + rule: *712 sender: *4 required: - action @@ -106364,7 +106655,7 @@ x-webhooks: type: string enum: - completed - check_run: &711 + check_run: &714 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106417,8 +106708,8 @@ x-webhooks: type: string pull_requests: type: array - items: *408 - repository: *133 + items: *410 + repository: *135 status: example: completed type: string @@ -106455,7 +106746,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *710 + deployment: *713 details_url: example: https://example.com type: string @@ -106505,7 +106796,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *408 + items: *410 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -106540,10 +106831,10 @@ x-webhooks: - output - app - pull_requests - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 sender: *4 required: - check_run @@ -106936,11 +107227,11 @@ x-webhooks: type: string enum: - created - check_run: *711 - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + check_run: *714 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 sender: *4 required: - check_run @@ -107336,11 +107627,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *711 - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + check_run: *714 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 requested_action: description: The action requested by the user. type: object @@ -107745,11 +108036,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *711 - installation: *706 - enterprise: *705 - organization: *707 - repository: *708 + check_run: *714 + installation: *709 + enterprise: *708 + organization: *710 + repository: *711 sender: *4 required: - check_run @@ -108726,10 +109017,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -109399,10 +109690,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -110066,10 +110357,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -110235,7 +110526,7 @@ x-webhooks: required: - login - id - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110380,20 +110671,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &712 + commit_oid: &715 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: *705 - installation: *706 - organization: *707 - ref: &713 + enterprise: *708 + installation: *709 + organization: *710 + ref: &716 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: *708 + repository: *711 sender: *4 required: - action @@ -110558,7 +110849,7 @@ x-webhooks: required: - login - id - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -110788,12 +111079,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -110888,7 +111179,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111059,12 +111350,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -111230,7 +111521,7 @@ x-webhooks: required: - login - id - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -111396,12 +111687,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -111501,7 +111792,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111669,16 +111960,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 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: *708 + repository: *711 sender: *4 required: - action @@ -111775,7 +112066,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *424 + dismissed_comment: *426 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111915,12 +112206,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *712 - enterprise: *705 - installation: *706 - organization: *707 - ref: *713 - repository: *708 + commit_oid: *715 + enterprise: *708 + installation: *709 + organization: *710 + ref: *716 + repository: *711 sender: *4 required: - action @@ -112177,10 +112468,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -112260,18 +112551,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *707 - pusher_type: &714 + organization: *710 + pusher_type: &717 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &715 + ref: &718 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -112281,7 +112572,7 @@ x-webhooks: enum: - tag - branch - repository: *708 + repository: *711 sender: *4 required: - ref @@ -112363,10 +112654,10 @@ x-webhooks: type: string enum: - created - definition: *255 - enterprise: *705 - installation: *706 - organization: *707 + definition: *257 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112451,9 +112742,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112530,10 +112821,10 @@ x-webhooks: type: string enum: - promote_to_enterprise - definition: *255 - enterprise: *705 - installation: *706 - organization: *707 + definition: *257 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112610,10 +112901,10 @@ x-webhooks: type: string enum: - updated - definition: *255 - enterprise: *705 - installation: *706 - organization: *707 + definition: *257 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -112690,19 +112981,19 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - repository: *708 - organization: *707 + enterprise: *708 + installation: *709 + repository: *711 + organization: *710 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *259 + items: *261 old_property_values: type: array description: The old custom property values for the repository. - items: *259 + items: *261 required: - action - repository @@ -112778,18 +113069,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - pusher_type: *714 - ref: *715 + enterprise: *708 + installation: *709 + organization: *710 + pusher_type: *717 + ref: *718 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *708 + repository: *711 sender: *4 required: - ref @@ -112873,11 +113164,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -112961,11 +113252,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113049,11 +113340,11 @@ x-webhooks: type: string enum: - created - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113135,11 +113426,11 @@ x-webhooks: type: string enum: - dismissed - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113221,11 +113512,11 @@ x-webhooks: type: string enum: - fixed - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113308,11 +113599,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113394,11 +113685,11 @@ x-webhooks: type: string enum: - reopened - alert: *479 - installation: *706 - organization: *707 - enterprise: *705 - repository: *708 + alert: *481 + installation: *709 + organization: *710 + enterprise: *708 + repository: *711 sender: *4 required: - action @@ -113475,9 +113766,9 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - key: &716 + enterprise: *708 + installation: *709 + key: &719 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113513,8 +113804,8 @@ x-webhooks: - verified - created_at - read_only - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -113591,11 +113882,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - key: *716 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + key: *719 + organization: *710 + repository: *711 sender: *4 required: - action @@ -114156,12 +114447,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: &720 + workflow: &723 title: Workflow type: object nullable: true @@ -114887,13 +115178,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *485 + deployment: *487 pull_requests: type: array - items: *569 - repository: *708 - organization: *707 - installation: *706 + items: *571 + repository: *711 + organization: *710 + installation: *709 sender: *4 responses: '200': @@ -114964,7 +115255,7 @@ x-webhooks: type: string enum: - approved - approver: &717 + approver: &720 type: object properties: avatar_url: @@ -115007,11 +115298,11 @@ x-webhooks: type: string comment: type: string - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - reviewers: &718 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + reviewers: &721 type: array items: type: object @@ -115090,7 +115381,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &719 + workflow_job_run: &722 type: object properties: conclusion: @@ -115821,18 +116112,18 @@ x-webhooks: type: string enum: - rejected - approver: *717 + approver: *720 comment: type: string - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - reviewers: *718 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + reviewers: *721 sender: *4 since: type: string - workflow_job_run: *719 + workflow_job_run: *722 workflow_job_runs: type: array items: @@ -116536,13 +116827,13 @@ x-webhooks: type: string enum: - requested - enterprise: *705 + enterprise: *708 environment: type: string - installation: *706 - organization: *707 - repository: *708 - requestor: &725 + installation: *709 + organization: *710 + repository: *711 + requestor: &728 title: User type: object nullable: true @@ -118441,12 +118732,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Deployment Workflow Run type: object @@ -119126,7 +119417,7 @@ x-webhooks: type: string enum: - answered - answer: &723 + answer: &726 type: object properties: author_association: @@ -119283,7 +119574,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &721 + discussion: &724 title: Discussion description: A Discussion in a repository. type: object @@ -119569,7 +119860,7 @@ x-webhooks: - id labels: type: array - items: *533 + items: *535 required: - repository_url - category @@ -119591,10 +119882,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -119721,11 +120012,11 @@ x-webhooks: - from required: - category - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -119808,11 +120099,11 @@ x-webhooks: type: string enum: - closed - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -119894,7 +120185,7 @@ x-webhooks: type: string enum: - created - comment: &722 + comment: &725 type: object properties: author_association: @@ -120051,11 +120342,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120138,12 +120429,12 @@ x-webhooks: type: string enum: - deleted - comment: *722 - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + comment: *725 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120238,12 +120529,12 @@ x-webhooks: - from required: - body - comment: *722 - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + comment: *725 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120327,11 +120618,11 @@ x-webhooks: type: string enum: - created - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120413,11 +120704,11 @@ x-webhooks: type: string enum: - deleted - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120517,11 +120808,11 @@ x-webhooks: type: string required: - from - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120603,10 +120894,10 @@ x-webhooks: type: string enum: - labeled - discussion: *721 - enterprise: *705 - installation: *706 - label: &724 + discussion: *724 + enterprise: *708 + installation: *709 + label: &727 title: Label type: object properties: @@ -120638,8 +120929,8 @@ x-webhooks: - color - default - description - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120722,11 +121013,11 @@ x-webhooks: type: string enum: - locked - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120808,11 +121099,11 @@ x-webhooks: type: string enum: - pinned - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120894,11 +121185,11 @@ x-webhooks: type: string enum: - reopened - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -120983,16 +121274,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *721 - new_repository: *708 + new_discussion: *724 + new_repository: *711 required: - new_discussion - new_repository - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121075,10 +121366,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *721 - old_answer: *723 - organization: *707 - repository: *708 + discussion: *724 + old_answer: *726 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121160,12 +121451,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *721 - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121248,11 +121539,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121334,11 +121625,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *721 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + discussion: *724 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -121411,7 +121702,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *705 + enterprise: *708 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -122071,9 +122362,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - forkee @@ -122219,9 +122510,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pages: description: The pages that were updated. type: array @@ -122258,7 +122549,7 @@ x-webhooks: - action - sha - html_url - repository: *708 + repository: *711 sender: *4 required: - pages @@ -122334,10 +122625,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: &726 + organization: *710 + repositories: &729 description: An array of repository objects that the installation can access. type: array @@ -122363,8 +122654,8 @@ x-webhooks: - name - full_name - private - repository: *708 - requester: *725 + repository: *711 + requester: *728 sender: *4 required: - action @@ -122439,11 +122730,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -122519,11 +122810,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -122599,10 +122890,10 @@ x-webhooks: type: string enum: - added - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories_added: &727 + organization: *710 + repositories_added: &730 description: An array of repository objects, which were added to the installation. type: array @@ -122648,15 +122939,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *708 - repository_selection: &728 + repository: *711 + repository_selection: &731 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *725 + requester: *728 sender: *4 required: - action @@ -122735,10 +123026,10 @@ x-webhooks: type: string enum: - removed - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories_added: *727 + organization: *710 + repositories_added: *730 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122765,9 +123056,9 @@ x-webhooks: - name - full_name - private - repository: *708 - repository_selection: *728 - requester: *725 + repository: *711 + repository_selection: *731 + requester: *728 sender: *4 required: - action @@ -122846,11 +123137,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -123028,10 +123319,10 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 target_type: type: string @@ -123110,11 +123401,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *705 + enterprise: *708 installation: *22 - organization: *707 - repositories: *726 - repository: *708 + organization: *710 + repositories: *729 + repository: *711 requester: nullable: true sender: *4 @@ -123366,8 +123657,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -124161,8 +124452,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 state: description: State of the issue; either 'open' or 'closed' type: string @@ -124178,7 +124469,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -124511,8 +124802,8 @@ x-webhooks: - state - locked - assignee - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -124592,7 +124883,7 @@ x-webhooks: type: string enum: - deleted - comment: &729 + comment: &732 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -124757,8 +125048,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -125548,8 +125839,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 state: description: State of the issue; either 'open' or 'closed' type: string @@ -125565,7 +125856,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -125900,8 +126191,8 @@ x-webhooks: - state - locked - assignee - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -125981,7 +126272,7 @@ x-webhooks: type: string enum: - edited - changes: &758 + changes: &761 description: The changes to the comment. type: object properties: @@ -125993,9 +126284,9 @@ x-webhooks: type: string required: - from - comment: *729 - enterprise: *705 - installation: *706 + comment: *732 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126788,8 +127079,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126805,7 +127096,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -127138,8 +127429,8 @@ x-webhooks: - state - locked - assignee - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127229,9 +127520,9 @@ x-webhooks: type: number blocking_issue: *84 blocking_issue_repo: *67 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127325,9 +127616,9 @@ x-webhooks: type: number blocking_issue: *84 blocking_issue_repo: *67 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127420,9 +127711,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127516,9 +127807,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -127603,10 +127894,10 @@ x-webhooks: type: string enum: - assigned - assignee: *725 - enterprise: *705 - installation: *706 - issue: &732 + assignee: *728 + enterprise: *708 + installation: *709 + issue: &735 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -128395,11 +128686,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128415,7 +128706,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -128516,8 +128807,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -128597,8 +128888,8 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -129392,11 +129683,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129412,7 +129703,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -129648,8 +129939,8 @@ x-webhooks: required: - state - closed_at - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -129728,8 +130019,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -130514,11 +130805,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -130534,7 +130825,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -130634,8 +130925,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -130714,8 +131005,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131522,11 +131813,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131542,7 +131833,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -131621,7 +131912,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &730 + milestone: &733 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131759,8 +132050,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -131859,8 +132150,8 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132649,11 +132940,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132666,7 +132957,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -132770,9 +133061,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *724 - organization: *707 - repository: *708 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -132852,8 +133143,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133641,11 +133932,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133658,7 +133949,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -133762,9 +134053,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *724 - organization: *707 - repository: *708 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -133844,8 +134135,8 @@ x-webhooks: type: string enum: - locked - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134657,11 +134948,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134674,7 +134965,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *206 + type: *208 title: description: Title of the issue type: string @@ -134755,8 +135046,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -134835,8 +135126,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135642,11 +135933,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135662,7 +135953,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -135740,9 +136031,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *730 - organization: *707 - repository: *708 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -136610,11 +136901,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136707,7 +136998,7 @@ x-webhooks: required: - login - id - type: *206 + type: *208 required: - id - number @@ -137176,8 +137467,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137966,11 +138257,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137986,7 +138277,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -138086,8 +138377,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -138167,9 +138458,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *705 - installation: *706 - issue: &731 + enterprise: *708 + installation: *709 + issue: &734 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -138952,11 +139243,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138972,7 +139263,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -139072,8 +139363,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -139152,8 +139443,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139963,11 +140254,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140061,9 +140352,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *206 - organization: *707 - repository: *708 + type: *208 + organization: *710 + repository: *711 sender: *4 required: - action @@ -140929,11 +141220,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140949,7 +141240,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -141517,11 +141808,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *705 - installation: *706 - issue: *731 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *734 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141601,12 +141892,12 @@ x-webhooks: type: string enum: - typed - enterprise: *705 - installation: *706 - issue: *732 - type: *206 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + type: *208 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141687,7 +141978,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &761 + assignee: &764 title: User type: object nullable: true @@ -141757,11 +142048,11 @@ x-webhooks: required: - login - id - enterprise: *705 - installation: *706 - issue: *732 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141840,12 +142131,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *705 - installation: *706 - issue: *732 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -141925,8 +142216,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -142736,11 +143027,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *639 - issue_dependencies_summary: *640 + sub_issues_summary: *641 + issue_dependencies_summary: *642 issue_field_values: type: array - items: *641 + items: *643 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142756,7 +143047,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *206 + type: *208 updated_at: type: string format: date-time @@ -142834,8 +143125,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -142915,11 +143206,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *705 - installation: *706 - issue: *731 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *734 + organization: *710 + repository: *711 sender: *4 required: - action @@ -142998,12 +143289,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *705 - installation: *706 - issue: *732 - type: *206 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + issue: *735 + type: *208 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143083,11 +143374,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143165,11 +143456,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143279,11 +143570,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - label: *724 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + label: *727 + organization: *710 + repository: *711 sender: *4 required: - action @@ -143365,9 +143656,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: &733 + enterprise: *708 + installation: *709 + marketplace_purchase: &736 title: Marketplace Purchase type: object required: @@ -143450,8 +143741,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *707 - previous_marketplace_purchase: &734 + organization: *710 + previous_marketplace_purchase: &737 title: Marketplace Purchase type: object properties: @@ -143531,7 +143822,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *708 + repository: *711 sender: *4 required: - action @@ -143611,10 +143902,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: *733 - organization: *707 + enterprise: *708 + installation: *709 + marketplace_purchase: *736 + organization: *710 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143697,7 +143988,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *708 + repository: *711 sender: *4 required: - action @@ -143779,10 +144070,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: *733 - organization: *707 + enterprise: *708 + installation: *709 + marketplace_purchase: *736 + organization: *710 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143864,7 +144155,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *708 + repository: *711 sender: *4 required: - action @@ -143945,8 +144236,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 marketplace_purchase: title: Marketplace Purchase type: object @@ -144028,9 +144319,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *707 - previous_marketplace_purchase: *734 - repository: *708 + organization: *710 + previous_marketplace_purchase: *737 + repository: *711 sender: *4 required: - action @@ -144110,12 +144401,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *705 - installation: *706 - marketplace_purchase: *733 - organization: *707 - previous_marketplace_purchase: *734 - repository: *708 + enterprise: *708 + installation: *709 + marketplace_purchase: *736 + organization: *710 + previous_marketplace_purchase: *737 + repository: *711 sender: *4 required: - action @@ -144217,11 +144508,11 @@ x-webhooks: type: string required: - to - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 sender: *4 required: - action @@ -144321,11 +144612,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 sender: *4 required: - action @@ -144404,11 +144695,11 @@ x-webhooks: type: string enum: - removed - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 sender: *4 required: - action @@ -144486,11 +144777,11 @@ x-webhooks: type: string enum: - added - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144566,7 +144857,7 @@ x-webhooks: required: - login - id - team: &735 + team: &738 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -144789,11 +145080,11 @@ x-webhooks: type: string enum: - removed - enterprise: *705 - installation: *706 - member: *725 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + member: *728 + organization: *710 + repository: *711 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144870,7 +145161,7 @@ x-webhooks: required: - login - id - team: *735 + team: *738 required: - action - scope @@ -144952,8 +145243,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *706 - merge_group: &737 + installation: *709 + merge_group: &740 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144972,15 +145263,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *736 + head_commit: *739 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145066,10 +145357,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *706 - merge_group: *737 - organization: *707 - repository: *708 + installation: *709 + merge_group: *740 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145142,7 +145433,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 + enterprise: *708 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -145251,16 +145542,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *706 - organization: *707 + installation: *709 + organization: *710 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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -145341,11 +145632,11 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 - milestone: *730 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145424,9 +145715,9 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - milestone: &740 + enterprise: *708 + installation: *709 + milestone: &743 title: Milestone description: A collection of related issues and pull requests. type: object @@ -145563,8 +145854,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145643,11 +145934,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - milestone: *730 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145757,11 +146048,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - milestone: *730 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *733 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145841,11 +146132,11 @@ x-webhooks: type: string enum: - opened - enterprise: *705 - installation: *706 - milestone: *740 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + milestone: *743 + organization: *710 + repository: *711 sender: *4 required: - action @@ -145924,11 +146215,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *725 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + blocked_user: *728 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146007,11 +146298,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *725 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + blocked_user: *728 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146090,9 +146381,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - membership: &741 + enterprise: *708 + installation: *709 + membership: &744 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -146199,8 +146490,8 @@ x-webhooks: - role - organization_url - user - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146278,11 +146569,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *705 - installation: *706 - membership: *741 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + membership: *744 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146361,8 +146652,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -146478,10 +146769,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 - user: *725 + user: *728 required: - action - invitation @@ -146559,11 +146850,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *705 - installation: *706 - membership: *741 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + membership: *744 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146650,11 +146941,11 @@ x-webhooks: properties: from: type: string - enterprise: *705 - installation: *706 - membership: *741 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + membership: *744 + organization: *710 + repository: *711 sender: *4 required: - action @@ -146730,9 +147021,9 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 package: description: Information about the package. type: object @@ -147231,7 +147522,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &742 + items: &745 title: Ruby Gems metadata type: object properties: @@ -147326,7 +147617,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -147402,9 +147693,9 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 package: description: Information about the package. type: object @@ -147757,7 +148048,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *742 + items: *745 source_url: type: string format: uri @@ -147827,7 +148118,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -148004,12 +148295,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *705 + enterprise: *708 id: type: integer - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - id @@ -148086,7 +148377,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &743 + personal_access_token_request: &746 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -148232,10 +148523,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *705 - organization: *707 + enterprise: *708 + organization: *710 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148312,11 +148603,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *743 - enterprise: *705 - organization: *707 + personal_access_token_request: *746 + enterprise: *708 + organization: *710 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148392,11 +148683,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *743 - enterprise: *705 - organization: *707 + personal_access_token_request: *746 + enterprise: *708 + organization: *710 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148471,11 +148762,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *743 - organization: *707 - enterprise: *705 + personal_access_token_request: *746 + organization: *710 + enterprise: *708 sender: *4 - installation: *706 + installation: *709 required: - action - personal_access_token_request @@ -148580,7 +148871,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *744 + last_response: *747 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -148612,8 +148903,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 zen: description: Random string of GitHub zen. @@ -148858,10 +149149,10 @@ x-webhooks: - from required: - note - enterprise: *705 - installation: *706 - organization: *707 - project_card: &745 + enterprise: *708 + installation: *709 + organization: *710 + project_card: &748 title: Project Card type: object properties: @@ -148980,7 +149271,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *708 + repository: *711 sender: *4 required: - action @@ -149061,11 +149352,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - project_card: *745 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_card: *748 + repository: *711 sender: *4 required: - action @@ -149145,9 +149436,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 project_card: title: Project Card type: object @@ -149275,8 +149566,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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -149370,11 +149661,11 @@ x-webhooks: - from required: - note - enterprise: *705 - installation: *706 - organization: *707 - project_card: *745 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_card: *748 + repository: *711 sender: *4 required: - action @@ -149468,9 +149759,9 @@ x-webhooks: - from required: - column_id - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 project_card: allOf: - title: Project Card @@ -149660,7 +149951,7 @@ x-webhooks: type: string required: - after_id - repository: *708 + repository: *711 sender: *4 required: - action @@ -149740,10 +150031,10 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 - organization: *707 - project: &747 + enterprise: *708 + installation: *709 + organization: *710 + project: &750 title: Project type: object properties: @@ -149867,7 +150158,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *708 + repository: *711 sender: *4 required: - action @@ -149947,10 +150238,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - project_column: &746 + enterprise: *708 + installation: *709 + organization: *710 + project_column: &749 title: Project Column type: object properties: @@ -149989,7 +150280,7 @@ x-webhooks: - name - created_at - updated_at - repository: *708 + repository: *711 sender: *4 required: - action @@ -150068,18 +150359,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - project_column: *746 + enterprise: *708 + installation: *709 + organization: *710 + project_column: *749 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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -150169,11 +150460,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - project_column: *746 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_column: *749 + repository: *711 sender: *4 required: - action @@ -150253,11 +150544,11 @@ x-webhooks: type: string enum: - moved - enterprise: *705 - installation: *706 - organization: *707 - project_column: *746 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project_column: *749 + repository: *711 sender: *4 required: - action @@ -150337,11 +150628,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - project: *747 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 + repository: *711 sender: *4 required: - action @@ -150421,18 +150712,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - project: *747 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 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: *738 - required: *739 + properties: *741 + required: *742 nullable: true sender: *4 required: @@ -150534,11 +150825,11 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - project: *747 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 + repository: *711 sender: *4 required: - action @@ -150617,11 +150908,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *705 - installation: *706 - organization: *707 - project: *747 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + project: *750 + repository: *711 sender: *4 required: - action @@ -150702,9 +150993,9 @@ x-webhooks: type: string enum: - closed - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -150785,9 +151076,9 @@ x-webhooks: type: string enum: - created - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -150868,9 +151159,9 @@ x-webhooks: type: string enum: - deleted - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -150987,9 +151278,9 @@ x-webhooks: type: string to: type: string - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -151072,7 +151363,7 @@ x-webhooks: type: string enum: - archived - changes: &751 + changes: &754 type: object properties: archived_at: @@ -151086,9 +151377,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *706 - organization: *707 - projects_v2_item: &748 + installation: *709 + organization: *710 + projects_v2_item: &751 title: Projects v2 Item description: An item belonging to a project type: object @@ -151106,7 +151397,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *250 + content_type: *252 creator: *4 created_at: type: string @@ -151223,9 +151514,9 @@ x-webhooks: nullable: true to: type: string - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151307,9 +151598,9 @@ x-webhooks: type: string enum: - created - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151390,9 +151681,9 @@ x-webhooks: type: string enum: - deleted - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151498,7 +151789,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &749 + - &752 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -151520,7 +151811,7 @@ x-webhooks: required: - id - name - - &750 + - &753 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -151554,8 +151845,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *749 - - *750 + - *752 + - *753 required: - field_value - type: object @@ -151571,9 +151862,9 @@ x-webhooks: nullable: true required: - body - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151668,9 +151959,9 @@ x-webhooks: to: type: string nullable: true - installation: *706 - organization: *707 - projects_v2_item: *748 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151753,10 +152044,10 @@ x-webhooks: type: string enum: - restored - changes: *751 - installation: *706 - organization: *707 - projects_v2_item: *748 + changes: *754 + installation: *709 + organization: *710 + projects_v2_item: *751 sender: *4 required: - action @@ -151838,9 +152129,9 @@ x-webhooks: type: string enum: - reopened - installation: *706 - organization: *707 - projects_v2: *242 + installation: *709 + organization: *710 + projects_v2: *244 sender: *4 required: - action @@ -151921,14 +152212,14 @@ x-webhooks: type: string enum: - created - installation: *706 - organization: *707 - projects_v2_status_update: &754 + installation: *709 + organization: *710 + projects_v2_status_update: &757 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *752 - required: *753 + properties: *755 + required: *756 sender: *4 required: - action @@ -152009,9 +152300,9 @@ x-webhooks: type: string enum: - deleted - installation: *706 - organization: *707 - projects_v2_status_update: *754 + installation: *709 + organization: *710 + projects_v2_status_update: *757 sender: *4 required: - action @@ -152147,9 +152438,9 @@ x-webhooks: type: string format: date nullable: true - installation: *706 - organization: *707 - projects_v2_status_update: *754 + installation: *709 + organization: *710 + projects_v2_status_update: *757 sender: *4 required: - action @@ -152220,10 +152511,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - repository @@ -152300,13 +152591,13 @@ x-webhooks: type: string enum: - assigned - assignee: *725 - enterprise: *705 - installation: *706 - number: &755 + assignee: *728 + enterprise: *708 + installation: *709 + number: &758 description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -154589,7 +154880,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -154671,11 +154962,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -156953,7 +157244,7 @@ x-webhooks: - draft reason: type: string - repository: *708 + repository: *711 sender: *4 required: - action @@ -157035,11 +157326,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -159317,7 +159608,7 @@ x-webhooks: - draft reason: type: string - repository: *708 + repository: *711 sender: *4 required: - action @@ -159399,13 +159690,13 @@ x-webhooks: type: string enum: - closed - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: &756 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: &759 allOf: - - *569 + - *571 - type: object properties: allow_auto_merge: @@ -159467,7 +159758,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *708 + repository: *711 sender: *4 required: - action @@ -159548,12 +159839,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -159633,11 +159924,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *705 - milestone: *553 - number: *755 - organization: *707 - pull_request: &757 + enterprise: *708 + milestone: *555 + number: *758 + organization: *710 + pull_request: &760 title: Pull Request type: object properties: @@ -161900,7 +162191,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -161979,11 +162270,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -164265,7 +164556,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *708 + repository: *711 sender: *4 required: - action @@ -164389,12 +164680,12 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -164474,11 +164765,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -166745,7 +167036,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -166825,11 +167116,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *705 - installation: *706 - label: *724 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + label: *727 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -169111,7 +169402,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -169192,10 +169483,10 @@ x-webhooks: type: string enum: - locked - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -171475,7 +171766,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -171555,12 +171846,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *705 - milestone: *553 - number: *755 - organization: *707 - pull_request: *757 - repository: *708 + enterprise: *708 + milestone: *555 + number: *758 + organization: *710 + pull_request: *760 + repository: *711 sender: *4 required: - action @@ -171639,12 +171930,12 @@ x-webhooks: type: string enum: - opened - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -171725,12 +172016,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -171810,12 +172101,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *705 - installation: *706 - number: *755 - organization: *707 - pull_request: *756 - repository: *708 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 + pull_request: *759 + repository: *711 sender: *4 required: - action @@ -172181,9 +172472,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: type: object properties: @@ -174353,7 +174644,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *708 + repository: *711 sender: *4 required: - action @@ -174433,7 +174724,7 @@ x-webhooks: type: string enum: - deleted - comment: &759 + comment: &762 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -174718,9 +175009,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: type: object properties: @@ -176878,7 +177169,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *708 + repository: *711 sender: *4 required: - action @@ -176958,11 +177249,11 @@ x-webhooks: type: string enum: - edited - changes: *758 - comment: *759 - enterprise: *705 - installation: *706 - organization: *707 + changes: *761 + comment: *762 + enterprise: *708 + installation: *709 + organization: *710 pull_request: type: object properties: @@ -179123,7 +179414,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *708 + repository: *711 sender: *4 required: - action @@ -179204,9 +179495,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -181379,7 +181670,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 + repository: *711 review: description: The review that was affected. type: object @@ -181626,9 +181917,9 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -183682,8 +183973,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 - review: &760 + repository: *711 + review: &763 description: The review that was affected. type: object properties: @@ -183916,12 +184207,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -186204,7 +186495,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_reviewer: title: User type: object @@ -186288,12 +186579,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -188583,7 +188874,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188775,12 +189066,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -191065,7 +191356,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_reviewer: title: User type: object @@ -191150,12 +191441,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *705 - installation: *706 + enterprise: *708 + installation: *709 number: description: The pull request number. type: integer - organization: *707 + organization: *710 pull_request: title: Pull Request type: object @@ -193431,7 +193722,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193612,9 +193903,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -195789,8 +196080,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 - review: *760 + repository: *711 + review: *763 sender: *4 required: - action @@ -195870,9 +196161,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -197942,7 +198233,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 + repository: *711 sender: *4 thread: type: object @@ -198329,9 +198620,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 pull_request: title: Simple Pull Request type: object @@ -200387,7 +200678,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *708 + repository: *711 sender: *4 thread: type: object @@ -200777,10 +201068,10 @@ x-webhooks: type: string before: type: string - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -203051,7 +203342,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -203133,11 +203424,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *761 - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + assignee: *764 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -205420,7 +205711,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -205499,11 +205790,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *705 - installation: *706 - label: *724 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + label: *727 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -207776,7 +208067,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -207857,10 +208148,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *705 - installation: *706 - number: *755 - organization: *707 + enterprise: *708 + installation: *709 + number: *758 + organization: *710 pull_request: title: Pull Request type: object @@ -210125,7 +210416,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *708 + repository: *711 sender: *4 required: - action @@ -210325,7 +210616,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *705 + enterprise: *708 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210417,8 +210708,8 @@ x-webhooks: - url - author - committer - installation: *706 - organization: *707 + installation: *709 + organization: *710 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210993,9 +211284,9 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 registry_package: type: object properties: @@ -211441,7 +211732,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *742 + items: *745 summary: type: string tag_name: @@ -211495,7 +211786,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -211573,9 +211864,9 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 registry_package: type: object properties: @@ -211883,7 +212174,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *742 + items: *745 summary: type: string tag_name: @@ -211932,7 +212223,7 @@ x-webhooks: - owner - package_version - registry - repository: *708 + repository: *711 sender: *4 required: - action @@ -212009,10 +212300,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - release: &762 + enterprise: *708 + installation: *709 + organization: *710 + release: &765 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -212330,7 +212621,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *708 + repository: *711 sender: *4 required: - action @@ -212407,11 +212698,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - release: *762 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *765 + repository: *711 sender: *4 required: - action @@ -212528,11 +212819,11 @@ x-webhooks: type: boolean required: - to - enterprise: *705 - installation: *706 - organization: *707 - release: *762 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *765 + repository: *711 sender: *4 required: - action @@ -212610,9 +212901,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -212934,7 +213225,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *708 + repository: *711 sender: *4 required: - action @@ -213010,10 +213301,10 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 - release: &763 + enterprise: *708 + installation: *709 + organization: *710 + release: &766 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -213332,7 +213623,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *708 + repository: *711 sender: *4 required: - action @@ -213408,11 +213699,11 @@ x-webhooks: type: string enum: - released - enterprise: *705 - installation: *706 - organization: *707 - release: *762 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *765 + repository: *711 sender: *4 required: - action @@ -213488,11 +213779,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *705 - installation: *706 - organization: *707 - release: *763 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + release: *766 + repository: *711 sender: *4 required: - action @@ -213568,11 +213859,11 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_advisory: *625 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_advisory: *627 sender: *4 required: - action @@ -213648,11 +213939,11 @@ x-webhooks: type: string enum: - reported - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_advisory: *625 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_advisory: *627 sender: *4 required: - action @@ -213728,10 +214019,10 @@ x-webhooks: type: string enum: - archived - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -213808,10 +214099,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -213889,10 +214180,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -213976,10 +214267,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214091,10 +214382,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214166,10 +214457,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 status: type: string @@ -214250,10 +214541,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214330,10 +214621,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214427,10 +214718,10 @@ x-webhooks: - name required: - repository - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -214510,11 +214801,11 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_ruleset: *288 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_ruleset: *290 sender: *4 required: - action @@ -214592,11 +214883,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_ruleset: *288 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_ruleset: *290 sender: *4 required: - action @@ -214674,11 +214965,11 @@ x-webhooks: type: string enum: - edited - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - repository_ruleset: *288 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + repository_ruleset: *290 changes: type: object properties: @@ -214697,16 +214988,16 @@ x-webhooks: properties: added: type: array - items: *263 + items: *265 deleted: type: array - items: *263 + items: *265 updated: type: array items: type: object properties: - condition: *263 + condition: *265 changes: type: object properties: @@ -214739,16 +215030,16 @@ x-webhooks: properties: added: type: array - items: *590 + items: *592 deleted: type: array - items: *590 + items: *592 updated: type: array items: type: object properties: - rule: *590 + rule: *592 changes: type: object properties: @@ -214982,10 +215273,10 @@ x-webhooks: - from required: - owner - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215063,10 +215354,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215144,7 +215435,7 @@ x-webhooks: type: string enum: - create - alert: &764 + alert: &767 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -215265,10 +215556,10 @@ x-webhooks: type: string enum: - open - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215474,10 +215765,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215555,11 +215846,11 @@ x-webhooks: type: string enum: - reopen - alert: *764 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *767 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215758,10 +216049,10 @@ x-webhooks: enum: - fixed - open - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -215839,7 +216130,7 @@ x-webhooks: type: string enum: - created - alert: &765 + alert: &768 type: object properties: number: *54 @@ -215950,10 +216241,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216034,11 +216325,11 @@ x-webhooks: type: string enum: - created - alert: *765 - installation: *706 - location: *766 - organization: *707 - repository: *708 + alert: *768 + installation: *709 + location: *769 + organization: *710 + repository: *711 sender: *4 required: - location @@ -216276,11 +216567,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216358,11 +216649,11 @@ x-webhooks: type: string enum: - reopened - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216440,11 +216731,11 @@ x-webhooks: type: string enum: - resolved - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216522,11 +216813,11 @@ x-webhooks: type: string enum: - validated - alert: *765 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + alert: *768 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -216652,10 +216943,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *708 - enterprise: *705 - installation: *706 - organization: *707 + repository: *711 + enterprise: *708 + installation: *709 + organization: *710 sender: *4 required: - action @@ -216733,11 +217024,11 @@ x-webhooks: type: string enum: - published - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - security_advisory: &767 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + security_advisory: &770 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216920,11 +217211,11 @@ x-webhooks: type: string enum: - updated - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 - security_advisory: *767 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 + security_advisory: *770 sender: *4 required: - action @@ -216997,10 +217288,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -217184,11 +217475,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *262 - enterprise: *705 - installation: *706 - organization: *707 - repository: *335 + security_and_analysis: *264 + enterprise: *708 + installation: *709 + organization: *710 + repository: *337 sender: *4 required: - changes @@ -217266,12 +217557,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: &768 + sponsorship: &771 type: object properties: created_at: @@ -217572,12 +217863,12 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - sponsorship @@ -217665,12 +217956,12 @@ x-webhooks: type: string required: - from - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - changes @@ -217747,17 +218038,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &769 + effective_date: &772 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: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - sponsorship @@ -217831,7 +218122,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &770 + changes: &773 type: object properties: tier: @@ -217875,13 +218166,13 @@ x-webhooks: - from required: - tier - effective_date: *769 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + effective_date: *772 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - changes @@ -217958,13 +218249,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *770 - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + changes: *773 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - sponsorship: *768 + sponsorship: *771 required: - action - changes @@ -218038,10 +218329,10 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218124,10 +218415,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -218547,15 +218838,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *705 + enterprise: *708 id: description: The unique identifier of the status. type: integer - installation: *706 + installation: *709 name: type: string - organization: *707 - repository: *708 + organization: *710 + repository: *711 sender: *4 sha: description: The Commit SHA. @@ -218670,9 +218961,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -218762,9 +219053,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -218854,9 +219145,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -218946,9 +219237,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *84 - installation: *706 - organization: *707 - repository: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -219025,12 +219316,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - team: &771 + team: &774 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -219253,9 +219544,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -219713,7 +220004,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -219789,9 +220080,9 @@ x-webhooks: type: string enum: - created - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -220249,7 +220540,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -220326,9 +220617,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -220786,7 +221077,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -220930,9 +221221,9 @@ x-webhooks: - from required: - permissions - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -221390,7 +221681,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - changes @@ -221468,9 +221759,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *705 - installation: *706 - organization: *707 + enterprise: *708 + installation: *709 + organization: *710 repository: title: Repository description: A git repository @@ -221928,7 +222219,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *771 + team: *774 required: - action - team @@ -222004,10 +222295,10 @@ x-webhooks: type: string enum: - started - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 required: - action @@ -222080,16 +222371,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *705 + enterprise: *708 inputs: type: object nullable: true additionalProperties: true - installation: *706 - organization: *707 + installation: *709 + organization: *710 ref: type: string - repository: *708 + repository: *711 sender: *4 workflow: type: string @@ -222171,10 +222462,10 @@ x-webhooks: type: string enum: - completed - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: allOf: @@ -222411,7 +222702,7 @@ x-webhooks: type: string required: - conclusion - deployment: *485 + deployment: *487 required: - action - repository @@ -222490,10 +222781,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: allOf: @@ -222753,7 +223044,7 @@ x-webhooks: required: - status - steps - deployment: *485 + deployment: *487 required: - action - repository @@ -222832,10 +223123,10 @@ x-webhooks: type: string enum: - queued - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: type: object @@ -222970,7 +223261,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *487 required: - action - repository @@ -223049,10 +223340,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 workflow_job: type: object @@ -223188,7 +223479,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *485 + deployment: *487 required: - action - repository @@ -223268,12 +223559,12 @@ x-webhooks: type: string enum: - completed - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Workflow Run type: object @@ -224272,12 +224563,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Workflow Run type: object @@ -225261,12 +225552,12 @@ x-webhooks: type: string enum: - requested - enterprise: *705 - installation: *706 - organization: *707 - repository: *708 + enterprise: *708 + installation: *709 + organization: *710 + repository: *711 sender: *4 - workflow: *720 + workflow: *723 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 0b9b7271b..3b24bb2c2 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -57603,6 +57603,434 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -89044,6 +89472,395 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -662928,6 +663745,382 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index cda524180..bda9a9fff 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &407 + type: &411 type: string description: The type of credit the user is receiving. enum: @@ -996,7 +996,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &227 + schema: &231 title: Validation Error Simple description: Validation Error Simple type: object @@ -1029,7 +1029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &733 + - &737 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1147,7 +1147,7 @@ paths: GitHub. type: object nullable: true - properties: &184 + properties: &186 id: description: Unique identifier of the GitHub app example: 37 @@ -1280,7 +1280,7 @@ paths: about itself. example: 5 type: integer - required: &185 + required: &187 - id - node_id - owner @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &315 + - &319 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &316 + items: &320 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &317 + default: &321 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &743 + schema: &747 title: Scim Error description: Scim Error type: object @@ -1740,7 +1740,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &226 + schema: &230 title: Validation Error description: Validation Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &322 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &319 + default: &323 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2124,7 +2124,7 @@ paths: parameters: - *17 - *19 - - &189 + - &191 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2872,7 +2872,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &385 + properties: &389 id: description: Unique identifier of the repository example: 42 @@ -2892,7 +2892,7 @@ paths: title: License Simple description: License Simple type: object - properties: &200 + properties: &202 key: type: string example: mit @@ -2914,7 +2914,7 @@ paths: html_url: type: string format: uri - required: &201 + required: &203 - key - name - url @@ -3310,7 +3310,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &386 + required: &390 - archive_url - assignees_url - blobs_url @@ -7467,7 +7467,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &232 type: object properties: total_active_caches_count: @@ -7482,7 +7482,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &229 + default: &233 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7666,7 +7666,7 @@ paths: - public_ip_enabled - platform examples: - default: &230 + default: &234 value: total_count: 2 runners: @@ -7952,7 +7952,7 @@ paths: description: Response content: application/json: - schema: &231 + schema: &235 type: object properties: public_ips: @@ -7977,7 +7977,7 @@ paths: required: - public_ips examples: - default: &232 + default: &236 value: public_ips: current_usage: 17 @@ -8017,7 +8017,7 @@ paths: type: array items: *47 examples: - default: &233 + default: &237 value: id: 4-core cpu_cores: 4 @@ -8274,7 +8274,7 @@ paths: - all - local_only - selected - selected_actions_url: &236 + selected_actions_url: &240 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` @@ -8354,7 +8354,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &238 + schema: &242 type: object properties: days: @@ -8372,7 +8372,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &744 + '401': &748 description: Authorization failure '404': *6 x-github: @@ -8400,7 +8400,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &243 type: object properties: days: @@ -8449,7 +8449,7 @@ paths: required: - approval_policy examples: - default: &240 + default: &244 value: approval_policy: first_time_contributors '404': *6 @@ -8507,7 +8507,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &245 type: object required: - run_workflows_from_fork_pull_requests @@ -8561,7 +8561,7 @@ paths: required: true content: application/json: - schema: &242 + schema: &246 type: object required: - run_workflows_from_fork_pull_requests @@ -8984,7 +8984,7 @@ paths: description: Success response content: application/json: - schema: &245 + schema: &249 type: object properties: default_workflow_permissions: &58 @@ -9032,7 +9032,7 @@ paths: required: true content: application/json: - schema: &246 + schema: &250 type: object properties: default_workflow_permissions: *58 @@ -9868,7 +9868,7 @@ paths: application/json: schema: type: array - items: &250 + items: &254 title: Runner Application description: Runner Application type: object @@ -9893,7 +9893,7 @@ paths: - download_url - filename examples: - default: &251 + default: &255 value: - os: osx architecture: x64 @@ -9977,7 +9977,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &252 + '201': &256 description: Response content: application/json: @@ -10092,7 +10092,7 @@ paths: - token - expires_at examples: - default: &253 + default: &257 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10132,7 +10132,7 @@ paths: application/json: schema: *70 examples: - default: &254 + default: &258 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10164,7 +10164,7 @@ paths: application/json: schema: *67 examples: - default: &255 + default: &259 value: id: 23 name: MBP @@ -10380,7 +10380,7 @@ paths: - *41 - *66 responses: - '200': &256 + '200': &260 description: Response content: application/json: @@ -10436,7 +10436,7 @@ paths: parameters: - *41 - *66 - - &257 + - &261 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10527,7 +10527,7 @@ paths: required: true content: application/json: - schema: &264 + schema: &268 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11168,7 +11168,7 @@ paths: required: false schema: type: string - - &265 + - &269 name: include description: |- The event types to include: @@ -11186,7 +11186,7 @@ paths: - web - git - all - - &266 + - &270 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. @@ -11194,7 +11194,7 @@ paths: required: false schema: type: string - - &267 + - &271 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. @@ -11202,7 +11202,7 @@ paths: required: false schema: type: string - - &268 + - &272 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11224,7 +11224,7 @@ paths: application/json: schema: type: array - items: &269 + items: &273 type: object properties: "@timestamp": @@ -11346,7 +11346,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &270 + default: &274 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12012,7 +12012,7 @@ paths: application/json: schema: type: array - items: &271 + items: &275 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12173,7 +12173,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &276 value: - id: 21 number: 42 @@ -12278,7 +12278,7 @@ paths: application/json: schema: type: array - items: &274 + items: &278 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12403,7 +12403,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &275 + default: &279 value: - id: 21 number: 42 @@ -12488,7 +12488,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &280 + - &284 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`, @@ -12498,7 +12498,7 @@ paths: schema: &102 type: string description: The name of the tool used to generate the code scanning analysis. - - &281 + - &285 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 @@ -12521,7 +12521,7 @@ paths: be returned. in: query required: false - schema: &282 + schema: &286 type: string description: State of a code scanning alert. enum: @@ -12546,7 +12546,7 @@ paths: application/json: schema: type: array - items: &283 + items: &287 type: object properties: number: &113 @@ -12575,7 +12575,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &522 + instances_url: &526 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12610,7 +12610,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &523 + dismissed_reason: &527 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12619,13 +12619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &524 + dismissed_comment: &528 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &525 + rule: &529 type: object properties: id: @@ -12678,7 +12678,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &526 + tool: &530 type: object properties: name: *102 @@ -12688,15 +12688,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &527 + most_recent_instance: &531 type: object properties: - ref: &520 + ref: &524 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &537 + analysis_key: &541 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12707,7 +12707,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &538 + category: &542 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12756,7 +12756,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &216 + properties: &218 id: type: integer format: int64 @@ -12983,7 +12983,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &217 + required: &219 - archive_url - assignees_url - blobs_url @@ -13055,7 +13055,7 @@ paths: - most_recent_instance - repository examples: - default: &284 + default: &288 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13708,7 +13708,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &285 + code_scanning_options: &289 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13902,7 +13902,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &291 type: array description: A list of default code security configurations items: @@ -13918,7 +13918,7 @@ paths: default configuration: *105 examples: - default: &288 + default: &292 value: - default_for_new_repos: public configuration: @@ -14372,7 +14372,7 @@ paths: default: value: default_for_new_repos: all - configuration: &286 + configuration: &290 value: id: 1325 target_type: organization @@ -14457,7 +14457,7 @@ paths: application/json: schema: type: array - items: &289 + items: &293 type: object description: Repositories associated with a code security configuration and attachment status @@ -14481,7 +14481,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &290 + repository: &294 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14970,7 +14970,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &276 + - &280 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15045,7 +15045,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &350 + properties: &354 id: description: Unique identifier of the team type: integer @@ -15117,7 +15117,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &351 + required: &355 - id - node_id - url @@ -15143,7 +15143,7 @@ paths: - slug - parent - type - - &176 + - &178 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15705,7 +15705,7 @@ paths: application/json: schema: type: array - items: &173 + items: &175 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16012,7 +16012,7 @@ paths: - date additionalProperties: true examples: - default: &174 + default: &176 value: - date: '2024-06-24' total_active_users: 24 @@ -16114,7 +16114,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &175 + '422': &177 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16144,7 +16144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &297 + - &301 name: state in: query description: |- @@ -16153,7 +16153,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &298 + - &302 name: severity in: query description: |- @@ -16162,7 +16162,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &299 + - &303 name: ecosystem in: query description: |- @@ -16171,14 +16171,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &300 + - &304 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 - - &301 + - &305 name: epss_percentage in: query description: |- @@ -16190,7 +16190,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &302 + - &306 name: has in: query description: |- @@ -16204,7 +16204,7 @@ paths: type: string enum: - patch - - &303 + - &307 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16214,7 +16214,7 @@ paths: enum: - development - runtime - - &304 + - &308 name: sort in: query description: |- @@ -16232,7 +16232,7 @@ paths: - *101 - *99 - *100 - - &305 + - &309 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16245,7 +16245,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &306 + - &310 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16265,7 +16265,7 @@ paths: application/json: schema: type: array - items: &307 + items: &311 type: object description: A Dependabot alert. properties: @@ -16328,7 +16328,7 @@ paths: - unknown - direct - transitive - security_advisory: &577 + security_advisory: &581 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16560,7 +16560,7 @@ paths: nullable: true maxLength: 280 fixed_at: *123 - auto_dismissed_at: &578 + auto_dismissed_at: &582 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16586,7 +16586,7 @@ paths: - repository additionalProperties: false examples: - default: &308 + default: &312 value: - number: 2 state: dismissed @@ -17003,7 +17003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &180 + - &182 name: username description: The handle for the GitHub user account. in: path @@ -17110,7 +17110,7 @@ paths: - name - created_on examples: - default: &418 + default: &422 value: total_count: 2 network_configurations: @@ -17333,7 +17333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &419 + - &423 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17345,7 +17345,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &424 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17379,7 +17379,7 @@ paths: - subnet_id - region examples: - default: &421 + default: &425 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17675,7 +17675,7 @@ paths: required: true content: application/json: - schema: &383 + schema: &387 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18739,7 +18739,7 @@ paths: nullable: true anyOf: - *136 - - &390 + - &394 title: Organization ruleset conditions type: object description: |- @@ -18786,7 +18786,7 @@ paths: - *139 rules: type: array - items: &699 + items: &703 title: Repository Rule type: object description: A repository rule. @@ -18795,7 +18795,7 @@ paths: - *143 - *144 - *145 - - &696 + - &700 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18889,7 +18889,7 @@ paths: - *159 - *160 - *161 - - &697 + - &701 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19145,7 +19145,7 @@ paths: type: string format: date-time examples: - default: &393 + default: &397 value: - version_id: 3 actor: @@ -19198,7 +19198,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &398 allOf: - *166 - type: object @@ -19253,7 +19253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &395 + - &399 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19264,7 +19264,7 @@ paths: enum: - open - resolved - - &396 + - &400 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19274,7 +19274,7 @@ paths: required: false schema: type: string - - &397 + - &401 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19283,7 +19283,7 @@ paths: required: false schema: type: string - - &398 + - &402 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. @@ -19299,7 +19299,7 @@ paths: - *17 - *99 - *100 - - &399 + - &403 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19308,7 +19308,7 @@ paths: required: false schema: type: string - - &400 + - &404 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19317,7 +19317,7 @@ paths: schema: type: boolean default: false - - &401 + - &405 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19326,7 +19326,7 @@ paths: schema: type: boolean default: false - - &402 + - &406 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19342,7 +19342,7 @@ paths: application/json: schema: type: array - items: &403 + items: &407 type: object properties: number: *113 @@ -19361,14 +19361,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &711 + state: &715 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: &712 + resolution: &716 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19475,8 +19475,8 @@ paths: pull request. ' - oneOf: &713 - - &715 + oneOf: &717 + - &719 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19528,7 +19528,7 @@ paths: - blob_url - commit_sha - commit_url - - &716 + - &720 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -19583,7 +19583,7 @@ paths: - page_url - commit_sha - commit_url - - &717 + - &721 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19597,7 +19597,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &718 + - &722 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19611,7 +19611,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &719 + - &723 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19625,7 +19625,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &720 + - &724 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19639,7 +19639,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &721 + - &725 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19653,7 +19653,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &722 + - &726 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19667,7 +19667,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &723 + - &727 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -19681,7 +19681,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &724 + - &728 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -19695,7 +19695,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &725 + - &729 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -19709,7 +19709,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &726 + - &730 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -19723,7 +19723,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &727 + - &731 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19743,7 +19743,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &404 + default: &408 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19933,7 +19933,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &409 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20016,7 +20016,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *168 examples: - default: &406 + default: &410 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20160,7 +20160,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &413 type: object properties: total_minutes_used: @@ -20230,7 +20230,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &410 + default: &414 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20261,7 +20261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &411 + - &415 name: advanced_security_product in: query description: | @@ -20281,7 +20281,7 @@ paths: description: Success content: application/json: - schema: &412 + schema: &416 type: object properties: total_advanced_security_committers: @@ -20336,7 +20336,7 @@ paths: required: - repositories examples: - default: &413 + default: &417 value: total_advanced_security_committers: 2 total_count: 2 @@ -20946,7 +20946,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &418 type: object properties: total_gigabytes_bandwidth_used: @@ -20964,7 +20964,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &415 + default: &419 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -20974,6 +20974,212 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - *41 + - &173 + name: year + description: If specified, only return results for a single year. The value + of `year` is an integer with four digits representing a year. For example, + `2025`. Default value is the current year. + in: query + required: false + schema: + type: integer + - &220 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. + in: query + required: false + schema: + type: integer + - &174 + name: day + description: If specified, only return results for a single day. The value + of `day` is an integer between `1` and `31`. If no `year` or `month` is + specified, the default `year` and `month` are used. + in: query + required: false + schema: + type: integer + - name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + - &221 + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &222 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &223 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *167 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -20999,7 +21205,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &420 type: object properties: days_left_in_billing_cycle: @@ -21017,7 +21223,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &417 + default: &421 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21042,16 +21248,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &218 - name: year - description: If specified, only return results for a single year. The value - of `year` is an integer with four digits representing a year. For example, - `2025`. Default value is the current year. - in: query - required: false - schema: - type: integer - - &219 + - *173 + - &224 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21060,16 +21258,8 @@ paths: required: false schema: type: integer - - &220 - name: day - description: If specified, only return results for a single day. The value - of `day` is an integer between `1` and `31`. If no `year` or `month` is - specified, the default `year` and `month` are used. - in: query - required: false - schema: - type: integer - - &221 + - *174 + - &225 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21090,7 +21280,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &222 + schema: &226 type: object properties: usageItems: @@ -21143,7 +21333,7 @@ paths: - netAmount - organizationName examples: - default: &223 + default: &227 value: usageItems: - date: '2023-08-01' @@ -21231,13 +21421,13 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: - default: *174 + default: *176 '500': *40 '403': *29 '404': *6 - '422': *175 + '422': *177 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -21264,9 +21454,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: &177 + default: &179 value: - id: 1 name: Justice League @@ -21340,9 +21530,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21360,7 +21550,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &178 + - &180 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -21379,7 +21569,7 @@ paths: type: array items: *4 examples: - default: &179 + default: &181 value: - login: octocat id: 1 @@ -21418,7 +21608,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *178 + - *180 requestBody: required: true content: @@ -21449,7 +21639,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21467,7 +21657,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *178 + - *180 requestBody: required: true content: @@ -21498,7 +21688,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21516,8 +21706,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *178 - *180 + - *182 responses: '200': description: User is a member of the enterprise team. @@ -21525,7 +21715,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &181 + exampleKey1: &183 value: login: octocat id: 1 @@ -21561,8 +21751,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *178 - *180 + - *182 responses: '201': description: Successfully added team member @@ -21570,7 +21760,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *181 + exampleKey1: *183 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21588,8 +21778,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *178 - *180 + - *182 responses: '204': description: Response @@ -21614,7 +21804,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &182 + - &184 name: team_slug description: The slug of the team name. in: path @@ -21626,9 +21816,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 headers: Link: *43 '403': *29 @@ -21648,7 +21838,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *182 + - *184 requestBody: required: true content: @@ -21691,9 +21881,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 headers: Link: *43 '403': *29 @@ -21716,7 +21906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *182 + - *184 responses: '204': description: Response @@ -21809,7 +21999,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 title: Event description: Event type: object @@ -21819,7 +22009,7 @@ paths: type: type: string nullable: true - actor: &183 + actor: &185 title: Actor description: Actor type: object @@ -21859,18 +22049,18 @@ paths: - id - name - url - org: *183 + org: *185 payload: type: object properties: action: type: string - issue: &199 + issue: &201 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &635 + properties: &639 id: type: integer format: int64 @@ -21982,7 +22172,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &375 + properties: &379 url: type: string format: uri @@ -22052,7 +22242,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &376 + required: &380 - closed_issues - creator - description @@ -22131,7 +22321,7 @@ paths: timeline_url: type: string format: uri - type: &337 + type: &341 title: Issue Type description: The type of issue. type: object @@ -22190,9 +22380,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - author_association: &186 + properties: *186 + required: *187 + author_association: &188 title: author_association type: string example: OWNER @@ -22206,7 +22396,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &187 + reactions: &189 title: Reaction Rollup type: object properties: @@ -22242,7 +22432,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &771 + sub_issues_summary: &775 title: Sub-issues Summary type: object properties: @@ -22262,7 +22452,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &772 + issue_dependencies_summary: &776 title: Issue Dependencies Summary type: object properties: @@ -22281,7 +22471,7 @@ paths: - total_blocking issue_field_values: type: array - items: &773 + items: &777 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22341,7 +22531,7 @@ paths: - node_id - data_type - value - required: &636 + required: &640 - assignee - closed_at - comments @@ -22362,7 +22552,7 @@ paths: - user - created_at - updated_at - comment: &633 + comment: &637 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -22410,7 +22600,7 @@ paths: issue_url: type: string format: uri - author_association: *186 + author_association: *188 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -22420,9 +22610,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - reactions: *187 + properties: *186 + required: *187 + reactions: *189 required: - id - node_id @@ -22598,7 +22788,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &190 title: Link With Type description: Hypermedia Link with Type type: object @@ -22610,17 +22800,17 @@ paths: required: - href - type - user: *188 - security_advisories: *188 - current_user: *188 - current_user_public: *188 - current_user_actor: *188 - current_user_organization: *188 + user: *190 + security_advisories: *190 + current_user: *190 + current_user_public: *190 + current_user_actor: *190 + current_user_organization: *190 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *190 + repository_discussions: *190 + repository_discussions_category: *190 required: - timeline - user @@ -22682,7 +22872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *189 + - *191 - *17 - *19 responses: @@ -22692,7 +22882,7 @@ paths: application/json: schema: type: array - items: &190 + items: &192 title: Base Gist description: Base Gist type: object @@ -22791,7 +22981,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &193 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22912,7 +23102,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &194 title: Gist Simple description: Gist Simple type: object @@ -22929,7 +23119,7 @@ paths: url: type: string format: uri - user: &785 + user: &789 title: Public User description: Public User type: object @@ -23291,7 +23481,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &195 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -23395,7 +23585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *191 - *17 - *19 responses: @@ -23405,9 +23595,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *43 '422': *15 @@ -23429,7 +23619,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *191 - *17 - *19 responses: @@ -23439,9 +23629,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *43 '401': *25 @@ -23469,7 +23659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &196 name: gist_id description: The unique identifier of the gist. in: path @@ -23481,10 +23671,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *194 examples: - default: *193 - '403': &197 + default: *195 + '403': &199 description: Forbidden Gist content: application/json: @@ -23532,7 +23722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *196 requestBody: required: true content: @@ -23592,9 +23782,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *194 examples: - updateGist: *193 + updateGist: *195 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -23752,7 +23942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *196 responses: '204': description: Response @@ -23781,7 +23971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *196 - *17 - *19 responses: @@ -23791,7 +23981,7 @@ paths: application/json: schema: type: array - items: &195 + items: &197 title: Gist Comment description: A comment made to a gist. type: object @@ -23826,7 +24016,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *186 + author_association: *188 required: - url - id @@ -23891,7 +24081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *196 requestBody: required: true content: @@ -23916,9 +24106,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: &196 + default: &198 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -23976,8 +24166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *196 + - &200 name: comment_id description: The unique identifier of the comment. in: path @@ -23990,12 +24180,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '304': *37 '404': *6 - '403': *197 + '403': *199 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24017,8 +24207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *196 + - *200 requestBody: required: true content: @@ -24043,9 +24233,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '404': *6 x-github: githubCloudOnly: false @@ -24062,8 +24252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *196 + - *200 responses: '204': description: Response @@ -24086,7 +24276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *196 - *17 - *19 responses: @@ -24187,7 +24377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *196 - *17 - *19 responses: @@ -24197,7 +24387,7 @@ paths: application/json: schema: type: array - items: *192 + items: *194 examples: default: value: @@ -24262,13 +24452,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *196 responses: '201': description: Response content: application/json: - schema: *190 + schema: *192 examples: default: value: @@ -24339,7 +24529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *194 + - *196 responses: '204': description: Response if gist is starred @@ -24369,7 +24559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *196 responses: '204': description: Response @@ -24391,7 +24581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *196 responses: '204': description: Response @@ -24420,7 +24610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *196 - name: sha in: path required: true @@ -24431,9 +24621,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *194 examples: - default: *193 + default: *195 '422': *15 '404': *6 '403': *29 @@ -24799,7 +24989,7 @@ paths: - closed - all default: open - - &340 + - &344 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -24818,7 +25008,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - name: collab in: query required: false @@ -24848,9 +25038,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: &341 + default: &345 value: - id: 1 node_id: MDU6SXNzdWUx @@ -25134,8 +25324,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 examples: default: value: @@ -25420,7 +25610,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &202 + X-CommonMarker-Version: &204 example: 0.17.4 schema: type: string @@ -25475,7 +25665,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *202 + X-CommonMarker-Version: *204 content: text/html: schema: @@ -25504,7 +25694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &205 + - &207 name: account_id description: account_id parameter in: path @@ -25516,7 +25706,7 @@ paths: description: Response content: application/json: - schema: &204 + schema: &206 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -25546,7 +25736,7 @@ paths: nullable: true id: type: integer - plan: &203 + plan: &205 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -25635,7 +25825,7 @@ paths: nullable: true updated_at: type: string - plan: *203 + plan: *205 required: - url - id @@ -25643,7 +25833,7 @@ paths: - login - marketplace_purchase examples: - default: &206 + default: &208 value: url: https://api.github.com/orgs/github type: Organization @@ -25728,9 +25918,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: &207 + default: &209 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -25770,14 +25960,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &208 + - &210 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &209 + - &211 name: sort description: The property to sort the results by. in: query @@ -25807,9 +25997,9 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: - default: &210 + default: &212 value: - url: https://api.github.com/orgs/github type: Organization @@ -25883,15 +26073,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *205 + - *207 responses: '200': description: Response content: application/json: - schema: *204 + schema: *206 examples: - default: *206 + default: *208 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -25923,9 +26113,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *207 + default: *209 headers: Link: *43 '401': *25 @@ -25948,8 +26138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *208 - - *209 + - *210 + - *211 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -25969,9 +26159,9 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: - default: *210 + default: *212 headers: Link: *43 '401': *25 @@ -26235,14 +26425,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: - - &441 + - &445 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &442 + - &446 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26259,7 +26449,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -26313,7 +26503,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &455 + '301': &459 description: Moved permanently content: application/json: @@ -26335,7 +26525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &665 + - &669 name: all description: If `true`, show notifications marked as read. in: query @@ -26343,7 +26533,7 @@ paths: schema: type: boolean default: false - - &666 + - &670 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -26352,8 +26542,8 @@ paths: schema: type: boolean default: false - - *189 - - &667 + - *191 + - &671 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: @@ -26378,18 +26568,18 @@ paths: application/json: schema: type: array - items: &212 + items: &214 title: Thread description: Thread type: object properties: id: type: string - repository: &249 + repository: &253 title: Minimal Repository description: Minimal Repository type: object - properties: &310 + properties: &314 id: type: integer format: int64 @@ -26665,7 +26855,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &387 + security_and_analysis: &391 nullable: true type: object properties: @@ -26747,7 +26937,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &311 + required: &315 - archive_url - assignees_url - blobs_url @@ -26835,7 +27025,7 @@ paths: - url - subscription_url examples: - default: &668 + default: &672 value: - id: '1' repository: @@ -27001,7 +27191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &213 + - &215 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -27015,7 +27205,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -27118,7 +27308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *213 + - *215 responses: '205': description: Reset Content @@ -27141,7 +27331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *213 + - *215 responses: '204': description: No content @@ -27164,13 +27354,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: &214 + schema: &216 title: Thread Subscription description: Thread Subscription type: object @@ -27207,7 +27397,7 @@ paths: - url - subscribed examples: - default: &215 + default: &217 value: subscribed: true ignored: false @@ -27238,7 +27428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *213 + - *215 requestBody: required: false content: @@ -27259,9 +27449,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '304': *37 '403': *29 '401': *25 @@ -27284,7 +27474,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *213 + - *215 responses: '204': description: Response @@ -27381,7 +27571,7 @@ paths: type: array items: *64 examples: - default: &802 + default: &806 value: - login: github id: 1 @@ -27445,7 +27635,7 @@ paths: type: integer custom_roles: type: array - items: &292 + items: &296 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -27493,7 +27683,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &297 value: id: 8030 name: Security Engineer @@ -27584,8 +27774,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *216 - required: *217 + properties: *218 + required: *219 nullable: true additionalProperties: false examples: @@ -27790,6 +27980,142 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - *78 + - *173 + - *220 + - *174 + - *221 + - *222 + - *223 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *167 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -27805,18 +28131,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *78 - - *218 - - *219 - - *220 - - *221 + - *173 + - *224 + - *174 + - *225 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *222 + schema: *226 examples: - default: *223 + default: *227 '400': *14 '403': *29 '500': *40 @@ -27852,7 +28178,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &228 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -28185,7 +28511,7 @@ paths: - updated_at - archived_at examples: - default-response: &225 + default-response: &229 value: login: github id: 1 @@ -28510,17 +28836,17 @@ paths: description: Response content: application/json: - schema: *224 + schema: *228 examples: - default: *225 + default: *229 '422': description: Validation failed content: application/json: schema: oneOf: - - *226 - - *227 + - *230 + - *231 '409': *109 x-github: githubCloudOnly: false @@ -28575,9 +28901,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *232 examples: - default: *229 + default: *233 headers: Link: *43 x-github: @@ -28618,7 +28944,7 @@ paths: type: integer repository_cache_usages: type: array - items: &460 + items: &464 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -28693,7 +29019,7 @@ paths: type: array items: *44 examples: - default: *230 + default: *234 headers: Link: *43 x-github: @@ -28877,9 +29203,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: *232 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28915,7 +29241,7 @@ paths: type: array items: *47 examples: - default: *233 + default: *237 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29098,7 +29424,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &234 + schema: &238 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -29112,7 +29438,7 @@ paths: required: - include_claim_keys examples: - default: &235 + default: &239 value: include_claim_keys: - repo @@ -29139,15 +29465,15 @@ paths: required: true content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 responses: '201': description: Empty response content: application/json: - schema: &260 + schema: &264 title: Empty Object description: An object without any properties. type: object @@ -29186,7 +29512,7 @@ paths: schema: type: object properties: - enabled_repositories: &237 + enabled_repositories: &241 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -29200,7 +29526,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *51 - selected_actions_url: *236 + selected_actions_url: *240 sha_pinning_required: *52 required: - enabled_repositories @@ -29242,7 +29568,7 @@ paths: schema: type: object properties: - enabled_repositories: *237 + enabled_repositories: *241 allowed_actions: *51 sha_pinning_required: *52 required: @@ -29278,7 +29604,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: response: summary: Example response @@ -29309,7 +29635,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *243 examples: application/json: value: @@ -29347,7 +29673,7 @@ paths: application/json: schema: *53 examples: - default: *240 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -29404,7 +29730,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *245 examples: default: *54 '403': *29 @@ -29429,7 +29755,7 @@ paths: required: true content: application/json: - schema: *242 + schema: *246 examples: default: *54 responses: @@ -29481,7 +29807,7 @@ paths: type: array items: *69 examples: - default: &244 + default: &248 value: total_count: 1 repositories: @@ -29666,7 +29992,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *78 - - &243 + - &247 name: repository_id description: The unique identifier of the repository. in: path @@ -29695,7 +30021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *78 - - *243 + - *247 responses: '204': description: Response @@ -29891,7 +30217,7 @@ paths: type: array items: *69 examples: - default: *244 + default: *248 '403': *29 '404': *6 x-github: @@ -29960,7 +30286,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *78 - - *243 + - *247 responses: '204': description: No content @@ -29987,7 +30313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *78 - - *243 + - *247 responses: '204': description: No content @@ -30021,7 +30347,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: default: *60 x-github: @@ -30055,7 +30381,7 @@ paths: required: false content: application/json: - schema: *246 + schema: *250 examples: default: *60 x-github: @@ -30102,7 +30428,7 @@ paths: type: number runner_groups: type: array - items: &247 + items: &251 type: object properties: id: @@ -30290,9 +30616,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: &248 + default: &252 value: id: 2 name: octo-runner-group @@ -30334,7 +30660,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: default: value: @@ -30425,9 +30751,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30491,7 +30817,7 @@ paths: type: array items: *44 examples: - default: *230 + default: *234 headers: Link: *43 x-github: @@ -30532,9 +30858,9 @@ paths: type: number repositories: type: array - items: *249 + items: *253 examples: - default: &788 + default: &792 value: total_count: 1 repositories: @@ -30833,7 +31159,7 @@ paths: parameters: - *78 - *63 - - *243 + - *247 responses: '204': description: Response @@ -30857,7 +31183,7 @@ paths: parameters: - *78 - *63 - - *243 + - *247 responses: '204': description: Response @@ -31075,9 +31401,9 @@ paths: application/json: schema: type: array - items: *250 + items: *254 examples: - default: *251 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31142,7 +31468,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *252 + '201': *256 '404': *6 '422': *7 '409': *109 @@ -31181,7 +31507,7 @@ paths: application/json: schema: *70 examples: - default: *253 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31217,7 +31543,7 @@ paths: application/json: schema: *70 examples: - default: *254 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31248,7 +31574,7 @@ paths: application/json: schema: *67 examples: - default: *255 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31423,7 +31749,7 @@ paths: - *78 - *66 responses: - '200': *256 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -31452,7 +31778,7 @@ paths: parameters: - *78 - *66 - - *257 + - *261 responses: '200': *72 '404': *6 @@ -31497,7 +31823,7 @@ paths: type: integer secrets: type: array - items: &258 + items: &262 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -31576,7 +31902,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &484 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -31605,7 +31931,7 @@ paths: - key_id - key examples: - default: &481 + default: &485 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31631,7 +31957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *78 - - &259 + - &263 name: secret_name description: The name of the secret. in: path @@ -31643,7 +31969,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: default: value: @@ -31674,7 +32000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -31731,7 +32057,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -31758,7 +32084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -31785,7 +32111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 - *19 - *17 responses: @@ -31803,9 +32129,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: &263 + default: &267 value: total_count: 1 repositories: @@ -31898,7 +32224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -31951,7 +32277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -31985,7 +32311,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -32018,7 +32344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *78 - - &465 + - &469 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)." @@ -32042,7 +32368,7 @@ paths: type: integer variables: type: array - items: &261 + items: &265 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -32175,7 +32501,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -32201,7 +32527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *78 - - &262 + - &266 name: name description: The name of the variable. in: path @@ -32213,7 +32539,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: default: value: @@ -32244,7 +32570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *78 - - *262 + - *266 requestBody: required: true content: @@ -32307,7 +32633,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *78 - - *262 + - *266 responses: '204': description: Response @@ -32334,7 +32660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *78 - - *262 + - *266 - *19 - *17 responses: @@ -32352,9 +32678,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *263 + default: *267 '409': description: Response when the visibility of the variable is not set to `selected` @@ -32381,7 +32707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *78 - - *262 + - *266 requestBody: required: true content: @@ -32431,7 +32757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *78 - - *262 + - *266 - name: repository_id in: path required: true @@ -32466,7 +32792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *78 - - *262 + - *266 - name: repository_id in: path required: true @@ -32524,7 +32850,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *268 examples: default: *76 parameters: @@ -32815,12 +33141,12 @@ paths: required: - subject_digests examples: - default: &817 + default: &821 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &818 + withPredicateType: &822 value: subject_digests: - sha256:abc123 @@ -32878,7 +33204,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &819 + default: &823 value: attestations_subject_digests: - sha256:abc: @@ -33174,7 +33500,7 @@ paths: initiator: type: string examples: - default: &494 + default: &498 value: attestations: - bundle: @@ -33300,10 +33626,10 @@ paths: required: false schema: type: string - - *265 - - *266 - - *267 - - *268 + - *269 + - *270 + - *271 + - *272 - *17 responses: '200': @@ -33312,9 +33638,9 @@ paths: application/json: schema: type: array - items: *269 + items: *273 examples: - default: *270 + default: *274 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33343,7 +33669,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33363,7 +33689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: If the user is blocked @@ -33389,7 +33715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -33410,7 +33736,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -33437,7 +33763,7 @@ paths: subcategory: bypass-requests parameters: - *78 - - &273 + - &277 name: repository_name description: The name of the repository to filter on. in: query @@ -33456,9 +33782,9 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: - default: *272 + default: *276 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -33482,7 +33808,7 @@ paths: subcategory: delegated-bypass parameters: - *78 - - *273 + - *277 - *94 - *95 - *96 @@ -33496,9 +33822,9 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -33525,7 +33851,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &277 + schema: &281 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -33551,7 +33877,7 @@ paths: application/json: schema: type: array - items: &278 + items: &282 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -33582,7 +33908,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *276 + items: *280 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -33600,7 +33926,7 @@ paths: type: string format: date-time nullable: true - state: *277 + state: *281 contact_link: description: The contact link of the campaign. type: string @@ -33815,9 +34141,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: &279 + default: &283 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -33900,9 +34226,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: *279 + default: *283 '404': *6 '422': description: Unprocessable Entity @@ -33979,7 +34305,7 @@ paths: type: string format: uri nullable: true - state: *277 + state: *281 examples: default: value: @@ -33989,9 +34315,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: *279 + default: *283 '400': description: Bad Request content: @@ -34058,8 +34384,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - *280 - - *281 + - *284 + - *285 - *99 - *100 - *19 @@ -34070,7 +34396,7 @@ paths: be returned. in: query required: false - schema: *282 + schema: *286 - name: sort description: The property by which to sort the results. in: query @@ -34086,7 +34412,7 @@ paths: be returned. in: query required: false - schema: &521 + schema: &525 type: string description: Severity of a code scanning alert. enum: @@ -34104,9 +34430,9 @@ paths: application/json: schema: type: array - items: *283 + items: *287 examples: - default: *284 + default: *288 headers: Link: *43 '404': *6 @@ -34321,7 +34647,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *285 + code_scanning_options: *289 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -34464,7 +34790,7 @@ paths: application/json: schema: *105 examples: - default: *286 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34492,9 +34818,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *291 examples: - default: *288 + default: *292 '304': *37 '403': *29 '404': *6 @@ -34581,7 +34907,7 @@ paths: application/json: schema: *105 examples: - default: *286 + default: *290 '304': *37 '403': *29 '404': *6 @@ -35003,7 +35329,7 @@ paths: default: value: default_for_new_repos: all - configuration: *286 + configuration: *290 '403': *29 '404': *6 x-github: @@ -35056,13 +35382,13 @@ paths: application/json: schema: type: array - items: *289 + items: *293 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *290 + repository: *294 '403': *29 '404': *6 x-github: @@ -35102,7 +35428,7 @@ paths: type: integer codespaces: type: array - items: &342 + items: &346 type: object title: Codespace description: A codespace. @@ -35127,12 +35453,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *249 + repository: *253 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &550 + properties: &554 name: type: string description: The name of the machine. @@ -35174,7 +35500,7 @@ paths: - ready - in_progress nullable: true - required: &551 + required: &555 - name - display_name - operating_system @@ -35379,7 +35705,7 @@ paths: - pulls_url - recent_folders examples: - default: &343 + default: &347 value: total_count: 3 codespaces: @@ -36003,7 +36329,7 @@ paths: type: integer secrets: type: array - items: &291 + items: &295 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -36042,7 +36368,7 @@ paths: - updated_at - visibility examples: - default: &552 + default: &556 value: total_count: 2 secrets: @@ -36080,7 +36406,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &557 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -36109,7 +36435,7 @@ paths: - key_id - key examples: - default: &554 + default: &558 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36133,15 +36459,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '200': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: &556 + default: &560 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -36169,7 +36495,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -36224,7 +36550,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -36251,7 +36577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -36277,7 +36603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 - *19 - *17 responses: @@ -36295,9 +36621,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *263 + default: *267 '404': *6 x-github: githubCloudOnly: false @@ -36320,7 +36646,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -36371,7 +36697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -36405,7 +36731,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -36994,13 +37320,13 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: - default: *174 + default: *176 '500': *40 '403': *29 '404': *6 - '422': *175 + '422': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37212,7 +37538,7 @@ paths: type: integer custom_roles: type: array - items: *292 + items: *296 examples: default: value: @@ -37304,7 +37630,7 @@ paths: required: true content: application/json: - schema: &295 + schema: &299 type: object properties: name: @@ -37345,9 +37671,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37372,7 +37698,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *78 - - &294 + - &298 name: role_id description: The unique identifier of the role. in: path @@ -37384,9 +37710,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -37409,12 +37735,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *78 - - *294 + - *298 requestBody: required: true content: application/json: - schema: &296 + schema: &300 type: object properties: name: @@ -37452,9 +37778,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37479,7 +37805,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *78 - - *294 + - *298 responses: '204': description: Response @@ -37512,7 +37838,7 @@ paths: required: true content: application/json: - schema: *295 + schema: *299 examples: default: value: @@ -37526,9 +37852,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37559,15 +37885,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *78 - - *294 + - *298 responses: '200': description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -37596,12 +37922,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *78 - - *294 + - *298 requestBody: required: true content: application/json: - schema: *296 + schema: *300 examples: default: value: @@ -37616,9 +37942,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37649,7 +37975,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *78 - - *294 + - *298 responses: '204': description: Response @@ -37678,11 +38004,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *78 - - *297 - - *298 - - *299 - - *300 - *301 + - *302 + - *303 + - *304 + - *305 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37698,14 +38024,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *302 - - *303 - - *304 + - *306 + - *307 + - *308 - *101 - *99 - *100 - - *305 - - *306 + - *309 + - *310 - *17 responses: '200': @@ -37714,9 +38040,9 @@ paths: application/json: schema: type: array - items: *307 + items: *311 examples: - default: *308 + default: *312 '304': *37 '400': *14 '403': *29 @@ -37760,7 +38086,7 @@ paths: type: integer secrets: type: array - items: &309 + items: &313 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37837,7 +38163,7 @@ paths: description: Response content: application/json: - schema: &581 + schema: &585 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37854,7 +38180,7 @@ paths: - key_id - key examples: - default: &582 + default: &586 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37878,13 +38204,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '200': description: Response content: application/json: - schema: *309 + schema: *313 examples: default: value: @@ -37913,7 +38239,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -37968,7 +38294,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -37993,7 +38319,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -38018,7 +38344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 - *19 - *17 responses: @@ -38036,9 +38362,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *263 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38060,7 +38386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -38111,7 +38437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -38143,7 +38469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -38180,7 +38506,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - &590 + - &594 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -38188,7 +38514,7 @@ paths: required: false schema: type: string - - &591 + - &595 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -38196,7 +38522,7 @@ paths: required: false schema: type: string - - &592 + - &596 name: time_period description: |- The time period to filter by. @@ -38212,7 +38538,7 @@ paths: - week - month default: month - - &593 + - &597 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -38227,7 +38553,7 @@ paths: - denied - all default: all - - *273 + - *277 - *17 - *19 responses: @@ -38237,7 +38563,7 @@ paths: application/json: schema: type: array - items: &594 + items: &598 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -38393,7 +38719,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &595 + default: &599 value: - id: 21 number: 42 @@ -38480,11 +38806,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - *273 + - *277 - *94 - *95 - *96 - - &596 + - &600 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -38510,7 +38836,7 @@ paths: application/json: schema: type: array - items: &597 + items: &601 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -38631,7 +38957,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &598 + default: &602 value: - id: 21 number: 42 @@ -38719,7 +39045,7 @@ paths: application/json: schema: type: array - items: &353 + items: &357 title: Package description: A software package type: object @@ -38769,8 +39095,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *310 - required: *311 + properties: *314 + required: *315 nullable: true created_at: type: string @@ -38789,7 +39115,7 @@ paths: - created_at - updated_at examples: - default: &354 + default: &358 value: - id: 197 name: hello_docker @@ -38877,7 +39203,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: 200-response: value: @@ -38973,7 +39299,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &440 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -39054,7 +39380,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &437 + default: &441 value: group_id: '123' group_name: Octocat admins @@ -39109,7 +39435,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &438 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -39146,7 +39472,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &435 + default: &439 value: groups: - group_id: '123' @@ -39190,7 +39516,7 @@ paths: application/json: schema: type: array - items: &334 + items: &338 title: Organization Invitation description: Organization Invitation type: object @@ -39237,7 +39563,7 @@ paths: - invitation_teams_url - node_id examples: - default: &335 + default: &339 value: - id: 1 login: monalisa @@ -39304,7 +39630,7 @@ paths: application/json: schema: type: array - items: &388 + items: &392 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -39318,7 +39644,7 @@ paths: - name - description examples: - default: &389 + default: &393 value: - name: add_assignee description: Assign or remove a user @@ -39359,7 +39685,7 @@ paths: application/json: schema: type: array - items: &312 + items: &316 title: Org Hook description: Org Hook type: object @@ -39528,9 +39854,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: &313 + default: &317 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39575,7 +39901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &314 + - &318 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. @@ -39588,9 +39914,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 '404': *6 x-github: githubCloudOnly: false @@ -39612,7 +39938,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *314 + - *318 requestBody: required: false content: @@ -39657,7 +39983,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: default: value: @@ -39697,7 +40023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *314 + - *318 responses: '204': description: Response @@ -39723,7 +40049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *314 + - *318 responses: '200': description: Response @@ -39752,7 +40078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *314 + - *318 requestBody: required: false content: @@ -39801,9 +40127,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *314 + - *318 - *17 - - *315 + - *319 responses: '200': description: Response @@ -39811,9 +40137,9 @@ paths: application/json: schema: type: array - items: *316 + items: *320 examples: - default: *317 + default: *321 '400': *14 '422': *15 x-github: @@ -39837,16 +40163,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *314 + - *318 - *16 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: *319 + default: *323 '400': *14 '422': *15 x-github: @@ -39870,7 +40196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *314 + - *318 - *16 responses: '202': *39 @@ -39897,7 +40223,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *314 + - *318 responses: '204': description: Response @@ -39920,7 +40246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &324 + - &328 name: actor_type in: path description: The type of the actor @@ -39933,14 +40259,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &325 + - &329 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &320 + - &324 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`.' @@ -39948,7 +40274,7 @@ paths: required: true schema: type: string - - &321 + - &325 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) @@ -40042,12 +40368,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *78 - - *320 - - *321 + - *324 + - *325 - *19 - *17 - *101 - - &330 + - &334 name: sort description: The property to sort the results by. in: query @@ -40126,14 +40452,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *78 - - *320 - - *321 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &322 + schema: &326 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40149,7 +40475,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &327 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40170,23 +40496,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &326 + - &330 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *320 - - *321 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *322 + schema: *326 examples: - default: *323 + default: *327 x-github: enabledForGitHubApps: true category: orgs @@ -40205,18 +40531,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 - - *320 - - *321 - *324 - *325 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *322 + schema: *326 examples: - default: *323 + default: *327 x-github: enabledForGitHubApps: true category: orgs @@ -40234,9 +40560,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *78 - - *320 - - *321 - - &327 + - *324 + - *325 + - &331 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40249,7 +40575,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &332 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40265,7 +40591,7 @@ paths: type: integer format: int64 examples: - default: &329 + default: &333 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40302,18 +40628,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *326 - - *320 - - *321 - - *327 + - *330 + - *324 + - *325 + - *331 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -40331,19 +40657,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 + - *328 + - *329 - *324 - *325 - - *320 - - *321 - - *327 + - *331 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -40361,13 +40687,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *78 - - *326 - - *320 - - *321 + - *330 + - *324 + - *325 - *19 - *17 - *101 - - *330 + - *334 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40448,7 +40774,7 @@ paths: application/json: schema: *22 examples: - default: &629 + default: &633 value: id: 1 account: @@ -40614,12 +40940,12 @@ paths: application/json: schema: anyOf: - - &332 + - &336 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &331 + limit: &335 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40644,7 +40970,7 @@ paths: properties: {} additionalProperties: false examples: - default: &333 + default: &337 value: limit: collaborators_only origin: organization @@ -40673,13 +40999,13 @@ paths: required: true content: application/json: - schema: &630 + schema: &634 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *331 + limit: *335 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40703,9 +41029,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *336 examples: - default: *333 + default: *337 '422': *15 x-github: githubCloudOnly: false @@ -40783,9 +41109,9 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: - default: *335 + default: *339 headers: Link: *43 '404': *6 @@ -40863,7 +41189,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -40920,7 +41246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &336 + - &340 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40954,7 +41280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *336 + - *340 - *17 - *19 responses: @@ -40964,9 +41290,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: &352 + default: &356 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41009,7 +41335,7 @@ paths: application/json: schema: type: array - items: *337 + items: *341 examples: default: value: @@ -41094,9 +41420,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *341 examples: - default: &338 + default: &342 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41129,7 +41455,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &339 + - &343 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41182,9 +41508,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *341 examples: - default: *338 + default: *342 '404': *6 '422': *7 x-github: @@ -41209,7 +41535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *339 + - *343 responses: '204': description: Response @@ -41272,7 +41598,7 @@ paths: - closed - all default: open - - *340 + - *344 - name: type description: Can be the name of an issue type. in: query @@ -41291,7 +41617,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - *17 - *19 responses: @@ -41301,9 +41627,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *341 + default: *345 headers: Link: *43 '404': *6 @@ -41363,7 +41689,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '422': *15 @@ -41384,7 +41710,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response if requester is an organization member and user is @@ -41419,7 +41745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -41446,7 +41772,7 @@ paths: - *17 - *19 - *78 - - *180 + - *182 responses: '200': description: Response @@ -41462,9 +41788,9 @@ paths: type: integer codespaces: type: array - items: *342 + items: *346 examples: - default: *343 + default: *347 '304': *37 '500': *40 '401': *25 @@ -41490,8 +41816,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *78 - - *180 - - &344 + - *182 + - &348 name: codespace_name in: path required: true @@ -41525,16 +41851,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *78 - - *180 - - *344 + - *182 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: &549 + default: &553 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41708,7 +42034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *78 - - *180 + - *182 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -41784,13 +42110,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: &345 + schema: &349 title: Org Membership description: Org Membership type: object @@ -41857,7 +42183,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &346 + response-if-user-has-an-active-admin-membership-with-organization: &350 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41926,7 +42252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 requestBody: required: false content: @@ -41954,9 +42280,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: - response-if-user-already-had-membership-with-organization: *346 + response-if-user-already-had-membership-with-organization: *350 '422': *15 '403': *29 x-github: @@ -41981,7 +42307,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -42027,7 +42353,7 @@ paths: application/json: schema: type: array - items: &347 + items: &351 title: Migration description: A migration. type: object @@ -42356,7 +42682,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -42535,7 +42861,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &348 + - &352 name: migration_id description: The unique identifier of the migration. in: path @@ -42562,7 +42888,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -42732,7 +43058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *348 + - *352 responses: '302': description: Response @@ -42754,7 +43080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *348 + - *352 responses: '204': description: Response @@ -42778,8 +43104,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *348 - - &801 + - *352 + - &805 name: repo_name description: repo_name parameter in: path @@ -42807,7 +43133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *348 + - *352 - *17 - *19 responses: @@ -42817,9 +43143,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: &359 + default: &363 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43028,7 +43354,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &349 + items: &353 title: Organization Role description: Organization roles type: object @@ -43235,7 +43561,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *353 examples: default: value: @@ -43287,7 +43613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -43313,8 +43639,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *78 - - *182 - - *294 + - *184 + - *298 responses: '204': description: Response @@ -43344,8 +43670,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *78 - - *182 - - *294 + - *184 + - *298 responses: '204': description: Response @@ -43371,7 +43697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -43397,8 +43723,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *78 - - *180 - - *294 + - *182 + - *298 responses: '204': description: Response @@ -43429,8 +43755,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *78 - - *180 - - *294 + - *182 + - *298 responses: '204': description: Response @@ -43459,13 +43785,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *78 - - *294 + - *298 responses: '200': description: Response content: application/json: - schema: *349 + schema: *353 examples: default: value: @@ -43523,7 +43849,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *78 - - *294 + - *298 requestBody: required: true content: @@ -43562,7 +43888,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *353 examples: default: value: @@ -43616,7 +43942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *78 - - *294 + - *298 responses: '204': description: Response @@ -43642,7 +43968,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *78 - - *294 + - *298 - *17 - *19 responses: @@ -43720,8 +44046,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *350 - required: *351 + properties: *354 + required: *355 nullable: true type: description: The ownership type of the team @@ -43753,7 +44079,7 @@ paths: - type - parent examples: - default: *352 + default: *356 headers: Link: *43 '404': @@ -43783,7 +44109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *78 - - *294 + - *298 - *17 - *19 responses: @@ -43811,13 +44137,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &408 + items: &412 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *350 - required: *351 + properties: *354 + required: *355 name: nullable: true type: string @@ -43912,7 +44238,7 @@ paths: - type - url examples: - default: *179 + default: *181 headers: Link: *43 '404': @@ -43963,7 +44289,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -43989,7 +44315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *78 - - *180 + - *182 requestBody: required: false content: @@ -44047,7 +44373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -44105,7 +44431,7 @@ paths: - nuget - container - *78 - - &803 + - &807 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44141,12 +44467,12 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *354 + default: *358 '403': *29 '401': *25 - '400': &805 + '400': &809 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44168,7 +44494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &355 + - &359 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 @@ -44186,7 +44512,7 @@ paths: - docker - nuget - container - - &356 + - &360 name: package_name description: The name of the package. in: path @@ -44199,7 +44525,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *357 examples: default: value: @@ -44251,8 +44577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 responses: '204': @@ -44285,8 +44611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - name: token description: package token @@ -44319,8 +44645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - *19 - *17 @@ -44341,7 +44667,7 @@ paths: application/json: schema: type: array - items: &357 + items: &361 title: Package Version description: A version of a software package type: object @@ -44466,10 +44792,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: - - *355 - - *356 + - *359 + - *360 - *78 - - &358 + - &362 name: package_version_id description: Unique identifier of the package version. in: path @@ -44481,7 +44807,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -44517,10 +44843,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - - *358 + - *362 responses: '204': description: Response @@ -44552,10 +44878,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - - *358 + - *362 responses: '204': description: Response @@ -44585,7 +44911,7 @@ paths: - *78 - *17 - *19 - - &360 + - &364 name: sort description: The property by which to sort the results. in: query @@ -44596,7 +44922,7 @@ paths: - created_at default: created_at - *101 - - &361 + - &365 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44607,7 +44933,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &362 + - &366 name: repository description: The name of the repository to use to filter the results. in: query @@ -44615,7 +44941,7 @@ paths: schema: type: string example: Hello-World - - &363 + - &367 name: permission description: The permission to use to filter the results. in: query @@ -44623,7 +44949,7 @@ paths: schema: type: string example: issues_read - - &364 + - &368 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) @@ -44633,7 +44959,7 @@ paths: schema: type: string format: date-time - - &365 + - &369 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) @@ -44643,7 +44969,7 @@ paths: schema: type: string format: date-time - - &366 + - &370 name: token_id description: The ID of the token in: query @@ -44954,9 +45280,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -44982,14 +45308,14 @@ paths: - *78 - *17 - *19 - - *360 - - *101 - - *361 - - *362 - - *363 - *364 + - *101 - *365 - *366 + - *367 + - *368 + - *369 + - *370 responses: '500': *40 '422': *15 @@ -45269,9 +45595,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -45313,7 +45639,7 @@ paths: type: integer configurations: type: array - items: &367 + items: &371 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45566,7 +45892,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &368 + org-private-registry-with-selected-visibility: &372 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45656,15 +45982,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *78 - - *259 + - *263 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *367 + schema: *371 examples: - default: *368 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -45686,7 +46012,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -45782,7 +46108,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -45828,7 +46154,7 @@ paths: application/json: schema: type: array - items: &369 + items: &373 title: Project description: Projects are a way to organize columns and cards of work. @@ -46001,7 +46327,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: default: value: @@ -46039,7 +46365,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &452 + '410': &456 description: Gone content: application/json: @@ -46082,7 +46408,7 @@ paths: application/json: schema: type: array - items: &370 + items: &374 title: Projects v2 Project description: A projects v2 project type: object @@ -46152,7 +46478,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &881 + properties: &885 id: type: number description: The unique identifier of the status update. @@ -46200,7 +46526,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &882 + required: &886 - id - node_id - created_at @@ -46225,7 +46551,7 @@ paths: - deleted_at - deleted_by examples: - default: &371 + default: &375 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46328,7 +46654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &372 + - &376 name: project_number description: The project's number. in: path @@ -46341,9 +46667,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: *371 + default: *375 headers: Link: *43 '304': *37 @@ -46365,7 +46691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *372 + - *376 - *78 - *17 - *99 @@ -46377,7 +46703,7 @@ paths: application/json: schema: type: array - items: &373 + items: &377 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46524,7 +46850,7 @@ paths: - updated_at - project_url examples: - default: &374 + default: &378 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46567,8 +46893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *372 - - &822 + - *376 + - &826 name: field_id description: The unique identifier of the field. in: path @@ -46581,9 +46907,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *377 examples: - default: *374 + default: *378 headers: Link: *43 '304': *37 @@ -46606,7 +46932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *372 + - *376 - *78 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -46636,7 +46962,7 @@ paths: application/json: schema: type: array - items: &380 + items: &384 title: Projects v2 Item description: An item belonging to a project type: object @@ -46652,7 +46978,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &378 + content_type: &382 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46702,7 +47028,7 @@ paths: - updated_at - archived_at examples: - default: &381 + default: &385 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47397,7 +47723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *372 + - *376 requestBody: required: true description: Details of the item to add to the project. @@ -47434,7 +47760,7 @@ paths: description: Response content: application/json: - schema: &823 + schema: &827 title: Projects v2 Item description: An item belonging to a project type: object @@ -47447,8 +47773,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *199 - - &564 + - *201 + - &568 title: Pull Request Simple description: Pull Request Simple type: object @@ -47554,8 +47880,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 nullable: true active_lock_reason: type: string @@ -47600,7 +47926,7 @@ paths: nullable: true requested_teams: type: array - items: *276 + items: *280 nullable: true head: type: object @@ -47651,7 +47977,7 @@ paths: _links: type: object properties: - comments: &377 + comments: &381 title: Link description: Hypermedia Link type: object @@ -47660,13 +47986,13 @@ paths: type: string required: - href - commits: *377 - statuses: *377 - html: *377 - issue: *377 - review_comments: *377 - review_comment: *377 - self: *377 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -47676,8 +48002,8 @@ paths: - review_comments - review_comment - self - author_association: *186 - auto_merge: &675 + author_association: *188 + auto_merge: &679 title: Auto merge description: The status of auto merging a pull request. type: object @@ -47779,7 +48105,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *378 + content_type: *382 creator: *4 created_at: type: string @@ -47812,7 +48138,7 @@ paths: - updated_at - archived_at examples: - issue: &379 + issue: &383 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47867,7 +48193,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *379 + pull_request: *383 '304': *37 '403': *29 '401': *25 @@ -47887,9 +48213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *372 + - *376 - *78 - - &382 + - &386 name: item_id description: The unique identifier of the project item. in: path @@ -47912,9 +48238,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *381 + default: *385 headers: Link: *43 '304': *37 @@ -47935,9 +48261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *372 + - *376 - *78 - - *382 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48007,13 +48333,13 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - text_field: *381 - number_field: *381 - date_field: *381 - single_select_field: *381 - iteration_field: *381 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *25 '403': *29 '404': *6 @@ -48033,9 +48359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *372 + - *376 - *78 - - *382 + - *386 responses: '204': description: Response @@ -48198,7 +48524,7 @@ paths: required: true content: application/json: - schema: *383 + schema: *387 examples: default: value: @@ -48301,7 +48627,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &384 + items: &388 title: Custom Property Value description: Custom property name and associated value type: object @@ -48388,7 +48714,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *384 + items: *388 required: - repository_names - properties @@ -48441,7 +48767,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -48461,7 +48787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response if user is a public member @@ -48486,7 +48812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -48508,7 +48834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -48579,9 +48905,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -48784,7 +49110,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &458 title: Full Repository description: Full Repository type: object @@ -49061,8 +49387,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *385 - required: *386 + properties: *389 + required: *390 nullable: true temp_clone_token: type: string @@ -49149,8 +49475,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true organization: title: Simple User @@ -49177,7 +49503,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &569 + properties: &573 url: type: string format: uri @@ -49193,12 +49519,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &570 + required: &574 - url - key - name - html_url - security_and_analysis: *387 + security_and_analysis: *391 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49282,7 +49608,7 @@ paths: - network_count - subscribers_count examples: - default: &456 + default: &460 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49808,9 +50134,9 @@ paths: application/json: schema: type: array - items: *388 + items: *392 examples: - default: *389 + default: *393 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49835,7 +50161,7 @@ paths: - *78 - *17 - *19 - - &698 + - &702 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49926,11 +50252,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *390 + conditions: *394 rules: type: array description: An array of rules within the ruleset. - items: &392 + items: &396 title: Repository Rule type: object description: A repository rule. @@ -49994,7 +50320,7 @@ paths: application/json: schema: *162 examples: - default: &391 + default: &395 value: id: 21 name: super cool ruleset @@ -50049,7 +50375,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &700 + - &704 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 @@ -50059,16 +50385,16 @@ paths: schema: type: string x-multi-segment: true - - *273 + - *277 - *96 - - &701 + - &705 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 - - &702 + - &706 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50088,7 +50414,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &707 title: Rule Suites description: Response type: array @@ -50143,7 +50469,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &704 + default: &708 value: - id: 21 actor_id: 12 @@ -50187,7 +50513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &705 + - &709 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -50203,7 +50529,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &710 title: Rule Suite description: Response type: object @@ -50302,7 +50628,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &707 + default: &711 value: id: 21 actor_id: 12 @@ -50377,7 +50703,7 @@ paths: application/json: schema: *162 examples: - default: *391 + default: *395 '404': *6 '500': *40 put: @@ -50426,11 +50752,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *390 + conditions: *394 rules: description: An array of rules within the ruleset. type: array - items: *392 + items: *396 examples: default: value: @@ -50467,7 +50793,7 @@ paths: application/json: schema: *162 examples: - default: *391 + default: *395 '404': *6 '500': *40 delete: @@ -50526,7 +50852,7 @@ paths: type: array items: *166 examples: - default: *393 + default: *397 '404': *6 '500': *40 x-github: @@ -50563,7 +50889,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *398 examples: default: value: @@ -50626,14 +50952,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - *395 - - *396 - - *397 - - *398 + - *399 + - *400 + - *401 + - *402 - *101 - *19 - *17 - - &709 + - &713 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 @@ -50643,7 +50969,7 @@ paths: required: false schema: type: string - - &710 + - &714 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 @@ -50653,10 +50979,10 @@ paths: required: false schema: type: string - - *399 - - *400 - - *401 - - *402 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -50664,9 +50990,9 @@ paths: application/json: schema: type: array - items: *403 + items: *407 examples: - default: *404 + default: *408 headers: Link: *43 '404': *6 @@ -50701,9 +51027,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *409 examples: - default: *406 + default: *410 '403': *29 '404': *6 patch: @@ -50856,7 +51182,7 @@ paths: application/json: schema: type: array - items: &731 + items: &735 description: A repository security advisory. type: object properties: @@ -51076,7 +51402,7 @@ paths: login: type: string description: The username of the user credited. - type: *407 + type: *411 credits_detailed: type: array nullable: true @@ -51086,7 +51412,7 @@ paths: type: object properties: user: *4 - type: *407 + type: *411 state: type: string description: The state of the user's acceptance of the @@ -51110,7 +51436,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *276 + items: *280 private_fork: readOnly: true nullable: true @@ -51147,7 +51473,7 @@ paths: - private_fork additionalProperties: false examples: - default: &732 + default: &736 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -51534,9 +51860,9 @@ paths: application/json: schema: type: array - items: *408 + items: *412 examples: - default: *352 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51560,7 +51886,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -51586,7 +51912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -51621,9 +51947,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51648,7 +51974,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *78 - - *411 + - *415 - *17 - *19 responses: @@ -51656,9 +51982,9 @@ paths: description: Success content: application/json: - schema: *412 + schema: *416 examples: - default: *413 + default: *417 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51686,9 +52012,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51716,9 +52042,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *420 examples: - default: *417 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51758,7 +52084,7 @@ paths: type: array items: *126 examples: - default: *418 + default: *422 headers: Link: *43 x-github: @@ -51959,15 +52285,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *78 - - *419 + - *423 responses: '200': description: Response content: application/json: - schema: *420 + schema: *424 examples: - default: *421 + default: *425 headers: Link: *43 x-github: @@ -52005,7 +52331,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &447 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -52051,7 +52377,7 @@ paths: type: string nullable: true examples: - default: &444 + default: &448 value: groups: - group_id: '123' @@ -52097,7 +52423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *78 - - *182 + - *184 - 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`). @@ -52129,13 +52455,13 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: - default: *174 + default: *176 '500': *40 '403': *29 '404': *6 - '422': *175 + '422': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52163,9 +52489,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 headers: Link: *43 '403': *29 @@ -52259,7 +52585,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &426 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -52322,8 +52648,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *350 - required: *351 + properties: *354 + required: *355 nullable: true members_count: type: integer @@ -52586,7 +52912,7 @@ paths: - repos_count - organization examples: - default: &423 + default: &427 value: id: 1 node_id: MDQ6VGVhbTE= @@ -52657,15 +52983,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *78 - - *182 + - *184 responses: '200': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 x-github: githubCloudOnly: false @@ -52687,7 +53013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *78 - - *182 + - *184 requestBody: required: false content: @@ -52749,16 +53075,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '201': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 '422': *15 '403': *29 @@ -52784,7 +53110,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -52811,7 +53137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *78 - - *182 + - *184 - *101 - *17 - *19 @@ -52828,7 +53154,7 @@ paths: application/json: schema: type: array - items: &424 + items: &428 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -52907,7 +53233,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *187 + reactions: *189 required: - author - body @@ -52927,7 +53253,7 @@ paths: - updated_at - url examples: - default: &775 + default: &779 value: - author: login: octocat @@ -53002,7 +53328,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *78 - - *182 + - *184 requestBody: required: true content: @@ -53036,9 +53362,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: &425 + default: &429 value: author: login: octocat @@ -53111,8 +53437,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *78 - - *182 - - &426 + - *184 + - &430 name: discussion_number description: The number that identifies the discussion. in: path @@ -53124,9 +53450,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *425 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53149,8 +53475,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 requestBody: required: false content: @@ -53173,9 +53499,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: &776 + default: &780 value: author: login: octocat @@ -53246,8 +53572,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 responses: '204': description: Response @@ -53274,8 +53600,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *78 - - *182 - - *426 + - *184 + - *430 - *101 - *17 - *19 @@ -53286,7 +53612,7 @@ paths: application/json: schema: type: array - items: &427 + items: &431 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -53343,7 +53669,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *187 + reactions: *189 required: - author - body @@ -53358,7 +53684,7 @@ paths: - updated_at - url examples: - default: &777 + default: &781 value: - author: login: octocat @@ -53427,8 +53753,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *78 - - *182 - - *426 + - *184 + - *430 requestBody: required: true content: @@ -53450,9 +53776,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: &428 + default: &432 value: author: login: octocat @@ -53519,9 +53845,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *78 - - *182 - - *426 - - &429 + - *184 + - *430 + - &433 name: comment_number description: The number that identifies the comment. in: path @@ -53533,9 +53859,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53558,9 +53884,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 requestBody: required: true content: @@ -53582,9 +53908,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: &778 + default: &782 value: author: login: octocat @@ -53649,9 +53975,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 responses: '204': description: Response @@ -53678,9 +54004,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 - 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. @@ -53706,7 +54032,7 @@ paths: application/json: schema: type: array - items: &430 + items: &434 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -53749,7 +54075,7 @@ paths: - content - created_at examples: - default: &432 + default: &436 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53800,9 +54126,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 requestBody: required: true content: @@ -53835,9 +54161,9 @@ paths: team discussion comment content: application/json: - schema: *430 + schema: *434 examples: - default: &431 + default: &435 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53866,9 +54192,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53892,10 +54218,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *78 - - *182 - - *426 - - *429 - - &433 + - *184 + - *430 + - *433 + - &437 name: reaction_id description: The unique identifier of the reaction. in: path @@ -53928,8 +54254,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 - 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. @@ -53955,9 +54281,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 x-github: @@ -53984,8 +54310,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 requestBody: required: true content: @@ -54017,16 +54343,16 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54050,9 +54376,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *78 - - *182 - - *426 - - *433 + - *184 + - *430 + - *437 responses: '204': description: Response @@ -54076,15 +54402,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *78 - - *182 + - *184 responses: '200': description: Response content: application/json: - schema: *434 + schema: *438 examples: - default: *435 + default: *439 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54104,7 +54430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *78 - - *182 + - *184 requestBody: required: true content: @@ -54127,9 +54453,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *440 examples: - default: *437 + default: *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54149,7 +54475,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -54174,7 +54500,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -54184,9 +54510,9 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: - default: *335 + default: *339 headers: Link: *43 x-github: @@ -54209,7 +54535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *78 - - *182 + - *184 - name: role description: Filters members returned by their role in the team. in: query @@ -54232,7 +54558,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -54263,14 +54589,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *78 + - *184 - *182 - - *180 responses: '200': description: Response content: application/json: - schema: &438 + schema: &442 title: Team Membership description: Team Membership type: object @@ -54297,7 +54623,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &779 + response-if-user-is-a-team-maintainer: &783 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -54334,8 +54660,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *78 + - *184 - *182 - - *180 requestBody: required: false content: @@ -54360,9 +54686,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - response-if-users-membership-with-team-is-now-pending: &780 + response-if-users-membership-with-team-is-now-pending: &784 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -54398,8 +54724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *78 + - *184 - *182 - - *180 responses: '204': description: Response @@ -54425,7 +54751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -54435,7 +54761,7 @@ paths: application/json: schema: type: array - items: &439 + items: &443 title: Team Project description: A team's access to a project. type: object @@ -54503,7 +54829,7 @@ paths: - updated_at - permissions examples: - default: &781 + default: &785 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -54567,8 +54893,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *78 - - *182 - - &440 + - *184 + - &444 name: project_id description: The unique identifier of the project. in: path @@ -54580,9 +54906,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *443 examples: - default: &782 + default: &786 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -54645,8 +54971,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *78 - - *182 - - *440 + - *184 + - *444 requestBody: required: false content: @@ -54713,8 +55039,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *78 - - *182 - - *440 + - *184 + - *444 responses: '204': description: Response @@ -54742,7 +55068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -54752,9 +55078,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -54784,15 +55110,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *78 - - *182 - - *441 - - *442 + - *184 + - *445 + - *446 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &783 + schema: &787 title: Team Repository description: A team's access to a repository. type: object @@ -54815,8 +55141,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true forks: type: integer @@ -55362,9 +55688,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *78 - - *182 - - *441 - - *442 + - *184 + - *445 + - *446 requestBody: required: false content: @@ -55410,9 +55736,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *78 - - *182 - - *441 - - *442 + - *184 + - *445 + - *446 responses: '204': description: Response @@ -55439,15 +55765,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *78 - - *182 + - *184 responses: '200': description: Response content: application/json: - schema: *443 + schema: *447 examples: - default: *444 + default: *448 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55470,7 +55796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *78 - - *182 + - *184 requestBody: required: true content: @@ -55513,7 +55839,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *447 examples: default: value: @@ -55546,7 +55872,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -55556,9 +55882,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - response-if-child-teams-exist: &784 + response-if-child-teams-exist: &788 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55685,7 +56011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &445 + - &449 name: card_id description: The unique identifier of the card. in: path @@ -55697,7 +56023,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &450 title: Project Card description: Project cards represent a scope of work. type: object @@ -55764,7 +56090,7 @@ paths: - created_at - updated_at examples: - default: &447 + default: &451 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -55820,7 +56146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *445 + - *449 requestBody: required: false content: @@ -55847,9 +56173,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *450 examples: - default: *447 + default: *451 '304': *37 '403': *29 '401': *25 @@ -55876,7 +56202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *445 + - *449 responses: '204': description: Response @@ -55920,7 +56246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *445 + - *449 requestBody: required: true content: @@ -56031,7 +56357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &448 + - &452 name: column_id description: The unique identifier of the column. in: path @@ -56043,7 +56369,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &453 title: Project Column description: Project columns contain cards of work. type: object @@ -56089,7 +56415,7 @@ paths: - created_at - updated_at examples: - default: &450 + default: &454 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -56124,7 +56450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *448 + - *452 requestBody: required: true content: @@ -56148,9 +56474,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: *450 + default: *454 '304': *37 '403': *29 '401': *25 @@ -56175,7 +56501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *448 + - *452 responses: '204': description: Response @@ -56204,7 +56530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *448 + - *452 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -56225,7 +56551,7 @@ paths: application/json: schema: type: array - items: *446 + items: *450 examples: default: value: @@ -56284,7 +56610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *448 + - *452 requestBody: required: true content: @@ -56324,9 +56650,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *450 examples: - default: *447 + default: *451 '304': *37 '403': *29 '401': *25 @@ -56336,8 +56662,8 @@ paths: application/json: schema: oneOf: - - *226 - - *227 + - *230 + - *231 '503': description: Response content: @@ -56382,7 +56708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *448 + - *452 requestBody: required: true content: @@ -56442,15 +56768,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *440 + - *444 responses: '200': description: Response content: application/json: - schema: *369 + schema: *373 examples: - default: &451 + default: &455 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -56507,7 +56833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *440 + - *444 requestBody: required: false content: @@ -56553,9 +56879,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: - default: *451 + default: *455 '404': description: Not Found if the authenticated user does not have access to the project @@ -56576,7 +56902,7 @@ paths: items: type: string '401': *25 - '410': *452 + '410': *456 '422': *7 x-github: githubCloudOnly: false @@ -56599,7 +56925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *440 + - *444 responses: '204': description: Delete Success @@ -56620,7 +56946,7 @@ paths: items: type: string '401': *25 - '410': *452 + '410': *456 '404': *6 x-github: githubCloudOnly: false @@ -56644,7 +56970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *440 + - *444 - 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 @@ -56671,7 +56997,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '404': *6 @@ -56701,8 +57027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *440 - - *180 + - *444 + - *182 requestBody: required: false content: @@ -56754,8 +57080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *440 - - *180 + - *444 + - *182 responses: '204': description: Response @@ -56786,8 +57112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *440 - - *180 + - *444 + - *182 responses: '200': description: Response @@ -56860,7 +57186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *440 + - *444 - *17 - *19 responses: @@ -56870,7 +57196,7 @@ paths: application/json: schema: type: array - items: *449 + items: *453 examples: default: value: @@ -56908,7 +57234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *440 + - *444 requestBody: required: true content: @@ -56931,7 +57257,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: default: value: @@ -56996,7 +57322,7 @@ paths: resources: type: object properties: - core: &453 + core: &457 title: Rate Limit type: object properties: @@ -57013,21 +57339,21 @@ paths: - remaining - reset - used - graphql: *453 - search: *453 - code_search: *453 - source_import: *453 - integration_manifest: *453 - code_scanning_upload: *453 - actions_runner_registration: *453 - scim: *453 - dependency_snapshots: *453 - dependency_sbom: *453 - code_scanning_autofix: *453 + graphql: *457 + search: *457 + code_search: *457 + source_import: *457 + integration_manifest: *457 + code_scanning_upload: *457 + actions_runner_registration: *457 + scim: *457 + dependency_snapshots: *457 + dependency_sbom: *457 + code_scanning_autofix: *457 required: - core - search - rate: *453 + rate: *457 required: - rate - resources @@ -57132,14 +57458,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: default-response: summary: Default response @@ -57644,7 +57970,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *455 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57662,8 +57988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -57920,10 +58246,10 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 - '307': &457 + default: *460 + '307': &461 description: Temporary Redirect content: application/json: @@ -57952,8 +58278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -57975,7 +58301,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': *457 + '307': *461 '404': *6 '409': *109 x-github: @@ -57999,11 +58325,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - - &472 + - &476 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58026,7 +58352,7 @@ paths: type: integer artifacts: type: array - items: &458 + items: &462 title: Artifact description: An artifact type: object @@ -58104,7 +58430,7 @@ paths: - expires_at - updated_at examples: - default: &473 + default: &477 value: total_count: 2 artifacts: @@ -58165,9 +58491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *441 - - *442 - - &459 + - *445 + - *446 + - &463 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58179,7 +58505,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *462 examples: default: value: @@ -58217,9 +58543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *441 - - *442 - - *459 + - *445 + - *446 + - *463 responses: '204': description: Response @@ -58243,9 +58569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *441 - - *442 - - *459 + - *445 + - *446 + - *463 - name: archive_format in: path required: true @@ -58259,7 +58585,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': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58282,14 +58608,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *460 + schema: *464 examples: default: value: @@ -58315,11 +58641,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: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - - &461 + - &465 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 @@ -58353,7 +58679,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &466 title: Repository actions caches description: Repository actions caches type: object @@ -58395,7 +58721,7 @@ paths: - total_count - actions_caches examples: - default: &463 + default: &467 value: total_count: 1 actions_caches: @@ -58427,23 +58753,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: - - *441 - - *442 + - *445 + - *446 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *461 + - *465 responses: '200': description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: *463 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58463,8 +58789,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: - - *441 - - *442 + - *445 + - *446 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58495,9 +58821,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: - - *441 - - *442 - - &464 + - *445 + - *446 + - &468 name: job_id description: The unique identifier of the job. in: path @@ -58509,7 +58835,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &480 title: Job description: Information of a job execution in a workflow run type: object @@ -58816,9 +59142,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: - - *441 - - *442 - - *464 + - *445 + - *446 + - *468 responses: '302': description: Response @@ -58846,9 +59172,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: - - *441 - - *442 - - *464 + - *445 + - *446 + - *468 requestBody: required: false content: @@ -58869,7 +59195,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -58893,8 +59219,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Status response @@ -58944,8 +59270,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -58979,7 +59305,7 @@ paths: description: Empty response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -59008,8 +59334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -59027,7 +59353,7 @@ paths: type: integer secrets: type: array - items: &478 + items: &482 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59047,7 +59373,7 @@ paths: - created_at - updated_at examples: - default: &479 + default: &483 value: total_count: 2 secrets: @@ -59080,9 +59406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *441 - - *442 - - *465 + - *445 + - *446 + - *469 - *19 responses: '200': @@ -59099,7 +59425,7 @@ paths: type: integer variables: type: array - items: &482 + items: &486 title: Actions Variable type: object properties: @@ -59129,7 +59455,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &487 value: total_count: 2 variables: @@ -59162,8 +59488,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59172,11 +59498,11 @@ paths: schema: type: object properties: - enabled: &466 + enabled: &470 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *51 - selected_actions_url: *236 + selected_actions_url: *240 sha_pinning_required: *52 required: - enabled @@ -59207,8 +59533,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -59219,7 +59545,7 @@ paths: schema: type: object properties: - enabled: *466 + enabled: *470 allowed_actions: *51 sha_pinning_required: *52 required: @@ -59252,14 +59578,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &467 + schema: &471 type: object properties: access_level: @@ -59277,7 +59603,7 @@ paths: required: - access_level examples: - default: &468 + default: &472 value: access_level: organization x-github: @@ -59302,15 +59628,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *467 + schema: *471 examples: - default: *468 + default: *472 responses: '204': description: Response @@ -59334,14 +59660,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *238 + schema: *242 examples: default: value: @@ -59365,8 +59691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Empty response for successful settings update @@ -59376,7 +59702,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *243 examples: default: summary: Set retention days @@ -59400,8 +59726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59409,7 +59735,7 @@ paths: application/json: schema: *53 examples: - default: *240 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -59428,8 +59754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -59463,14 +59789,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *241 + schema: *245 examples: default: *54 '403': *29 @@ -59492,13 +59818,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *242 + schema: *246 examples: default: *54 responses: @@ -59524,8 +59850,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59556,8 +59882,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -59589,14 +59915,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *245 + schema: *249 examples: default: *60 x-github: @@ -59619,8 +59945,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Success response @@ -59631,7 +59957,7 @@ paths: required: true content: application/json: - schema: *246 + schema: *250 examples: default: *60 x-github: @@ -59660,8 +59986,8 @@ paths: in: query schema: type: string - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -59705,8 +60031,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59714,9 +60040,9 @@ paths: application/json: schema: type: array - items: *250 + items: *254 examples: - default: *251 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59738,8 +60064,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -59782,7 +60108,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *252 + '201': *256 '404': *6 '422': *7 '409': *109 @@ -59813,8 +60139,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: - - *441 - - *442 + - *445 + - *446 responses: '201': description: Response @@ -59822,7 +60148,7 @@ paths: application/json: schema: *70 examples: - default: *253 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59850,8 +60176,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: - - *441 - - *442 + - *445 + - *446 responses: '201': description: Response @@ -59859,7 +60185,7 @@ paths: application/json: schema: *70 examples: - default: *254 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59881,8 +60207,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: '200': @@ -59891,7 +60217,7 @@ paths: application/json: schema: *67 examples: - default: *255 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59912,8 +60238,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: '204': @@ -59940,8 +60266,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: '200': *72 @@ -59966,8 +60292,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: - - *441 - - *442 + - *445 + - *446 - *66 requestBody: required: true @@ -60016,8 +60342,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: - - *441 - - *442 + - *445 + - *446 - *66 requestBody: required: true @@ -60067,11 +60393,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: - '200': *256 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -60098,10 +60424,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: - - *441 - - *442 + - *445 + - *446 - *66 - - *257 + - *261 responses: '200': *72 '404': *6 @@ -60129,9 +60455,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: - - *441 - - *442 - - &486 + - *445 + - *446 + - &490 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. @@ -60139,7 +60465,7 @@ paths: required: false schema: type: string - - &487 + - &491 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60147,7 +60473,7 @@ paths: required: false schema: type: string - - &488 + - &492 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60156,7 +60482,7 @@ paths: required: false schema: type: string - - &489 + - &493 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 @@ -60183,7 +60509,7 @@ paths: - pending - *17 - *19 - - &490 + - &494 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)." @@ -60192,7 +60518,7 @@ paths: schema: type: string format: date-time - - &469 + - &473 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60201,13 +60527,13 @@ paths: schema: type: boolean default: false - - &491 + - &495 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &492 + - &496 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60230,7 +60556,7 @@ paths: type: integer workflow_runs: type: array - items: &470 + items: &474 title: Workflow Run description: An invocation of a workflow type: object @@ -60325,7 +60651,7 @@ paths: that triggered the run. type: array nullable: true - items: &511 + items: &515 title: Pull Request Minimal type: object properties: @@ -60444,7 +60770,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &515 + properties: &519 id: type: string description: SHA for the commit @@ -60495,7 +60821,7 @@ paths: - name - email nullable: true - required: &516 + required: &520 - id - tree_id - message @@ -60503,8 +60829,8 @@ paths: - author - committer nullable: true - repository: *249 - head_repository: *249 + repository: *253 + head_repository: *253 head_repository_id: type: integer example: 5 @@ -60542,7 +60868,7 @@ paths: - workflow_url - pull_requests examples: - default: &493 + default: &497 value: total_count: 1 workflow_runs: @@ -60778,24 +61104,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *441 - - *442 - - &471 + - *445 + - *446 + - &475 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *469 + - *473 responses: '200': description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: &474 + default: &478 value: id: 30433642 name: Build @@ -61036,9 +61362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '204': description: Response @@ -61061,9 +61387,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '200': description: Response @@ -61182,15 +61508,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -61217,12 +61543,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 - *17 - *19 - - *472 + - *476 responses: '200': description: Response @@ -61238,9 +61564,9 @@ paths: type: integer artifacts: type: array - items: *458 + items: *462 examples: - default: *473 + default: *477 headers: Link: *43 x-github: @@ -61264,25 +61590,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *441 - - *442 - - *471 - - &475 + - *445 + - *446 + - *475 + - &479 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *469 + - *473 responses: '200': description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: *474 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61305,10 +61631,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: - - *441 - - *442 - - *471 + - *445 + - *446 - *475 + - *479 - *17 - *19 responses: @@ -61326,9 +61652,9 @@ paths: type: integer jobs: type: array - items: *476 + items: *480 examples: - default: &477 + default: &481 value: total_count: 1 jobs: @@ -61441,10 +61767,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *441 - - *442 - - *471 + - *445 + - *446 - *475 + - *479 responses: '302': description: Response @@ -61472,15 +61798,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '202': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -61507,9 +61833,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: true content: @@ -61576,15 +61902,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '202': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -61611,9 +61937,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 - 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 @@ -61643,9 +61969,9 @@ paths: type: integer jobs: type: array - items: *476 + items: *480 examples: - default: *477 + default: *481 headers: Link: *43 x-github: @@ -61670,9 +61996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '302': description: Response @@ -61699,9 +62025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '204': description: Response @@ -61728,9 +62054,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '200': description: Response @@ -61790,7 +62116,7 @@ paths: items: type: object properties: - type: &599 + type: &603 type: string description: The type of reviewer. enum: @@ -61800,7 +62126,7 @@ paths: reviewer: anyOf: - *4 - - *276 + - *280 required: - environment - wait_timer @@ -61875,9 +62201,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: true content: @@ -61924,7 +62250,7 @@ paths: application/json: schema: type: array - items: &585 + items: &589 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -62012,8 +62338,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -62030,7 +62356,7 @@ paths: - created_at - updated_at examples: - default: &586 + default: &590 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62086,9 +62412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: false content: @@ -62109,7 +62435,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62132,9 +62458,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: false content: @@ -62155,7 +62481,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62188,9 +62514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '200': description: Response @@ -62327,8 +62653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -62346,9 +62672,9 @@ paths: type: integer secrets: type: array - items: *478 + items: *482 examples: - default: *479 + default: *483 headers: Link: *43 x-github: @@ -62373,16 +62699,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *480 + schema: *484 examples: - default: *481 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62404,17 +62730,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '200': description: Response content: application/json: - schema: *478 + schema: *482 examples: - default: &612 + default: &616 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62440,9 +62766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 requestBody: required: true content: @@ -62473,7 +62799,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62499,9 +62825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '204': description: Response @@ -62526,9 +62852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *441 - - *442 - - *465 + - *445 + - *446 + - *469 - *19 responses: '200': @@ -62545,9 +62871,9 @@ paths: type: integer variables: type: array - items: *482 + items: *486 examples: - default: *483 + default: *487 headers: Link: *43 x-github: @@ -62570,8 +62896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -62598,7 +62924,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62623,17 +62949,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *441 - - *442 - - *262 + - *445 + - *446 + - *266 responses: '200': description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: &613 + default: &617 value: name: USERNAME value: octocat @@ -62659,9 +62985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *441 - - *442 - - *262 + - *445 + - *446 + - *266 requestBody: required: true content: @@ -62703,9 +63029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *441 - - *442 - - *262 + - *445 + - *446 + - *266 responses: '204': description: Response @@ -62730,8 +63056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -62749,7 +63075,7 @@ paths: type: integer workflows: type: array - items: &484 + items: &488 title: Workflow description: A GitHub Actions workflow type: object @@ -62856,9 +63182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *441 - - *442 - - &485 + - *445 + - *446 + - &489 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62873,7 +63199,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *488 examples: default: value: @@ -62906,9 +63232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '204': description: Response @@ -62933,9 +63259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '204': description: Response @@ -62986,9 +63312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '204': description: Response @@ -63015,19 +63341,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: - - *441 - - *442 - - *485 - - *486 - - *487 - - *488 + - *445 + - *446 - *489 - - *17 - - *19 - *490 - - *469 - *491 - *492 + - *493 + - *17 + - *19 + - *494 + - *473 + - *495 + - *496 responses: '200': description: Response @@ -63043,9 +63369,9 @@ paths: type: integer workflow_runs: type: array - items: *470 + items: *474 examples: - default: *493 + default: *497 headers: Link: *43 x-github: @@ -63078,9 +63404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '200': description: Response @@ -63141,8 +63467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *441 - - *442 + - *445 + - *446 - *101 - *17 - *99 @@ -63306,8 +63632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -63319,7 +63645,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '404': *6 @@ -63344,8 +63670,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: - - *441 - - *442 + - *445 + - *446 - name: assignee in: path required: true @@ -63381,8 +63707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -63494,8 +63820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *99 - *100 @@ -63551,7 +63877,7 @@ paths: initiator: type: string examples: - default: *494 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63571,8 +63897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -63580,7 +63906,7 @@ paths: application/json: schema: type: array - items: &495 + items: &499 title: Autolink reference description: An autolink reference. type: object @@ -63634,8 +63960,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -63674,9 +64000,9 @@ paths: description: response content: application/json: - schema: *495 + schema: *499 examples: - default: &496 + default: &500 value: id: 1 key_prefix: TICKET- @@ -63707,9 +64033,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: - - *441 - - *442 - - &497 + - *445 + - *446 + - &501 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63721,9 +64047,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *499 examples: - default: *496 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -63743,9 +64069,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: - - *441 - - *442 - - *497 + - *445 + - *446 + - *501 responses: '204': description: Response @@ -63769,8 +64095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response if Dependabot is enabled @@ -63818,8 +64144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -63840,8 +64166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -63861,8 +64187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *441 - - *442 + - *445 + - *446 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63900,7 +64226,7 @@ paths: - url protected: type: boolean - protection: &499 + protection: &503 title: Branch Protection description: Branch Protection type: object @@ -63942,7 +64268,7 @@ paths: required: - contexts - checks - enforce_admins: &502 + enforce_admins: &506 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63957,7 +64283,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &504 + required_pull_request_reviews: &508 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63978,7 +64304,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *276 + items: *280 apps: description: The list of apps with review dismissal access. @@ -64007,7 +64333,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *276 + items: *280 apps: description: The list of apps allowed to bypass pull request requirements. @@ -64033,7 +64359,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &501 + restrictions: &505 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64096,7 +64422,7 @@ paths: type: string teams: type: array - items: *276 + items: *280 apps: type: array items: @@ -64310,9 +64636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *441 - - *442 - - &500 + - *445 + - *446 + - &504 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). @@ -64326,14 +64652,14 @@ paths: description: Response content: application/json: - schema: &510 + schema: &514 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &560 + commit: &564 title: Commit description: Commit type: object @@ -64367,7 +64693,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &498 + properties: &502 name: type: string example: '"Chris Wanstrath"' @@ -64382,7 +64708,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *498 + properties: *502 nullable: true message: type: string @@ -64403,7 +64729,7 @@ paths: required: - sha - url - verification: &619 + verification: &623 title: Verification type: object properties: @@ -64437,12 +64763,12 @@ paths: nullable: true oneOf: - *4 - - *260 + - *264 committer: nullable: true oneOf: - *4 - - *260 + - *264 parents: type: array items: @@ -64473,7 +64799,7 @@ paths: type: integer files: type: array - items: &573 + items: &577 title: Diff Entry description: Diff Entry type: object @@ -64557,7 +64883,7 @@ paths: - self protected: type: boolean - protection: *499 + protection: *503 protection_url: type: string format: uri @@ -64664,7 +64990,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *455 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -64686,15 +65012,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *499 + schema: *503 examples: default: value: @@ -64888,9 +65214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -65145,7 +65471,7 @@ paths: url: type: string format: uri - required_status_checks: &507 + required_status_checks: &511 title: Status Check Policy description: Status Check Policy type: object @@ -65221,7 +65547,7 @@ paths: items: *4 teams: type: array - items: *276 + items: *280 apps: type: array items: *5 @@ -65239,7 +65565,7 @@ paths: items: *4 teams: type: array - items: *276 + items: *280 apps: type: array items: *5 @@ -65297,7 +65623,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *501 + restrictions: *505 required_conversation_resolution: type: object properties: @@ -65409,9 +65735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65436,17 +65762,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: &503 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65468,17 +65794,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: *503 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65497,9 +65823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65524,17 +65850,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: &505 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -65630,9 +65956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -65730,9 +66056,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: *505 + default: *509 '422': *15 x-github: githubCloudOnly: false @@ -65753,9 +66079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65782,17 +66108,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: &506 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65815,17 +66141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: *506 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -65845,9 +66171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65872,17 +66198,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *507 + schema: *511 examples: - default: &508 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65908,9 +66234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -65962,9 +66288,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *511 examples: - default: *508 + default: *512 '404': *6 '422': *15 x-github: @@ -65986,9 +66312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -66012,9 +66338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66048,9 +66374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66117,9 +66443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66183,9 +66509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: content: application/json: @@ -66251,15 +66577,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: default: value: @@ -66350,9 +66676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -66375,9 +66701,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: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66387,7 +66713,7 @@ paths: type: array items: *5 examples: - default: &509 + default: &513 value: - id: 1 slug: octoapp @@ -66444,9 +66770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66480,7 +66806,7 @@ paths: type: array items: *5 examples: - default: *509 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -66501,9 +66827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66537,7 +66863,7 @@ paths: type: array items: *5 examples: - default: *509 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -66558,9 +66884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66594,7 +66920,7 @@ paths: type: array items: *5 examples: - default: *509 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -66616,9 +66942,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: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66626,9 +66952,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '404': *6 x-github: githubCloudOnly: false @@ -66648,9 +66974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66686,9 +67012,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -66709,9 +67035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66747,9 +67073,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -66770,9 +67096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: content: application/json: @@ -66807,9 +67133,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -66831,9 +67157,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: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66843,7 +67169,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '404': *6 x-github: githubCloudOnly: false @@ -66867,9 +67193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66902,7 +67228,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '422': *15 x-github: githubCloudOnly: false @@ -66927,9 +67253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66962,7 +67288,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '422': *15 x-github: githubCloudOnly: false @@ -66987,9 +67313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -67022,7 +67348,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '422': *15 x-github: githubCloudOnly: false @@ -67049,9 +67375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -67073,7 +67399,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *514 examples: default: value: @@ -67187,8 +67513,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *441 - - *442 + - *445 + - *446 - *94 - *95 - *96 @@ -67202,9 +67528,9 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: - default: *272 + default: *276 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -67224,8 +67550,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -67239,7 +67565,7 @@ paths: description: Response content: application/json: - schema: *271 + schema: *275 examples: default: value: @@ -67298,8 +67624,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - *94 - *95 - *96 @@ -67313,9 +67639,9 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '404': *6 '403': *29 '500': *40 @@ -67339,8 +67665,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -67352,7 +67678,7 @@ paths: description: A single bypass request. content: application/json: - schema: *274 + schema: *278 examples: default: value: @@ -67410,8 +67736,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -67482,8 +67808,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_response_id in: path required: true @@ -67516,8 +67842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -67796,7 +68122,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &516 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67907,16 +68233,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *511 - deployment: &839 + items: *515 + deployment: &843 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67983,8 +68309,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -68196,9 +68522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *441 - - *442 - - &513 + - *445 + - *446 + - &517 name: check_run_id description: The unique identifier of the check run. in: path @@ -68210,9 +68536,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *516 examples: - default: &514 + default: &518 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68312,9 +68638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *441 - - *442 - - *513 + - *445 + - *446 + - *517 requestBody: required: true content: @@ -68554,9 +68880,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *516 examples: - default: *514 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68576,9 +68902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *441 - - *442 - - *513 + - *445 + - *446 + - *517 - *17 - *19 responses: @@ -68673,15 +68999,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *441 - - *442 - - *513 + - *445 + - *446 + - *517 responses: '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -68719,8 +69045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -68742,7 +69068,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &517 + schema: &521 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68806,7 +69132,7 @@ paths: nullable: true pull_requests: type: array - items: *511 + items: *515 nullable: true app: title: GitHub app @@ -68817,9 +69143,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - repository: *249 + properties: *186 + required: *187 + repository: *253 created_at: type: string format: date-time @@ -68828,12 +69154,12 @@ paths: type: string format: date-time nullable: true - head_commit: &865 + head_commit: &869 title: Simple Commit description: A commit. type: object - properties: *515 - required: *516 + properties: *519 + required: *520 latest_check_runs_count: type: integer check_runs_url: @@ -68861,7 +69187,7 @@ paths: - check_runs_url - pull_requests examples: - default: &518 + default: &522 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69152,9 +69478,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *517 + schema: *521 examples: - default: *518 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69173,8 +69499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -69235,7 +69561,7 @@ paths: required: - app_id - setting - repository: *249 + repository: *253 examples: default: value: @@ -69483,9 +69809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *441 - - *442 - - &519 + - *445 + - *446 + - &523 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69497,9 +69823,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *521 examples: - default: *518 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69522,17 +69848,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: - - *441 - - *442 - - *519 - - &566 + - *445 + - *446 + - *523 + - &570 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &567 + - &571 name: status description: Returns check runs with the specified `status`. in: query @@ -69571,9 +69897,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *516 examples: - default: &568 + default: &572 value: total_count: 1 check_runs: @@ -69675,15 +70001,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *441 - - *442 - - *519 + - *445 + - *446 + - *523 responses: '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -69710,21 +70036,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: - - *441 - - *442 - - *280 - - *281 + - *445 + - *446 + - *284 + - *285 - *19 - *17 - - &535 + - &539 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: *520 - - &536 + schema: *524 + - &540 name: pr description: The number of the pull request for the results you want to list. in: query @@ -69749,13 +70075,13 @@ paths: be returned. in: query required: false - schema: *282 + schema: *286 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *521 + schema: *525 responses: '200': description: Response @@ -69771,7 +70097,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *522 + instances_url: *526 state: *104 fixed_at: *123 dismissed_by: @@ -69782,11 +70108,11 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *523 - dismissed_comment: *524 - rule: *525 - tool: *526 - most_recent_instance: *527 + dismissed_reason: *527 + dismissed_comment: *528 + rule: *529 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69912,7 +70238,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &528 + '403': &532 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -69939,9 +70265,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: - - *441 - - *442 - - &529 + - *445 + - *446 + - &533 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -69955,7 +70281,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &534 type: object properties: number: *113 @@ -69963,7 +70289,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *522 + instances_url: *526 state: *104 fixed_at: *123 dismissed_by: @@ -69974,8 +70300,8 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *523 - dismissed_comment: *524 + dismissed_reason: *527 + dismissed_comment: *528 rule: type: object properties: @@ -70029,8 +70355,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *526 - most_recent_instance: *527 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70129,7 +70455,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70149,9 +70475,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 requestBody: required: true content: @@ -70166,8 +70492,8 @@ paths: enum: - open - dismissed - dismissed_reason: *523 - dismissed_comment: *524 + dismissed_reason: *527 + dismissed_comment: *528 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70186,7 +70512,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *534 examples: default: value: @@ -70262,7 +70588,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &534 + '403': &538 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -70289,15 +70615,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 responses: '200': description: Response content: application/json: - schema: &531 + schema: &535 type: object properties: status: @@ -70323,13 +70649,13 @@ paths: - description - started_at examples: - default: &532 + default: &536 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &533 + '400': &537 description: Bad Request content: application/json: @@ -70340,7 +70666,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70365,29 +70691,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 responses: '200': description: OK content: application/json: - schema: *531 + schema: *535 examples: - default: *532 + default: *536 '202': description: Accepted content: application/json: - schema: *531 + schema: *535 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *533 + '400': *537 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -70419,9 +70745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 requestBody: required: false content: @@ -70466,8 +70792,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *533 - '403': *534 + '400': *537 + '403': *538 '404': *6 '422': description: Unprocessable Entity @@ -70491,13 +70817,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 - *19 - *17 - - *535 - - *536 + - *539 + - *540 responses: '200': description: Response @@ -70505,7 +70831,7 @@ paths: application/json: schema: type: array - items: *527 + items: *531 examples: default: value: @@ -70544,7 +70870,7 @@ paths: end_column: 50 classifications: - source - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70578,25 +70904,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: - - *441 - - *442 - - *280 - - *281 + - *445 + - *446 + - *284 + - *285 - *19 - *17 - - *536 + - *540 - 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: *520 + schema: *524 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &539 + schema: &543 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -70617,23 +70943,23 @@ paths: application/json: schema: type: array - items: &540 + items: &544 type: object properties: - ref: *520 - commit_sha: &548 + ref: *524 + commit_sha: &552 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: *537 + analysis_key: *541 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *538 + category: *542 error: type: string example: error reading field xyz @@ -70657,8 +70983,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *539 - tool: *526 + sarif_id: *543 + tool: *530 deletable: type: boolean warning: @@ -70719,7 +71045,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70755,8 +71081,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: - - *441 - - *442 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70769,7 +71095,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: response: summary: application/json response @@ -70823,7 +71149,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *528 + '403': *532 '404': *6 '422': description: Response if analysis could not be processed @@ -70910,8 +71236,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: - - *441 - - *442 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70964,7 +71290,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *534 + '403': *538 '404': *6 '503': *167 x-github: @@ -70986,8 +71312,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -70995,7 +71321,7 @@ paths: application/json: schema: type: array - items: &541 + items: &545 title: CodeQL Database description: A CodeQL database. type: object @@ -71106,7 +71432,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': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -71135,8 +71461,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: - - *441 - - *442 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -71148,7 +71474,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: default: value: @@ -71180,9 +71506,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': &575 + '302': &579 description: Found - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -71204,8 +71530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *441 - - *442 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -71215,7 +71541,7 @@ paths: responses: '204': description: Response - '403': *534 + '403': *538 '404': *6 '503': *167 x-github: @@ -71243,8 +71569,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -71253,7 +71579,7 @@ paths: type: object additionalProperties: false properties: - language: &542 + language: &546 type: string description: The language targeted by the CodeQL query enum: @@ -71332,7 +71658,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &546 + schema: &550 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71342,7 +71668,7 @@ paths: description: The ID of the variant analysis. controller_repo: *110 actor: *4 - query_language: *542 + query_language: *546 query_pack_url: type: string description: The download url for the query pack. @@ -71389,7 +71715,7 @@ paths: items: type: object properties: - repository: &543 + repository: &547 title: Repository Identifier description: Repository Identifier type: object @@ -71425,7 +71751,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &547 + analysis_status: &551 type: string description: The new status of the CodeQL variant analysis repository task. @@ -71457,7 +71783,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &544 + access_mismatch_repos: &548 type: object properties: repository_count: @@ -71471,7 +71797,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: *543 + items: *547 required: - repository_count - repositories @@ -71493,8 +71819,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *544 - over_limit_repos: *544 + no_codeql_db_repos: *548 + over_limit_repos: *548 required: - access_mismatch_repos - not_found_repos @@ -71510,7 +71836,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &545 + value: &549 summary: Default response value: id: 1 @@ -71662,10 +71988,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *545 + value: *549 repository_lists: summary: Response for a successful variant analysis submission - value: *545 + value: *549 '404': *6 '422': description: Unable to process variant analysis submission @@ -71693,8 +72019,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: - - *441 - - *442 + - *445 + - *446 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71706,9 +72032,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *550 examples: - default: *545 + default: *549 '404': *6 '503': *167 x-github: @@ -71731,7 +72057,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: - - *441 + - *445 - name: repo in: path description: The name of the controller repository. @@ -71766,7 +72092,7 @@ paths: type: object properties: repository: *110 - analysis_status: *547 + analysis_status: *551 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -71891,8 +72217,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -71977,7 +72303,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -71998,8 +72324,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -72066,7 +72392,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -72091,7 +72417,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *534 + '403': *538 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72162,8 +72488,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -72171,7 +72497,7 @@ paths: schema: type: object properties: - commit_sha: *548 + commit_sha: *552 ref: type: string description: |- @@ -72229,7 +72555,7 @@ paths: schema: type: object properties: - id: *539 + id: *543 url: type: string description: The REST API URL for checking the status of the upload. @@ -72243,7 +72569,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': *534 + '403': *538 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72266,8 +72592,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: - - *441 - - *442 + - *445 + - *446 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72313,7 +72639,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': *528 + '403': *532 '404': description: Not Found if the sarif id does not match any upload '503': *167 @@ -72338,8 +72664,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -72420,8 +72746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *441 - - *442 + - *445 + - *446 - 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 @@ -72541,8 +72867,8 @@ paths: parameters: - *17 - *19 - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -72558,7 +72884,7 @@ paths: type: integer codespaces: type: array - items: *342 + items: *346 examples: default: value: @@ -72856,8 +73182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -72920,17 +73246,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '400': *14 '401': *25 '403': *29 @@ -72959,8 +73285,8 @@ paths: parameters: - *17 - *19 - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -73024,8 +73350,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: - - *441 - - *442 + - *445 + - *446 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73060,14 +73386,14 @@ paths: type: integer machines: type: array - items: &791 + items: &795 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *550 - required: *551 + properties: *554 + required: *555 examples: - default: &792 + default: &796 value: total_count: 2 machines: @@ -73107,8 +73433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *441 - - *442 + - *445 + - *446 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73192,8 +73518,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: - - *441 - - *442 + - *445 + - *446 - 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 @@ -73259,8 +73585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -73278,7 +73604,7 @@ paths: type: integer secrets: type: array - items: &555 + items: &559 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73298,7 +73624,7 @@ paths: - created_at - updated_at examples: - default: *552 + default: *556 headers: Link: *43 x-github: @@ -73321,16 +73647,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *553 + schema: *557 examples: - default: *554 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73350,17 +73676,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '200': description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: *556 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73380,9 +73706,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: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 requestBody: required: true content: @@ -73410,7 +73736,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -73434,9 +73760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '204': description: Response @@ -73464,8 +73790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *441 - - *442 + - *445 + - *446 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -73507,7 +73833,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &557 + properties: &561 login: type: string example: octocat @@ -73600,7 +73926,7 @@ paths: user_view_type: type: string example: public - required: &558 + required: &562 - avatar_url - events_url - followers_url @@ -73674,9 +74000,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: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 responses: '204': description: Response if user is a collaborator @@ -73722,9 +74048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 requestBody: required: false content: @@ -73750,7 +74076,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &632 + schema: &636 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73761,7 +74087,7 @@ paths: example: 42 type: integer format: int64 - repository: *249 + repository: *253 invitee: title: Simple User description: A GitHub user. @@ -73939,7 +74265,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *226 + schema: *230 '403': *29 x-github: triggersNotification: true @@ -73979,9 +74305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 responses: '204': description: No Content when collaborator was removed from the repository. @@ -74012,9 +74338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 responses: '200': description: if user has admin permissions @@ -74034,8 +74360,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *557 - required: *558 + properties: *561 + required: *562 nullable: true required: - permission @@ -74090,8 +74416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -74101,7 +74427,7 @@ paths: application/json: schema: type: array - items: &559 + items: &563 title: Commit Comment description: Commit Comment type: object @@ -74142,8 +74468,8 @@ paths: updated_at: type: string format: date-time - author_association: *186 - reactions: *187 + author_association: *188 + reactions: *189 required: - url - html_url @@ -74159,7 +74485,7 @@ paths: - created_at - updated_at examples: - default: &562 + default: &566 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74218,17 +74544,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '200': description: Response content: application/json: - schema: *559 + schema: *563 examples: - default: &563 + default: &567 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74285,9 +74611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -74309,7 +74635,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *563 examples: default: value: @@ -74360,9 +74686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '204': description: Response @@ -74383,9 +74709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -74411,9 +74737,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -74434,9 +74760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -74468,16 +74794,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -74499,10 +74825,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *441 - - *442 - - *198 - - *433 + - *445 + - *446 + - *200 + - *437 responses: '204': description: Response @@ -74551,8 +74877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *441 - - *442 + - *445 + - *446 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -74608,9 +74934,9 @@ paths: application/json: schema: type: array - items: *560 + items: *564 examples: - default: &682 + default: &686 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74704,9 +75030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *441 - - *442 - - &561 + - *445 + - *446 + - &565 name: commit_sha description: The SHA of the commit. in: path @@ -74778,9 +75104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 - *17 - *19 responses: @@ -74790,9 +75116,9 @@ paths: application/json: schema: type: array - items: *559 + items: *563 examples: - default: *562 + default: *566 headers: Link: *43 x-github: @@ -74820,9 +75146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 requestBody: required: true content: @@ -74857,9 +75183,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *563 examples: - default: *563 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74887,9 +75213,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: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 - *17 - *19 responses: @@ -74899,9 +75225,9 @@ paths: application/json: schema: type: array - items: *564 + items: *568 examples: - default: &674 + default: &678 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75438,11 +75764,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *441 - - *442 + - *445 + - *446 - *19 - *17 - - &565 + - &569 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)" @@ -75457,9 +75783,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *564 examples: - default: &661 + default: &665 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75572,11 +75898,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: - - *441 - - *442 - - *565 - - *566 - - *567 + - *445 + - *446 + - *569 + - *570 + - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -75610,9 +75936,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *516 examples: - default: *568 + default: *572 headers: Link: *43 x-github: @@ -75637,9 +75963,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: - - *441 - - *442 - - *565 + - *445 + - *446 + - *569 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -75647,7 +75973,7 @@ paths: schema: type: integer example: 1 - - *566 + - *570 - *17 - *19 responses: @@ -75665,7 +75991,7 @@ paths: type: integer check_suites: type: array - items: *517 + items: *521 examples: default: value: @@ -75865,9 +76191,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: - - *441 - - *442 - - *565 + - *445 + - *446 + - *569 - *17 - *19 responses: @@ -75934,7 +76260,7 @@ paths: type: string total_count: type: integer - repository: *249 + repository: *253 commit_url: type: string format: uri @@ -76065,9 +76391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *441 - - *442 - - *565 + - *445 + - *446 + - *569 - *17 - *19 responses: @@ -76077,7 +76403,7 @@ paths: application/json: schema: type: array - items: &736 + items: &740 title: Status description: The status of a commit. type: object @@ -76158,7 +76484,7 @@ paths: site_admin: false headers: Link: *43 - '301': *455 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76186,8 +76512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -76216,20 +76542,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *569 - required: *570 + properties: *573 + required: *574 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &571 + properties: &575 url: type: string format: uri html_url: type: string format: uri - required: &572 + required: &576 - url - html_url nullable: true @@ -76237,32 +76563,32 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true contributing: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true readme: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true issue_template: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true pull_request_template: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true required: - code_of_conduct @@ -76389,8 +76715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *441 - - *442 + - *445 + - *446 - *19 - *17 - name: basehead @@ -76433,8 +76759,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *560 - merge_base_commit: *560 + base_commit: *564 + merge_base_commit: *564 status: type: string enum: @@ -76454,10 +76780,10 @@ paths: example: 6 commits: type: array - items: *560 + items: *564 files: type: array - items: *573 + items: *577 required: - url - html_url @@ -76743,8 +77069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *441 - - *442 + - *445 + - *446 - name: path description: path parameter in: path @@ -76887,7 +77213,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &574 + response-if-content-is-a-file: &578 summary: Response if content is a file value: type: file @@ -77019,7 +77345,7 @@ paths: - size - type - url - - &687 + - &691 title: Content File description: Content File type: object @@ -77220,7 +77546,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *574 + response-if-content-is-a-file: *578 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -77289,7 +77615,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *575 + '302': *579 '304': *37 x-github: githubCloudOnly: false @@ -77312,8 +77638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *441 - - *442 + - *445 + - *446 - name: path description: path parameter in: path @@ -77406,7 +77732,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &580 title: File Commit description: File Commit type: object @@ -77558,7 +77884,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: example-for-creating-a-file: value: @@ -77612,7 +77938,7 @@ paths: schema: oneOf: - *3 - - &614 + - &618 description: Repository rule violation was detected type: object properties: @@ -77633,7 +77959,7 @@ paths: items: type: object properties: - placeholder_id: &728 + placeholder_id: &732 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -77665,8 +77991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *441 - - *442 + - *445 + - *446 - name: path description: path parameter in: path @@ -77727,7 +78053,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: default: value: @@ -77782,8 +78108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *441 - - *442 + - *445 + - *446 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77906,22 +78232,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *441 - - *442 - - *297 - - *298 - - *299 - - *300 + - *445 + - *446 + - *301 + - *302 + - *303 + - *304 - 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 - - *301 - - *302 - - *303 - - *304 + - *305 + - *306 + - *307 + - *308 - *101 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -77941,8 +78267,8 @@ paths: default: 30 - *99 - *100 - - *305 - - *306 + - *309 + - *310 responses: '200': description: Response @@ -77950,7 +78276,7 @@ paths: application/json: schema: type: array - items: &579 + items: &583 type: object description: A Dependabot alert. properties: @@ -77996,7 +78322,7 @@ paths: - unknown - direct - transitive - security_advisory: *577 + security_advisory: *581 security_vulnerability: *117 url: *118 html_url: *119 @@ -78027,7 +78353,7 @@ paths: nullable: true maxLength: 280 fixed_at: *123 - auto_dismissed_at: *578 + auto_dismissed_at: *582 required: - number - state @@ -78257,9 +78583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *441 - - *442 - - &580 + - *445 + - *446 + - &584 name: alert_number in: path description: |- @@ -78274,7 +78600,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: default: value: @@ -78387,9 +78713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *441 - - *442 - - *580 + - *445 + - *446 + - *584 requestBody: required: true content: @@ -78434,7 +78760,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: default: value: @@ -78563,8 +78889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -78582,7 +78908,7 @@ paths: type: integer secrets: type: array - items: &583 + items: &587 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -78635,16 +78961,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *581 + schema: *585 examples: - default: *582 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78664,15 +78990,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '200': description: Response content: application/json: - schema: *583 + schema: *587 examples: default: value: @@ -78698,9 +79024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 requestBody: required: true content: @@ -78728,7 +79054,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -78752,9 +79078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '204': description: Response @@ -78776,8 +79102,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: - - *441 - - *442 + - *445 + - *446 - 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 @@ -78937,8 +79263,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -79177,8 +79503,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -79253,7 +79579,7 @@ paths: - version - url additionalProperties: false - metadata: &584 + metadata: &588 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79286,7 +79612,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *584 + metadata: *588 resolved: type: object description: A collection of resolved package dependencies. @@ -79299,7 +79625,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *584 + metadata: *588 relationship: type: string description: A notation of whether a dependency is requested @@ -79428,8 +79754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *441 - - *442 + - *445 + - *446 - name: sha description: The SHA recorded at creation time. in: query @@ -79469,9 +79795,9 @@ paths: application/json: schema: type: array - items: *585 + items: *589 examples: - default: *586 + default: *590 headers: Link: *43 x-github: @@ -79537,8 +79863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -79619,7 +79945,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *589 examples: simple-example: summary: Simple example @@ -79692,9 +80018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *441 - - *442 - - &587 + - *445 + - *446 + - &591 name: deployment_id description: deployment_id parameter in: path @@ -79706,7 +80032,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *589 examples: default: value: @@ -79771,9 +80097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 responses: '204': description: Response @@ -79795,9 +80121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 - *17 - *19 responses: @@ -79807,7 +80133,7 @@ paths: application/json: schema: type: array - items: &588 + items: &592 title: Deployment Status description: The status of a deployment. type: object @@ -79898,8 +80224,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -79968,9 +80294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 requestBody: required: true content: @@ -80045,9 +80371,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *592 examples: - default: &589 + default: &593 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -80103,9 +80429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 - name: status_id in: path required: true @@ -80116,9 +80442,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *592 examples: - default: *589 + default: *593 '404': *6 x-github: githubCloudOnly: false @@ -80145,12 +80471,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 - - *590 - - *591 - - *592 - - *593 + - *445 + - *446 + - *594 + - *595 + - *596 + - *597 - *17 - *19 responses: @@ -80160,9 +80486,9 @@ paths: application/json: schema: type: array - items: *594 + items: *598 examples: - default: *595 + default: *599 '404': *6 '403': *29 '500': *40 @@ -80186,8 +80512,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80199,7 +80525,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *594 + schema: *598 examples: default: value: @@ -80255,8 +80581,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80315,12 +80641,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - *94 - *95 - *96 - - *596 + - *600 - *17 - *19 responses: @@ -80330,9 +80656,9 @@ paths: application/json: schema: type: array - items: *597 + items: *601 examples: - default: *598 + default: *602 '404': *6 '403': *29 '500': *40 @@ -80357,8 +80683,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80370,7 +80696,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *597 + schema: *601 examples: default: value: @@ -80428,8 +80754,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80498,8 +80824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -80556,8 +80882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -80574,7 +80900,7 @@ paths: type: integer environments: type: array - items: &600 + items: &604 title: Environment description: Details of a deployment environment type: object @@ -80626,7 +80952,7 @@ paths: type: type: string example: wait_timer - wait_timer: &602 + wait_timer: &606 type: integer example: 30 description: The amount of time to delay a job after @@ -80663,11 +80989,11 @@ paths: items: type: object properties: - type: *599 + type: *603 reviewer: anyOf: - *4 - - *276 + - *280 required: - id - node_id @@ -80687,7 +81013,7 @@ paths: - id - node_id - type - deployment_branch_policy: &603 + deployment_branch_policy: &607 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -80803,9 +81129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *441 - - *442 - - &601 + - *445 + - *446 + - &605 name: environment_name in: path required: true @@ -80818,9 +81144,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: &604 + default: &608 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -80904,9 +81230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 requestBody: required: false content: @@ -80915,7 +81241,7 @@ paths: type: object nullable: true properties: - wait_timer: *602 + wait_timer: *606 prevent_self_review: type: boolean example: false @@ -80932,13 +81258,13 @@ paths: items: type: object properties: - type: *599 + type: *603 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *603 + deployment_branch_policy: *607 additionalProperties: false examples: default: @@ -80958,9 +81284,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *604 + default: *608 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80984,9 +81310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 responses: '204': description: Default response @@ -81011,9 +81337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 - *17 - *19 responses: @@ -81031,7 +81357,7 @@ paths: example: 2 branch_policies: type: array - items: &605 + items: &609 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -81088,9 +81414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 requestBody: required: true content: @@ -81136,9 +81462,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - example-wildcard: &606 + example-wildcard: &610 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -81180,10 +81506,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 - - &607 + - *445 + - *446 + - *605 + - &611 name: branch_policy_id in: path required: true @@ -81195,9 +81521,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81216,10 +81542,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 - - *607 + - *445 + - *446 + - *605 + - *611 requestBody: required: true content: @@ -81247,9 +81573,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81268,10 +81594,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 - - *607 + - *445 + - *446 + - *605 + - *611 responses: '204': description: Response @@ -81296,9 +81622,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: - - *601 - - *442 - - *441 + - *605 + - *446 + - *445 responses: '200': description: List of deployment protection rules @@ -81314,7 +81640,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &608 + items: &612 title: Deployment protection rule description: Deployment protection rule type: object @@ -81333,7 +81659,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &609 + app: &613 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -81432,9 +81758,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: - - *601 - - *442 - - *441 + - *605 + - *446 + - *445 requestBody: content: application/json: @@ -81455,9 +81781,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *608 + schema: *612 examples: - default: &610 + default: &614 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -81492,9 +81818,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: - - *601 - - *442 - - *441 + - *605 + - *446 + - *445 - *19 - *17 responses: @@ -81513,7 +81839,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *609 + items: *613 examples: default: value: @@ -81548,10 +81874,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: - - *441 - - *442 - - *601 - - &611 + - *445 + - *446 + - *605 + - &615 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -81563,9 +81889,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *612 examples: - default: *610 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81586,10 +81912,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: - - *601 - - *442 - - *441 - - *611 + - *605 + - *446 + - *445 + - *615 responses: '204': description: Response @@ -81615,9 +81941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 - *17 - *19 responses: @@ -81635,9 +81961,9 @@ paths: type: integer secrets: type: array - items: *478 + items: *482 examples: - default: *479 + default: *483 headers: Link: *43 x-github: @@ -81662,17 +81988,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 responses: '200': description: Response content: application/json: - schema: *480 + schema: *484 examples: - default: *481 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81694,18 +82020,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *441 - - *442 - - *601 - - *259 + - *445 + - *446 + - *605 + - *263 responses: '200': description: Response content: application/json: - schema: *478 + schema: *482 examples: - default: *612 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81727,10 +82053,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *441 - - *442 - - *601 - - *259 + - *445 + - *446 + - *605 + - *263 requestBody: required: true content: @@ -81761,7 +82087,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -81787,10 +82113,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *441 - - *442 - - *601 - - *259 + - *445 + - *446 + - *605 + - *263 responses: '204': description: Default response @@ -81815,10 +82141,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *441 - - *442 - - *601 - - *465 + - *445 + - *446 + - *605 + - *469 - *19 responses: '200': @@ -81835,9 +82161,9 @@ paths: type: integer variables: type: array - items: *482 + items: *486 examples: - default: *483 + default: *487 headers: Link: *43 x-github: @@ -81860,9 +82186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 requestBody: required: true content: @@ -81889,7 +82215,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -81914,18 +82240,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *441 - - *442 - - *601 - - *262 + - *445 + - *446 + - *605 + - *266 responses: '200': description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: *613 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81946,10 +82272,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *441 - - *442 - - *262 - - *601 + - *445 + - *446 + - *266 + - *605 requestBody: required: true content: @@ -81991,10 +82317,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *441 - - *442 - - *262 - - *601 + - *445 + - *446 + - *266 + - *605 responses: '204': description: Response @@ -82016,8 +82342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -82027,7 +82353,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: 200-response: value: @@ -82094,8 +82420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *441 - - *442 + - *445 + - *446 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82117,7 +82443,7 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: default: value: @@ -82254,8 +82580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -82287,9 +82613,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 '400': *14 '422': *15 '403': *29 @@ -82310,8 +82636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -82370,8 +82696,8 @@ paths: application/json: schema: oneOf: - - *226 - - *614 + - *230 + - *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82396,8 +82722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *441 - - *442 + - *445 + - *446 - name: file_sha in: path required: true @@ -82496,8 +82822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -82606,7 +82932,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &619 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -82820,15 +83146,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 responses: '200': description: Response content: application/json: - schema: *615 + schema: *619 examples: default: value: @@ -82884,9 +83210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *441 - - *442 - - &616 + - *445 + - *446 + - &620 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. @@ -82903,7 +83229,7 @@ paths: application/json: schema: type: array - items: &617 + items: &621 title: Git Reference description: Git references within a repository type: object @@ -82978,17 +83304,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *441 - - *442 - - *616 + - *445 + - *446 + - *620 responses: '200': description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: &618 + default: &622 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -83017,8 +83343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -83047,9 +83373,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: *618 + default: *622 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -83075,9 +83401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *441 - - *442 - - *616 + - *445 + - *446 + - *620 requestBody: required: true content: @@ -83106,9 +83432,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: *618 + default: *622 '422': *15 '409': *109 x-github: @@ -83126,9 +83452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *441 - - *442 - - *616 + - *445 + - *446 + - *620 responses: '204': description: Response @@ -83183,8 +83509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -83251,7 +83577,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &624 title: Git Tag description: Metadata for a Git tag type: object @@ -83302,7 +83628,7 @@ paths: - sha - type - url - verification: *619 + verification: *623 required: - sha - url @@ -83312,7 +83638,7 @@ paths: - tag - message examples: - default: &621 + default: &625 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -83385,8 +83711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *441 - - *442 + - *445 + - *446 - name: tag_sha in: path required: true @@ -83397,9 +83723,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *624 examples: - default: *621 + default: *625 '404': *6 '409': *109 x-github: @@ -83423,8 +83749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -83497,7 +83823,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &626 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -83593,8 +83919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *441 - - *442 + - *445 + - *446 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -83617,7 +83943,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *626 examples: default-response: summary: Default response @@ -83676,8 +84002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -83687,7 +84013,7 @@ paths: application/json: schema: type: array - items: &623 + items: &627 title: Webhook description: Webhooks for repositories. type: object @@ -83741,7 +84067,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &873 + last_response: &877 title: Hook Response type: object properties: @@ -83815,8 +84141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -83868,9 +84194,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *627 examples: - default: &624 + default: &628 value: type: Repository id: 12345678 @@ -83918,17 +84244,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '200': description: Response content: application/json: - schema: *623 + schema: *627 examples: - default: *624 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -83948,9 +84274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 requestBody: required: true content: @@ -83995,9 +84321,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *627 examples: - default: *624 + default: *628 '422': *15 '404': *6 x-github: @@ -84018,9 +84344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '204': description: Response @@ -84044,9 +84370,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: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '200': description: Response @@ -84073,9 +84399,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: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 requestBody: required: false content: @@ -84119,11 +84445,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 - *17 - - *315 + - *319 responses: '200': description: Response @@ -84131,9 +84457,9 @@ paths: application/json: schema: type: array - items: *316 + items: *320 examples: - default: *317 + default: *321 '400': *14 '422': *15 x-github: @@ -84152,18 +84478,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: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 - *16 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: *319 + default: *323 '400': *14 '422': *15 x-github: @@ -84182,9 +84508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 - *16 responses: '202': *39 @@ -84207,9 +84533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '204': description: Response @@ -84234,9 +84560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '204': description: Response @@ -84294,14 +84620,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &625 + schema: &629 title: Import description: A repository import from an external source. type: object @@ -84400,7 +84726,7 @@ paths: - html_url - authors_url examples: - default: &628 + default: &632 value: vcs: subversion use_lfs: true @@ -84416,7 +84742,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &626 + '503': &630 description: Unavailable due to service under maintenance. content: application/json: @@ -84445,8 +84771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -84494,7 +84820,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: default: value: @@ -84519,7 +84845,7 @@ paths: type: string '422': *15 '404': *6 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84547,8 +84873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -84597,7 +84923,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: example-1: summary: Example 1 @@ -84645,7 +84971,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': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84668,12 +84994,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84699,9 +85025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *441 - - *442 - - &814 + - *445 + - *446 + - &818 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -84715,7 +85041,7 @@ paths: application/json: schema: type: array - items: &627 + items: &631 title: Porter Author description: Porter Author type: object @@ -84769,7 +85095,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84794,8 +85120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *441 - - *442 + - *445 + - *446 - name: author_id in: path required: true @@ -84825,7 +85151,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *631 examples: default: value: @@ -84838,7 +85164,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84862,8 +85188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -84904,7 +85230,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84932,8 +85258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -84960,11 +85286,11 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: - default: *628 + default: *632 '422': *15 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84987,8 +85313,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -84996,8 +85322,8 @@ paths: application/json: schema: *22 examples: - default: *629 - '301': *455 + default: *633 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -85017,8 +85343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -85026,12 +85352,12 @@ paths: application/json: schema: anyOf: - - *332 + - *336 - type: object properties: {} additionalProperties: false examples: - default: &631 + default: &635 value: limit: collaborators_only origin: repository @@ -85056,13 +85382,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *630 + schema: *634 examples: default: summary: Example request body @@ -85074,9 +85400,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *336 examples: - default: *631 + default: *635 '409': description: Response x-github: @@ -85098,8 +85424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -85122,8 +85448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -85133,9 +85459,9 @@ paths: application/json: schema: type: array - items: *632 + items: *636 examples: - default: &807 + default: &811 value: - id: 1 repository: @@ -85266,9 +85592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *441 - - *442 - - *336 + - *445 + - *446 + - *340 requestBody: required: false content: @@ -85297,7 +85623,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *636 examples: default: value: @@ -85428,9 +85754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *441 - - *442 - - *336 + - *445 + - *446 + - *340 responses: '204': description: Response @@ -85461,8 +85787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *441 - - *442 + - *445 + - *446 - 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 @@ -85510,7 +85836,7 @@ paths: required: false schema: type: string - - *340 + - *344 - name: sort description: What to sort results by. in: query @@ -85523,7 +85849,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - *17 - *19 responses: @@ -85533,9 +85859,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: &641 + default: &645 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85683,7 +86009,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *455 + '301': *459 '422': *15 '404': *6 x-github: @@ -85712,8 +86038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -85795,9 +86121,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: &638 + default: &642 value: id: 1 node_id: MDU6SXNzdWUx @@ -85953,7 +86279,7 @@ paths: '422': *15 '503': *167 '404': *6 - '410': *452 + '410': *456 x-github: triggersNotification: true githubCloudOnly: false @@ -85981,9 +86307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *441 - - *442 - - *209 + - *445 + - *446 + - *211 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -85993,7 +86319,7 @@ paths: enum: - asc - desc - - *189 + - *191 - *17 - *19 responses: @@ -86003,9 +86329,9 @@ paths: application/json: schema: type: array - items: *633 + items: *637 examples: - default: &640 + default: &644 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86063,17 +86389,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '200': description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: &634 + default: &638 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86127,9 +86453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -86151,9 +86477,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: *634 + default: *638 '422': *15 x-github: githubCloudOnly: false @@ -86171,9 +86497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '204': description: Response @@ -86193,9 +86519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -86221,9 +86547,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -86244,9 +86570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -86278,16 +86604,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -86309,10 +86635,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *441 - - *442 - - *198 - - *433 + - *445 + - *446 + - *200 + - *437 responses: '204': description: Response @@ -86332,8 +86658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -86343,7 +86669,7 @@ paths: application/json: schema: type: array - items: &637 + items: &641 title: Issue Event description: Issue Event type: object @@ -86386,8 +86712,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *635 - required: *636 + properties: *639 + required: *640 nullable: true label: title: Issue Event Label @@ -86431,7 +86757,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *276 + requested_team: *280 dismissed_review: title: Issue Event Dismissed Review type: object @@ -86496,7 +86822,7 @@ paths: required: - from - to - author_association: *186 + author_association: *188 lock_reason: type: string nullable: true @@ -86509,8 +86835,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -86694,8 +87020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *441 - - *442 + - *445 + - *446 - name: event_id in: path required: true @@ -86706,7 +87032,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *641 examples: default: value: @@ -86899,7 +87225,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *452 + '410': *456 '403': *29 x-github: githubCloudOnly: false @@ -86933,9 +87259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *441 - - *442 - - &639 + - *445 + - *446 + - &643 name: issue_number description: The number that identifies the issue. in: path @@ -86947,12 +87273,12 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 - '301': *455 + default: *642 + '301': *459 '404': *6 - '410': *452 + '410': *456 '304': *37 x-github: githubCloudOnly: false @@ -86977,9 +87303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -87083,15 +87409,15 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 '422': *15 '503': *167 '403': *29 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87109,9 +87435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -87137,9 +87463,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87155,9 +87481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: content: application/json: @@ -87182,9 +87508,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87206,9 +87532,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: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - name: assignee in: path required: true @@ -87248,10 +87574,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *441 - - *442 - - *639 - - *189 + - *445 + - *446 + - *643 + - *191 - *17 - *19 responses: @@ -87261,13 +87587,13 @@ paths: application/json: schema: type: array - items: *633 + items: *637 examples: - default: *640 + default: *644 headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87296,9 +87622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -87320,16 +87646,16 @@ paths: description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: *634 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *452 + '410': *456 '422': *15 '404': *6 x-github: @@ -87357,9 +87683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -87369,14 +87695,14 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *641 + default: *645 headers: Link: *43 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87404,9 +87730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -87428,17 +87754,17 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *455 + '301': *459 '403': *29 - '410': *452 + '410': *456 '422': *15 '404': *6 x-github: @@ -87469,9 +87795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -87483,15 +87809,15 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 - '301': *455 + default: *642 + '301': *459 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *452 + '410': *456 x-github: triggersNotification: true githubCloudOnly: false @@ -87517,9 +87843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -87529,14 +87855,14 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *641 + default: *645 headers: Link: *43 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87553,9 +87879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -87569,7 +87895,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &644 + - &648 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -87600,8 +87926,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 label: type: object properties: @@ -87623,7 +87949,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &649 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -87654,8 +87980,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 label: type: object properties: @@ -87743,8 +88069,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 assignee: *4 assigner: *4 required: @@ -87759,7 +88085,7 @@ paths: - performed_via_github_app - assignee - assigner - - &646 + - &650 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -87790,8 +88116,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 milestone: type: object properties: @@ -87810,7 +88136,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &651 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -87841,8 +88167,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 milestone: type: object properties: @@ -87861,7 +88187,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &652 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -87892,8 +88218,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 rename: type: object properties: @@ -87915,7 +88241,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &653 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -87946,10 +88272,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 review_requester: *4 - requested_team: *276 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -87962,7 +88288,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &654 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -87993,10 +88319,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 review_requester: *4 - requested_team: *276 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -88009,7 +88335,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &655 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -88040,8 +88366,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 dismissed_review: type: object properties: @@ -88069,7 +88395,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &656 title: Locked Issue Event description: Locked Issue Event type: object @@ -88100,8 +88426,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 lock_reason: type: string example: '"off-topic"' @@ -88117,7 +88443,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &657 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -88148,8 +88474,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 project_card: type: object properties: @@ -88183,7 +88509,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &658 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -88214,8 +88540,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 project_card: type: object properties: @@ -88249,7 +88575,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &659 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -88280,8 +88606,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 project_card: type: object properties: @@ -88315,7 +88641,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &660 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -88406,7 +88732,7 @@ paths: color: red headers: Link: *43 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88423,9 +88749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -88435,7 +88761,7 @@ paths: application/json: schema: type: array - items: &642 + items: &646 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -88482,7 +88808,7 @@ paths: - color - default examples: - default: &643 + default: &647 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -88500,9 +88826,9 @@ paths: default: false headers: Link: *43 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88519,9 +88845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -88580,12 +88906,12 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 - '301': *455 + default: *647 + '301': *459 '404': *6 - '410': *452 + '410': *456 '422': *15 x-github: githubCloudOnly: false @@ -88602,9 +88928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -88664,12 +88990,12 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 - '301': *455 + default: *647 + '301': *459 '404': *6 - '410': *452 + '410': *456 '422': *15 x-github: githubCloudOnly: false @@ -88686,15 +89012,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 responses: '204': description: Response - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88713,9 +89039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - name: name in: path required: true @@ -88728,7 +89054,7 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: default: value: @@ -88739,9 +89065,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88761,9 +89087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -88791,7 +89117,7 @@ paths: '204': description: Response '403': *29 - '410': *452 + '410': *456 '404': *6 '422': *15 x-github: @@ -88809,9 +89135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 responses: '204': description: Response @@ -88841,20 +89167,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 - '301': *455 + default: *642 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88871,9 +89197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - 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. @@ -88899,13 +89225,13 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88923,9 +89249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -88957,16 +89283,16 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -88988,10 +89314,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *441 - - *442 - - *639 - - *433 + - *445 + - *446 + - *643 + - *437 responses: '204': description: Response @@ -89020,9 +89346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -89044,9 +89370,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -89079,9 +89405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -89091,13 +89417,13 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *641 + default: *645 headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89125,9 +89451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -89154,16 +89480,16 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *452 + '410': *456 '422': *15 '404': *6 x-github: @@ -89183,9 +89509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -89216,9 +89542,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 '403': *29 '404': *6 '422': *7 @@ -89240,9 +89566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -89257,10 +89583,6 @@ paths: description: Timeline Event type: object anyOf: - - *644 - - *645 - - *646 - - *647 - *648 - *649 - *650 @@ -89270,6 +89592,10 @@ paths: - *654 - *655 - *656 + - *657 + - *658 + - *659 + - *660 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -89312,7 +89638,7 @@ paths: issue_url: type: string format: uri - author_association: *186 + author_association: *188 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -89322,9 +89648,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - reactions: *187 + properties: *186 + required: *187 + reactions: *189 required: - event - actor @@ -89355,7 +89681,7 @@ paths: properties: type: type: string - issue: *199 + issue: *201 required: - event - created_at @@ -89555,7 +89881,7 @@ paths: type: string body_text: type: string - author_association: *186 + author_association: *188 required: - event - id @@ -89578,7 +89904,7 @@ paths: type: string comments: type: array - items: &676 + items: &680 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -89667,7 +89993,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *186 + author_association: *188 _links: type: object properties: @@ -89751,7 +90077,7 @@ paths: enum: - line - file - reactions: *187 + reactions: *189 body_html: type: string example: '"

comment body

"' @@ -89787,7 +90113,7 @@ paths: type: string comments: type: array - items: *559 + items: *563 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89818,8 +90144,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 assignee: *4 required: - id @@ -89862,8 +90188,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 assignee: *4 required: - id @@ -89906,8 +90232,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 state_reason: type: string nullable: true @@ -90076,7 +90402,7 @@ paths: headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90093,8 +90419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -90104,7 +90430,7 @@ paths: application/json: schema: type: array - items: &657 + items: &661 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -90170,8 +90496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90207,9 +90533,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *661 examples: - default: &658 + default: &662 value: id: 1 key: ssh-rsa AAA... @@ -90243,9 +90569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *441 - - *442 - - &659 + - *445 + - *446 + - &663 name: key_id description: The unique identifier of the key. in: path @@ -90257,9 +90583,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *661 examples: - default: *658 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -90277,9 +90603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *441 - - *442 - - *659 + - *445 + - *446 + - *663 responses: '204': description: Response @@ -90299,8 +90625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -90310,9 +90636,9 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 + default: *647 headers: Link: *43 '404': *6 @@ -90333,8 +90659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90370,9 +90696,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: - default: &660 + default: &664 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90404,8 +90730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *441 - - *442 + - *445 + - *446 - name: name in: path required: true @@ -90416,9 +90742,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: - default: *660 + default: *664 '404': *6 x-github: githubCloudOnly: false @@ -90435,8 +90761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *441 - - *442 + - *445 + - *446 - name: name in: path required: true @@ -90475,7 +90801,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -90501,8 +90827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *441 - - *442 + - *445 + - *446 - name: name in: path required: true @@ -90528,8 +90854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -90565,8 +90891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '202': *39 '403': @@ -90594,8 +90920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -90621,9 +90947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *441 - - *442 - - *535 + - *445 + - *446 + - *539 responses: '200': description: Response @@ -90685,8 +91011,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true required: - _links @@ -90768,8 +91094,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90834,8 +91160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90869,9 +91195,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *560 + schema: *564 examples: - default: *661 + default: *665 '204': description: Response when already merged '404': @@ -90896,8 +91222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *441 - - *442 + - *445 + - *446 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -90938,12 +91264,12 @@ paths: application/json: schema: type: array - items: &662 + items: &666 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 examples: default: value: @@ -90999,8 +91325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -91040,9 +91366,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *666 examples: - default: &663 + default: &667 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -91101,9 +91427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *441 - - *442 - - &664 + - *445 + - *446 + - &668 name: milestone_number description: The number that identifies the milestone. in: path @@ -91115,9 +91441,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *666 examples: - default: *663 + default: *667 '404': *6 x-github: githubCloudOnly: false @@ -91134,9 +91460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *441 - - *442 - - *664 + - *445 + - *446 + - *668 requestBody: required: false content: @@ -91174,9 +91500,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *666 examples: - default: *663 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91192,9 +91518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *441 - - *442 - - *664 + - *445 + - *446 + - *668 responses: '204': description: Response @@ -91215,9 +91541,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: - - *441 - - *442 - - *664 + - *445 + - *446 + - *668 - *17 - *19 responses: @@ -91227,9 +91553,9 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 + default: *647 headers: Link: *43 x-github: @@ -91248,12 +91574,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: - - *441 - - *442 - - *665 - - *666 - - *189 - - *667 + - *445 + - *446 + - *669 + - *670 + - *191 + - *671 - *17 - *19 responses: @@ -91263,9 +91589,9 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: - default: *668 + default: *672 headers: Link: *43 x-github: @@ -91289,8 +91615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -91348,14 +91674,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &669 + schema: &673 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -91480,7 +91806,7 @@ paths: - custom_404 - public examples: - default: &670 + default: &674 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -91521,8 +91847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -91576,9 +91902,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 '422': *15 '409': *109 x-github: @@ -91601,8 +91927,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -91709,8 +92035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -91736,8 +92062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -91747,7 +92073,7 @@ paths: application/json: schema: type: array - items: &671 + items: &675 title: Page Build description: Page Build type: object @@ -91841,8 +92167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *441 - - *442 + - *445 + - *446 responses: '201': description: Response @@ -91887,16 +92213,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: &672 + default: &676 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -91944,8 +92270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *441 - - *442 + - *445 + - *446 - name: build_id in: path required: true @@ -91956,9 +92282,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: *672 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91978,8 +92304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92084,9 +92410,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: - - *441 - - *442 - - &673 + - *445 + - *446 + - &677 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -92144,9 +92470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *441 - - *442 - - *673 + - *445 + - *446 + - *677 responses: '204': *133 '404': *6 @@ -92173,8 +92499,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -92405,7 +92731,7 @@ paths: description: Empty response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -92432,8 +92758,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Private vulnerability reporting status @@ -92470,8 +92796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': *133 '422': *14 @@ -92492,8 +92818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': *133 '422': *14 @@ -92516,8 +92842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *441 - - *442 + - *445 + - *446 - name: state description: Indicates the state of the projects to return. in: query @@ -92538,7 +92864,7 @@ paths: application/json: schema: type: array - items: *369 + items: *373 examples: default: value: @@ -92578,7 +92904,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *452 + '410': *456 '422': *7 x-github: githubCloudOnly: false @@ -92601,8 +92927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92628,13 +92954,13 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: - default: *451 + default: *455 '401': *25 '403': *29 '404': *6 - '410': *452 + '410': *456 '422': *7 x-github: githubCloudOnly: false @@ -92657,8 +92983,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -92666,7 +92992,7 @@ paths: application/json: schema: type: array - items: *384 + items: *388 examples: default: value: @@ -92697,8 +93023,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92710,7 +93036,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *384 + items: *388 required: - properties examples: @@ -92760,8 +93086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -92821,9 +93147,9 @@ paths: application/json: schema: type: array - items: *564 + items: *568 examples: - default: *674 + default: *678 headers: Link: *43 '304': *37 @@ -92855,8 +93181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92921,7 +93247,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &682 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -93032,8 +93358,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 nullable: true active_lock_reason: type: string @@ -93078,7 +93404,7 @@ paths: nullable: true requested_teams: type: array - items: *408 + items: *412 nullable: true head: type: object @@ -93117,14 +93443,14 @@ paths: _links: type: object properties: - comments: *377 - commits: *377 - statuses: *377 - html: *377 - issue: *377 - review_comments: *377 - review_comment: *377 - self: *377 + comments: *381 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -93134,8 +93460,8 @@ paths: - review_comments - review_comment - self - author_association: *186 - auto_merge: *675 + author_association: *188 + auto_merge: *679 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -93227,7 +93553,7 @@ paths: - merged_by - review_comments examples: - default: &679 + default: &683 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93754,8 +94080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - name: sort in: query required: false @@ -93774,7 +94100,7 @@ paths: enum: - asc - desc - - *189 + - *191 - *17 - *19 responses: @@ -93784,9 +94110,9 @@ paths: application/json: schema: type: array - items: *676 + items: *680 examples: - default: &681 + default: &685 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93863,17 +94189,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: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '200': description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: &677 + default: &681 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93948,9 +94274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -93972,9 +94298,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *677 + default: *681 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93990,9 +94316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '204': description: Response @@ -94013,9 +94339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -94041,9 +94367,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -94064,9 +94390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -94098,16 +94424,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -94129,10 +94455,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *441 - - *442 - - *198 - - *433 + - *445 + - *446 + - *200 + - *437 responses: '204': description: Response @@ -94175,9 +94501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *441 - - *442 - - &680 + - *445 + - *446 + - &684 name: pull_number description: The number that identifies the pull request. in: path @@ -94190,9 +94516,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *678 + schema: *682 examples: - default: *679 + default: *683 '304': *37 '404': *6 '406': @@ -94227,9 +94553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -94271,9 +94597,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *682 examples: - default: *679 + default: *683 '422': *15 '403': *29 x-github: @@ -94295,9 +94621,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: true content: @@ -94357,17 +94683,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '401': *25 '403': *29 '404': *6 @@ -94397,10 +94723,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *441 - - *442 - - *680 - - *209 + - *445 + - *446 + - *684 + - *211 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -94410,7 +94736,7 @@ paths: enum: - asc - desc - - *189 + - *191 - *17 - *19 responses: @@ -94420,9 +94746,9 @@ paths: application/json: schema: type: array - items: *676 + items: *680 examples: - default: *681 + default: *685 headers: Link: *43 x-github: @@ -94455,9 +94781,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: true content: @@ -94562,7 +94888,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: example-for-a-multi-line-comment: value: @@ -94650,10 +94976,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *441 - - *442 - - *680 - - *198 + - *445 + - *446 + - *684 + - *200 requestBody: required: true content: @@ -94675,7 +95001,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: default: value: @@ -94761,9 +95087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 - *17 - *19 responses: @@ -94773,9 +95099,9 @@ paths: application/json: schema: type: array - items: *560 + items: *564 examples: - default: *682 + default: *686 headers: Link: *43 x-github: @@ -94805,9 +95131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 - *17 - *19 responses: @@ -94817,7 +95143,7 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: default: value: @@ -94855,9 +95181,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 responses: '204': description: Response if pull request has been merged @@ -94880,9 +95206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -94993,9 +95319,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 responses: '200': description: Response @@ -95011,7 +95337,7 @@ paths: items: *4 teams: type: array - items: *276 + items: *280 required: - users - teams @@ -95070,9 +95396,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -95109,7 +95435,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: default: value: @@ -95645,9 +95971,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: true content: @@ -95681,7 +96007,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: default: value: @@ -96186,9 +96512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 - *17 - *19 responses: @@ -96198,7 +96524,7 @@ paths: application/json: schema: type: array - items: &683 + items: &687 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -96267,7 +96593,7 @@ paths: type: string body_text: type: string - author_association: *186 + author_association: *188 required: - id - node_id @@ -96349,9 +96675,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -96437,9 +96763,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: &685 + default: &689 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96502,10 +96828,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: - - *441 - - *442 - - *680 - - &684 + - *445 + - *446 + - *684 + - &688 name: review_id description: The unique identifier of the review. in: path @@ -96517,9 +96843,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: &686 + default: &690 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96578,10 +96904,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 requestBody: required: true content: @@ -96604,7 +96930,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: default: value: @@ -96666,18 +96992,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 responses: '200': description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: *685 + default: *689 '422': *7 '404': *6 x-github: @@ -96704,10 +97030,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 - *17 - *19 responses: @@ -96786,13 +97112,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *186 + author_association: *188 _links: type: object properties: - self: *377 - html: *377 - pull_request: *377 + self: *381 + html: *381 + pull_request: *381 required: - self - html @@ -96801,7 +97127,7 @@ paths: type: string body_html: type: string - reactions: *187 + reactions: *189 side: description: The side of the first line of the range for a multi-line comment. @@ -96942,10 +97268,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 requestBody: required: true content: @@ -96973,7 +97299,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: default: value: @@ -97036,10 +97362,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 requestBody: required: true content: @@ -97074,9 +97400,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: *686 + default: *690 '404': *6 '422': *7 '403': *29 @@ -97098,9 +97424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -97163,8 +97489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *441 - - *442 + - *445 + - *446 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -97177,9 +97503,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *691 examples: - default: &688 + default: &692 value: type: file encoding: base64 @@ -97221,8 +97547,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: - - *441 - - *442 + - *445 + - *446 - name: dir description: The alternate path to look for a README file in: path @@ -97242,9 +97568,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *691 examples: - default: *688 + default: *692 '404': *6 '422': *15 x-github: @@ -97266,8 +97592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -97277,7 +97603,7 @@ paths: application/json: schema: type: array - items: &689 + items: &693 title: Release description: A release. type: object @@ -97348,7 +97674,7 @@ paths: author: *4 assets: type: array - items: &690 + items: &694 title: Release Asset description: Data related to a release. type: object @@ -97423,7 +97749,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *187 + reactions: *189 required: - assets_url - upload_url @@ -97535,8 +97861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -97612,9 +97938,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: &693 + default: &697 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97719,9 +98045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *441 - - *442 - - &691 + - *445 + - *446 + - &695 name: asset_id description: The unique identifier of the asset. in: path @@ -97733,9 +98059,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *694 examples: - default: &692 + default: &696 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 @@ -97770,7 +98096,7 @@ paths: type: User site_admin: false '404': *6 - '302': *575 + '302': *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97786,9 +98112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *441 - - *442 - - *691 + - *445 + - *446 + - *695 requestBody: required: false content: @@ -97816,9 +98142,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *694 examples: - default: *692 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97834,9 +98160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *441 - - *442 - - *691 + - *445 + - *446 + - *695 responses: '204': description: Response @@ -97860,8 +98186,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -97946,16 +98272,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: *693 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97972,8 +98298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *441 - - *442 + - *445 + - *446 - name: tag description: tag parameter in: path @@ -97986,9 +98312,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: *693 + default: *697 '404': *6 x-github: githubCloudOnly: false @@ -98010,9 +98336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *441 - - *442 - - &694 + - *445 + - *446 + - &698 name: release_id description: The unique identifier of the release. in: path @@ -98026,9 +98352,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: *689 + schema: *693 examples: - default: *693 + default: *697 '401': description: Unauthorized x-github: @@ -98046,9 +98372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 requestBody: required: false content: @@ -98112,9 +98438,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: *693 + default: *697 '404': description: Not Found if the discussion category name is invalid content: @@ -98135,9 +98461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 responses: '204': description: Response @@ -98157,9 +98483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 - *17 - *19 responses: @@ -98169,7 +98495,7 @@ paths: application/json: schema: type: array - items: *690 + items: *694 examples: default: value: @@ -98251,9 +98577,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: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 - name: name in: query required: true @@ -98279,7 +98605,7 @@ paths: description: Response for successful upload content: application/json: - schema: *690 + schema: *694 examples: response-for-successful-upload: value: @@ -98334,9 +98660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 - 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. @@ -98360,9 +98686,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -98383,9 +98709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 requestBody: required: true content: @@ -98415,16 +98741,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -98446,10 +98772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *441 - - *442 - - *694 - - *433 + - *445 + - *446 + - *698 + - *437 responses: '204': description: Response @@ -98473,9 +98799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 - *17 - *19 responses: @@ -98492,7 +98818,7 @@ paths: oneOf: - allOf: - *142 - - &695 + - &699 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98513,67 +98839,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *143 - - *695 + - *699 - allOf: - *144 - - *695 + - *699 - allOf: - *145 - - *695 + - *699 - allOf: - - *696 - - *695 + - *700 + - *699 - allOf: - *146 - - *695 + - *699 - allOf: - *147 - - *695 + - *699 - allOf: - *148 - - *695 + - *699 - allOf: - *149 - - *695 + - *699 - allOf: - *150 - - *695 + - *699 - allOf: - *151 - - *695 + - *699 - allOf: - *152 - - *695 + - *699 - allOf: - *153 - - *695 + - *699 - allOf: - *154 - - *695 + - *699 - allOf: - *155 - - *695 + - *699 - allOf: - *156 - - *695 + - *699 - allOf: - *157 - - *695 + - *699 - allOf: - *158 - - *695 + - *699 - allOf: - *159 - - *695 + - *699 - allOf: - *160 - - *695 + - *699 - allOf: - *161 - - *695 + - *699 - allOf: - - *697 - - *695 + - *701 + - *699 examples: default: value: @@ -98612,8 +98938,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - name: includes_parents @@ -98624,7 +98950,7 @@ paths: schema: type: boolean default: true - - *698 + - *702 responses: '200': description: Response @@ -98679,8 +99005,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 requestBody: description: Request body required: true @@ -98709,7 +99035,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *699 + items: *703 required: - name - enforcement @@ -98742,7 +99068,7 @@ paths: application/json: schema: *162 examples: - default: &708 + default: &712 value: id: 42 name: super cool ruleset @@ -98789,12 +99115,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *441 - - *442 - - *700 + - *445 + - *446 + - *704 - *96 - - *701 - - *702 + - *705 + - *706 - *17 - *19 responses: @@ -98802,9 +99128,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *707 examples: - default: *704 + default: *708 '404': *6 '500': *40 x-github: @@ -98825,17 +99151,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *441 - - *442 - - *705 + - *445 + - *446 + - *709 responses: '200': description: Response content: application/json: - schema: *706 + schema: *710 examples: - default: *707 + default: *711 '404': *6 '500': *40 x-github: @@ -98863,8 +99189,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98886,7 +99212,7 @@ paths: application/json: schema: *162 examples: - default: *708 + default: *712 '404': *6 '500': *40 put: @@ -98904,8 +99230,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98939,7 +99265,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *699 + items: *703 examples: default: value: @@ -98969,7 +99295,7 @@ paths: application/json: schema: *162 examples: - default: *708 + default: *712 '404': *6 '500': *40 delete: @@ -98987,8 +99313,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99011,8 +99337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - name: ruleset_id @@ -99030,7 +99356,7 @@ paths: type: array items: *166 examples: - default: *393 + default: *397 '404': *6 '500': *40 x-github: @@ -99049,8 +99375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99068,7 +99394,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *398 examples: default: value: @@ -99123,21 +99449,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *441 - - *442 - - *395 - - *396 - - *397 - - *398 - - *101 - - *19 - - *17 - - *709 - - *710 + - *445 + - *446 - *399 - *400 - *401 - *402 + - *101 + - *19 + - *17 + - *713 + - *714 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -99145,7 +99471,7 @@ paths: application/json: schema: type: array - items: &714 + items: &718 type: object properties: number: *113 @@ -99164,8 +99490,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *711 - resolution: *712 + state: *715 + resolution: *716 resolved_at: type: string format: date-time @@ -99261,7 +99587,7 @@ paths: pull request. ' - oneOf: *713 + oneOf: *717 nullable: true has_more_locations: type: boolean @@ -99384,16 +99710,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *441 - - *442 - - *529 - - *402 + - *445 + - *446 + - *533 + - *406 responses: '200': description: Response content: application/json: - schema: *714 + schema: *718 examples: default: value: @@ -99445,9 +99771,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 requestBody: required: true content: @@ -99455,8 +99781,8 @@ paths: schema: type: object properties: - state: *711 - resolution: *712 + state: *715 + resolution: *716 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -99474,7 +99800,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: default: value: @@ -99549,9 +99875,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 - *19 - *17 responses: @@ -99562,7 +99888,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &895 + items: &899 type: object properties: type: @@ -99588,10 +99914,6 @@ paths: example: commit details: oneOf: - - *715 - - *716 - - *717 - - *718 - *719 - *720 - *721 @@ -99601,6 +99923,10 @@ paths: - *725 - *726 - *727 + - *728 + - *729 + - *730 + - *731 examples: default: value: @@ -99686,8 +100012,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -99695,14 +100021,14 @@ paths: schema: type: object properties: - reason: &729 + reason: &733 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *728 + placeholder_id: *732 required: - reason - placeholder_id @@ -99719,7 +100045,7 @@ paths: schema: type: object properties: - reason: *729 + reason: *733 expire_at: type: string format: date-time @@ -99762,8 +100088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -99778,7 +100104,7 @@ paths: properties: incremental_scans: type: array - items: &730 + items: &734 description: Information on a single scan performed by secret scanning on the repository type: object @@ -99804,15 +100130,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *730 + items: *734 backfill_scans: type: array - items: *730 + items: *734 custom_pattern_backfill_scans: type: array items: allOf: - - *730 + - *734 - type: object properties: pattern_name: @@ -99882,8 +100208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *441 - - *442 + - *445 + - *446 - *101 - name: sort description: The property to sort the results by. @@ -99927,9 +100253,9 @@ paths: application/json: schema: type: array - items: *731 + items: *735 examples: - default: *732 + default: *736 '400': *14 '404': *6 x-github: @@ -99952,8 +100278,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -100026,7 +100352,7 @@ paths: login: type: string description: The username of the user credited. - type: *407 + type: *411 required: - login - type @@ -100113,9 +100439,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: &734 + default: &738 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -100348,8 +100674,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -100453,7 +100779,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: default: value: @@ -100600,17 +100926,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: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 responses: '200': description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: *734 + default: *738 '403': *29 '404': *6 x-github: @@ -100634,9 +100960,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: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 requestBody: required: true content: @@ -100709,7 +101035,7 @@ paths: login: type: string description: The username of the user credited. - type: *407 + type: *411 required: - login - type @@ -100795,17 +101121,17 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: *734 - add_credit: *734 + default: *738 + add_credit: *738 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *226 + schema: *230 examples: invalid_state_transition: value: @@ -100836,9 +101162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 responses: '202': *39 '400': *14 @@ -100865,17 +101191,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: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 responses: '202': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 '400': *14 '422': *15 '403': *29 @@ -100901,8 +101227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101001,8 +101327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -101011,7 +101337,7 @@ paths: application/json: schema: type: array - items: &735 + items: &739 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -101044,8 +101370,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -101121,8 +101447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -101218,8 +101544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -101373,8 +101699,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -101384,7 +101710,7 @@ paths: application/json: schema: type: array - items: *735 + items: *739 examples: default: value: @@ -101417,8 +101743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *441 - - *442 + - *445 + - *446 - name: sha in: path required: true @@ -101472,7 +101798,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: default: value: @@ -101526,8 +101852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101539,7 +101865,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -101559,14 +101885,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &737 + schema: &741 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -101634,8 +101960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -101661,7 +101987,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: default: value: @@ -101688,8 +102014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -101709,8 +102035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101789,8 +102115,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -101798,7 +102124,7 @@ paths: application/json: schema: type: array - items: &738 + items: &742 title: Tag protection description: Tag protection type: object @@ -101850,8 +102176,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -101874,7 +102200,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *742 examples: default: value: @@ -101905,8 +102231,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: - - *441 - - *442 + - *445 + - *446 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -101943,8 +102269,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *441 - - *442 + - *445 + - *446 - name: ref in: path required: true @@ -101980,8 +102306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101991,9 +102317,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 headers: Link: *43 '404': *6 @@ -102013,8 +102339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *441 - - *442 + - *445 + - *446 - *19 - *17 responses: @@ -102022,7 +102348,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &743 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -102034,7 +102360,7 @@ paths: required: - names examples: - default: &740 + default: &744 value: names: - octocat @@ -102057,8 +102383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -102089,9 +102415,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *743 examples: - default: *740 + default: *744 '404': *6 '422': *7 x-github: @@ -102112,9 +102438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *441 - - *442 - - &741 + - *445 + - *446 + - &745 name: per description: The time frame to display results for. in: query @@ -102143,7 +102469,7 @@ paths: example: 128 clones: type: array - items: &742 + items: &746 title: Traffic type: object properties: @@ -102230,8 +102556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -102321,8 +102647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -102382,9 +102708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *441 - - *442 - - *741 + - *445 + - *446 + - *745 responses: '200': description: Response @@ -102403,7 +102729,7 @@ paths: example: 3782 views: type: array - items: *742 + items: *746 required: - uniques - count @@ -102480,8 +102806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -102517,7 +102843,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *253 examples: default: value: @@ -102755,8 +103081,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -102779,8 +103105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -102802,8 +103128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -102829,8 +103155,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *441 - - *442 + - *445 + - *446 - name: ref in: path required: true @@ -102922,9 +103248,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102965,7 +103291,7 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: default: value: @@ -103075,7 +103401,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &750 + - &754 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -103084,7 +103410,7 @@ paths: schema: type: string example: members - - &755 + - &759 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -103095,7 +103421,7 @@ paths: default: 1 format: int32 example: 1 - - &756 + - &760 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -103137,7 +103463,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &745 + items: &749 allOf: - type: object required: @@ -103212,7 +103538,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: &757 + meta: &761 type: object description: The metadata associated with the creation/updates to the user. @@ -103272,30 +103598,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &746 + '400': &750 description: Bad request content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '401': *744 - '403': &747 + schema: *747 + '401': *748 + '403': &751 description: Permission denied - '429': &748 + '429': &752 description: Too many requests content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '500': &749 + schema: *747 + '500': &753 description: Internal server error content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 + schema: *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103319,7 +103645,7 @@ paths: required: true content: application/json: - schema: &753 + schema: &757 type: object required: - schemas @@ -103379,9 +103705,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *745 + schema: *749 examples: - group: &751 + group: &755 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -103400,13 +103726,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': *746 - '401': *744 - '403': *747 - '409': &754 + '400': *750 + '401': *748 + '403': *751 + '409': &758 description: Duplicate record detected - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103423,7 +103749,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: - - &752 + - &756 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -103431,22 +103757,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *750 + - *754 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *745 + schema: *749 examples: - default: *751 - '400': *746 - '401': *744 - '403': *747 + default: *755 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103465,13 +103791,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: - - *752 + - *756 - *41 requestBody: required: true content: application/json: - schema: *753 + schema: *757 examples: group: summary: Group @@ -103497,17 +103823,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *745 + schema: *749 examples: - group: *751 - groupWithMembers: *751 - '400': *746 - '401': *744 - '403': *747 + group: *755 + groupWithMembers: *755 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103531,13 +103857,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: - - *752 + - *756 - *41 requestBody: required: true content: application/json: - schema: &764 + schema: &768 type: object required: - Operations @@ -103597,17 +103923,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *745 + schema: *749 examples: - updateGroup: *751 - addMembers: *751 - '400': *746 - '401': *744 - '403': *747 + updateGroup: *755 + addMembers: *755 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103623,17 +103949,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: - - *752 + - *756 - *41 responses: '204': description: Group was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103667,8 +103993,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *755 - - *756 + - *759 + - *760 - *41 responses: '200': @@ -103701,7 +104027,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &759 + items: &763 allOf: - type: object required: @@ -103780,7 +104106,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &758 + roles: &762 type: array description: The roles assigned to the user. items: @@ -103836,7 +104162,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *757 + meta: *761 startIndex: type: integer description: A starting index for the returned page @@ -103873,11 +104199,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *746 - '401': *744 - '403': *747 - '429': *748 - '500': *749 + '400': *750 + '401': *748 + '403': *751 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103901,7 +104227,7 @@ paths: required: true content: application/json: - schema: &762 + schema: &766 type: object required: - schemas @@ -103983,9 +104309,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *758 + roles: *762 examples: - user: &763 + user: &767 summary: User value: schemas: @@ -104032,9 +104358,9 @@ paths: description: User has been created content: application/scim+json: - schema: *759 + schema: *763 examples: - user: &760 + user: &764 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -104060,13 +104386,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: *760 - '400': *746 - '401': *744 - '403': *747 - '409': *754 - '429': *748 - '500': *749 + enterpriseOwner: *764 + '400': *750 + '401': *748 + '403': *751 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104083,7 +104409,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: - - &761 + - &765 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -104096,15 +104422,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *759 + schema: *763 examples: - default: *760 - '400': *746 - '401': *744 - '403': *747 + default: *764 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104126,30 +104452,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: - - *761 + - *765 - *41 requestBody: required: true content: application/json: - schema: *762 + schema: *766 examples: - user: *763 + user: *767 responses: '200': description: User was updated content: application/scim+json: - schema: *759 + schema: *763 examples: - user: *760 - '400': *746 - '401': *744 - '403': *747 + user: *764 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104184,13 +104510,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: - - *761 + - *765 - *41 requestBody: required: true content: application/json: - schema: *764 + schema: *768 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -104230,18 +104556,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *759 + schema: *763 examples: - userMultiValuedProperties: *760 - userSingleValuedProperties: *760 - disableUser: *760 - '400': *746 - '401': *744 - '403': *747 + userMultiValuedProperties: *764 + userSingleValuedProperties: *764 + disableUser: *764 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104261,17 +104587,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: - - *761 + - *765 - *41 responses: '204': description: User was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104358,7 +104684,7 @@ paths: example: 1 Resources: type: array - items: &765 + items: &769 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -104589,22 +104915,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': &766 + '404': &770 description: Resource not found content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '403': &767 + schema: *747 + '403': &771 description: Forbidden content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '400': *746 - '429': *748 + schema: *747 + '400': *750 + '429': *752 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -104630,9 +104956,9 @@ paths: description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: &768 + default: &772 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -104655,17 +104981,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': *766 - '403': *767 - '500': *749 + '404': *770 + '403': *771 + '500': *753 '409': description: Conflict content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '400': *746 + schema: *747 + '400': *750 requestBody: required: true content: @@ -104763,17 +105089,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *78 - - *761 + - *765 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: *768 - '404': *766 - '403': *767 + default: *772 + '404': *770 + '403': *771 '304': *37 x-github: githubCloudOnly: true @@ -104797,18 +105123,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *78 - - *761 + - *765 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: *768 + default: *772 '304': *37 - '404': *766 - '403': *767 + '404': *770 + '403': *771 requestBody: required: true content: @@ -104921,19 +105247,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *78 - - *761 + - *765 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: *768 + default: *772 '304': *37 - '404': *766 - '403': *767 - '400': *746 + '404': *770 + '403': *771 + '400': *750 '429': description: Response content: @@ -105024,12 +105350,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *78 - - *761 + - *765 responses: '204': description: Response - '404': *766 - '403': *767 + '404': *770 + '403': *771 '304': *37 x-github: githubCloudOnly: true @@ -105144,7 +105470,7 @@ paths: html_url: type: string format: uri - repository: *249 + repository: *253 score: type: number file_size: @@ -105162,7 +105488,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &769 + text_matches: &773 title: Search Result Text Matches type: array items: @@ -105325,7 +105651,7 @@ paths: enum: - author-date - committer-date - - &770 + - &774 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 @@ -105396,7 +105722,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *498 + properties: *502 nullable: true comment_count: type: integer @@ -105416,7 +105742,7 @@ paths: url: type: string format: uri - verification: *619 + verification: *623 required: - author - committer @@ -105435,7 +105761,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *498 + properties: *502 nullable: true parents: type: array @@ -105448,12 +105774,12 @@ paths: type: string sha: type: string - repository: *249 + repository: *253 score: type: number node_id: type: string - text_matches: *769 + text_matches: *773 required: - sha - node_id @@ -105636,7 +105962,7 @@ paths: - interactions - created - updated - - *770 + - *774 - *17 - *19 - name: advanced_search @@ -105742,11 +106068,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: type: string state_reason: @@ -105763,8 +106089,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 nullable: true comments: type: integer @@ -105778,7 +106104,7 @@ paths: type: string format: date-time nullable: true - text_matches: *769 + text_matches: *773 pull_request: type: object properties: @@ -105811,7 +106137,7 @@ paths: type: string score: type: number - author_association: *186 + author_association: *188 draft: type: boolean repository: *69 @@ -105822,7 +106148,7 @@ paths: timeline_url: type: string format: uri - type: *337 + type: *341 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -105832,9 +106158,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - reactions: *187 + properties: *186 + required: *187 + reactions: *189 required: - assignee - closed_at @@ -106006,7 +106332,7 @@ paths: enum: - created - updated - - *770 + - *774 - *17 - *19 responses: @@ -106050,7 +106376,7 @@ paths: nullable: true score: type: number - text_matches: *769 + text_matches: *773 required: - id - node_id @@ -106136,7 +106462,7 @@ paths: - forks - help-wanted-issues - updated - - *770 + - *774 - *17 - *19 responses: @@ -106355,8 +106681,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true permissions: type: object @@ -106375,7 +106701,7 @@ paths: - admin - pull - push - text_matches: *769 + text_matches: *773 temp_clone_token: type: string allow_merge_commit: @@ -106676,7 +107002,7 @@ paths: type: string format: uri nullable: true - text_matches: *769 + text_matches: *773 related: type: array nullable: true @@ -106869,7 +107195,7 @@ paths: - followers - repositories - joined - - *770 + - *774 - *17 - *19 responses: @@ -106973,7 +107299,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *769 + text_matches: *773 blog: type: string nullable: true @@ -107052,7 +107378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &774 + - &778 name: team_id description: The unique identifier of the team. in: path @@ -107064,9 +107390,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 x-github: githubCloudOnly: false @@ -107093,7 +107419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *774 + - *778 requestBody: required: true content: @@ -107156,16 +107482,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '201': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 '422': *15 '403': *29 @@ -107193,7 +107519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *774 + - *778 responses: '204': description: Response @@ -107224,7 +107550,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *774 + - *778 - *101 - *17 - *19 @@ -107235,9 +107561,9 @@ paths: application/json: schema: type: array - items: *424 + items: *428 examples: - default: *775 + default: *779 headers: Link: *43 x-github: @@ -107266,7 +107592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *774 + - *778 requestBody: required: true content: @@ -107300,9 +107626,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *425 + default: *429 x-github: triggersNotification: true githubCloudOnly: false @@ -107329,16 +107655,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *774 - - *426 + - *778 + - *430 responses: '200': description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *425 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107363,8 +107689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *774 - - *426 + - *778 + - *430 requestBody: required: false content: @@ -107387,9 +107713,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *776 + default: *780 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107414,8 +107740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *774 - - *426 + - *778 + - *430 responses: '204': description: Response @@ -107444,8 +107770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *774 - - *426 + - *778 + - *430 - *101 - *17 - *19 @@ -107456,9 +107782,9 @@ paths: application/json: schema: type: array - items: *427 + items: *431 examples: - default: *777 + default: *781 headers: Link: *43 x-github: @@ -107487,8 +107813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *774 - - *426 + - *778 + - *430 requestBody: required: true content: @@ -107510,9 +107836,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: triggersNotification: true githubCloudOnly: false @@ -107539,17 +107865,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 responses: '200': description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107574,9 +107900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 requestBody: required: true content: @@ -107598,9 +107924,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *778 + default: *782 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107625,9 +107951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 responses: '204': description: Response @@ -107656,9 +107982,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: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 - 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. @@ -107684,9 +108010,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 x-github: @@ -107715,9 +108041,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: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 requestBody: required: true content: @@ -107749,9 +108075,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107777,8 +108103,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: - - *774 - - *426 + - *778 + - *430 - 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. @@ -107804,9 +108130,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 x-github: @@ -107835,8 +108161,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: - - *774 - - *426 + - *778 + - *430 requestBody: required: true content: @@ -107868,9 +108194,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107894,7 +108220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -107904,9 +108230,9 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: - default: *335 + default: *339 headers: Link: *43 x-github: @@ -107932,7 +108258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *774 + - *778 - name: role description: Filters members returned by their role in the team. in: query @@ -107955,7 +108281,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '404': *6 @@ -107983,8 +108309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *774 - - *180 + - *778 + - *182 responses: '204': description: if user is a member @@ -108020,8 +108346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *774 - - *180 + - *778 + - *182 responses: '204': description: Response @@ -108060,8 +108386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *774 - - *180 + - *778 + - *182 responses: '204': description: Response @@ -108097,16 +108423,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: - - *774 - - *180 + - *778 + - *182 responses: '200': description: Response content: application/json: - schema: *438 + schema: *442 examples: - response-if-user-is-a-team-maintainer: *779 + response-if-user-is-a-team-maintainer: *783 '404': *6 x-github: githubCloudOnly: false @@ -108139,8 +108465,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: - - *774 - - *180 + - *778 + - *182 requestBody: required: false content: @@ -108165,9 +108491,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - response-if-users-membership-with-team-is-now-pending: *780 + response-if-users-membership-with-team-is-now-pending: *784 '403': description: Forbidden if team synchronization is set up '422': @@ -108201,8 +108527,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: - - *774 - - *180 + - *778 + - *182 responses: '204': description: Response @@ -108230,7 +108556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -108240,9 +108566,9 @@ paths: application/json: schema: type: array - items: *439 + items: *443 examples: - default: *781 + default: *785 headers: Link: *43 '404': *6 @@ -108268,16 +108594,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: - - *774 - - *440 + - *778 + - *444 responses: '200': description: Response content: application/json: - schema: *439 + schema: *443 examples: - default: *782 + default: *786 '404': description: Not Found if project is not managed by this team x-github: @@ -108301,8 +108627,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: - - *774 - - *440 + - *778 + - *444 requestBody: required: false content: @@ -108369,8 +108695,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: - - *774 - - *440 + - *778 + - *444 responses: '204': description: Response @@ -108397,7 +108723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -108407,9 +108733,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 '404': *6 @@ -108439,15 +108765,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: - - *774 - - *441 - - *442 + - *778 + - *445 + - *446 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *783 + schema: *787 examples: alternative-response-with-extra-repository-information: value: @@ -108598,9 +108924,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: - - *774 - - *441 - - *442 + - *778 + - *445 + - *446 requestBody: required: false content: @@ -108650,9 +108976,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: - - *774 - - *441 - - *442 + - *778 + - *445 + - *446 responses: '204': description: Response @@ -108681,15 +109007,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: - - *774 + - *778 responses: '200': description: Response content: application/json: - schema: *443 + schema: *447 examples: - default: *444 + default: *448 '403': *29 '404': *6 x-github: @@ -108716,7 +109042,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: - - *774 + - *778 requestBody: required: true content: @@ -108773,7 +109099,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *447 examples: default: value: @@ -108804,7 +109130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -108814,9 +109140,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - response-if-child-teams-exist: *784 + response-if-child-teams-exist: *788 headers: Link: *43 '404': *6 @@ -108849,7 +109175,7 @@ paths: application/json: schema: oneOf: - - &786 + - &790 title: Private User description: Private User type: object @@ -109052,7 +109378,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *785 + - *789 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -109205,7 +109531,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *790 examples: default: value: @@ -109284,7 +109610,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '304': *37 '404': *6 '403': *29 @@ -109307,7 +109633,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: - - *180 + - *182 responses: '204': description: If the user is blocked @@ -109335,7 +109661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -109359,7 +109685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -109408,9 +109734,9 @@ paths: type: integer codespaces: type: array - items: *342 + items: *346 examples: - default: *343 + default: *347 '304': *37 '500': *40 '401': *25 @@ -109549,17 +109875,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '401': *25 '403': *29 '404': *6 @@ -109603,7 +109929,7 @@ paths: type: integer secrets: type: array - items: &787 + items: &791 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -109643,7 +109969,7 @@ paths: - visibility - selected_repositories_url examples: - default: *552 + default: *556 headers: Link: *43 x-github: @@ -109713,13 +110039,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: - - *259 + - *263 responses: '200': description: Response content: application/json: - schema: *787 + schema: *791 examples: default: value: @@ -109749,7 +110075,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: - - *259 + - *263 requestBody: required: true content: @@ -109794,7 +110120,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -109822,7 +110148,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: - - *259 + - *263 responses: '204': description: Response @@ -109847,7 +110173,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: - - *259 + - *263 responses: '200': description: Response @@ -109863,9 +110189,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *788 + default: *792 '401': *25 '403': *29 '404': *6 @@ -109890,7 +110216,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: - - *259 + - *263 requestBody: required: true content: @@ -109944,7 +110270,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: - - *259 + - *263 - name: repository_id in: path required: true @@ -109977,7 +110303,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: - - *259 + - *263 - name: repository_id in: path required: true @@ -110009,15 +110335,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: - - *344 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '304': *37 '500': *40 '401': *25 @@ -110043,7 +110369,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: - - *344 + - *348 requestBody: required: false content: @@ -110073,9 +110399,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '401': *25 '403': *29 '404': *6 @@ -110097,7 +110423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *344 + - *348 responses: '202': *39 '304': *37 @@ -110126,13 +110452,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: - - *344 + - *348 responses: '202': description: Response content: application/json: - schema: &789 + schema: &793 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -110173,7 +110499,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &790 + default: &794 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -110205,7 +110531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *344 + - *348 - name: export_id in: path required: true @@ -110218,9 +110544,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *790 + default: *794 '404': *6 x-github: githubCloudOnly: false @@ -110241,7 +110567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *344 + - *348 responses: '200': description: Response @@ -110257,9 +110583,9 @@ paths: type: integer machines: type: array - items: *791 + items: *795 examples: - default: *792 + default: *796 '304': *37 '500': *40 '401': *25 @@ -110288,7 +110614,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: - - *344 + - *348 requestBody: required: true content: @@ -110338,13 +110664,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *454 + repository: *458 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *550 - required: *551 + properties: *554 + required: *555 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -111118,15 +111444,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: - - *344 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '304': *37 '500': *40 '400': *14 @@ -111158,15 +111484,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: - - *344 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '500': *40 '401': *25 '403': *29 @@ -111196,9 +111522,9 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: &804 + default: &808 value: - id: 197 name: hello_docker @@ -111299,7 +111625,7 @@ paths: application/json: schema: type: array - items: &793 + items: &797 title: Email description: Email type: object @@ -111364,9 +111690,9 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: - default: &806 + default: &810 value: - email: octocat@github.com verified: true @@ -111441,7 +111767,7 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: default: value: @@ -111551,7 +111877,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '304': *37 @@ -111584,7 +111910,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '304': *37 @@ -111606,7 +111932,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: - - *180 + - *182 responses: '204': description: if the person is followed by the authenticated user @@ -111636,7 +111962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -111661,7 +111987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -111697,7 +112023,7 @@ paths: application/json: schema: type: array - items: &794 + items: &798 title: GPG Key description: A unique encryption key type: object @@ -111828,7 +112154,7 @@ paths: - subkeys - revoked examples: - default: &820 + default: &824 value: - id: 3 name: Octocat's GPG Key @@ -111913,9 +112239,9 @@ paths: description: Response content: application/json: - schema: *794 + schema: *798 examples: - default: &795 + default: &799 value: id: 3 name: Octocat's GPG Key @@ -111972,7 +112298,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: - - &796 + - &800 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111984,9 +112310,9 @@ paths: description: Response content: application/json: - schema: *794 + schema: *798 examples: - default: *795 + default: *799 '404': *6 '304': *37 '403': *29 @@ -112009,7 +112335,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: - - *796 + - *800 responses: '204': description: Response @@ -112200,7 +112526,7 @@ paths: type: array items: *69 examples: - default: *244 + default: *248 headers: Link: *43 '404': *6 @@ -112225,7 +112551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *243 + - *247 responses: '204': description: Response @@ -112251,7 +112577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *243 + - *247 responses: '204': description: Response @@ -112285,12 +112611,12 @@ paths: application/json: schema: anyOf: - - *332 + - *336 - type: object properties: {} additionalProperties: false examples: - default: *333 + default: *337 '204': description: Response when there are no restrictions x-github: @@ -112314,7 +112640,7 @@ paths: required: true content: application/json: - schema: *630 + schema: *634 examples: default: value: @@ -112325,7 +112651,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *336 examples: default: value: @@ -112406,7 +112732,7 @@ paths: - closed - all default: open - - *340 + - *344 - name: sort description: What to sort results by. in: query @@ -112419,7 +112745,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - *17 - *19 responses: @@ -112429,9 +112755,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *341 + default: *345 headers: Link: *43 '404': *6 @@ -112464,7 +112790,7 @@ paths: application/json: schema: type: array - items: &797 + items: &801 title: Key description: Key type: object @@ -112565,9 +112891,9 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: &798 + default: &802 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -112600,15 +112926,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: - - *659 + - *663 responses: '200': description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *798 + default: *802 '404': *6 '304': *37 '403': *29 @@ -112631,7 +112957,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: - - *659 + - *663 responses: '204': description: Response @@ -112664,7 +112990,7 @@ paths: application/json: schema: type: array - items: &799 + items: &803 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112721,7 +113047,7 @@ paths: - id - type - login - plan: *203 + plan: *205 required: - billing_cycle - next_billing_date @@ -112732,7 +113058,7 @@ paths: - account - plan examples: - default: &800 + default: &804 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112794,9 +113120,9 @@ paths: application/json: schema: type: array - items: *799 + items: *803 examples: - default: *800 + default: *804 headers: Link: *43 '304': *37 @@ -112836,7 +113162,7 @@ paths: application/json: schema: type: array - items: *345 + items: *349 examples: default: value: @@ -112944,7 +113270,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -113027,7 +113353,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -113095,7 +113421,7 @@ paths: application/json: schema: type: array - items: *347 + items: *351 examples: default: value: @@ -113348,7 +113674,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -113528,7 +113854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *348 + - *352 - name: exclude in: query required: false @@ -113541,7 +113867,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -113735,7 +114061,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *348 + - *352 responses: '302': description: Response @@ -113761,7 +114087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *348 + - *352 responses: '204': description: Response @@ -113790,8 +114116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *348 - - *801 + - *352 + - *805 responses: '204': description: Response @@ -113815,7 +114141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *348 + - *352 - *17 - *19 responses: @@ -113825,9 +114151,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 '404': *6 @@ -113864,7 +114190,7 @@ paths: type: array items: *64 examples: - default: *802 + default: *806 headers: Link: *43 '304': *37 @@ -113906,7 +114232,7 @@ paths: - docker - nuget - container - - *803 + - *807 - *19 - *17 responses: @@ -113916,10 +114242,10 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *804 - '400': *805 + default: *808 + '400': *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113939,16 +114265,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: - - *355 - - *356 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *353 + schema: *357 examples: - default: &821 + default: &825 value: id: 40201 name: octo-name @@ -114061,8 +114387,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: - - *355 - - *356 + - *359 + - *360 responses: '204': description: Response @@ -114092,8 +114418,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: - - *355 - - *356 + - *359 + - *360 - name: token description: package token schema: @@ -114125,8 +114451,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: - - *355 - - *356 + - *359 + - *360 - *19 - *17 - name: state @@ -114146,7 +114472,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -114195,15 +114521,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: - - *355 - - *356 - - *358 + - *359 + - *360 + - *362 responses: '200': description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -114239,9 +114565,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: - - *355 - - *356 - - *358 + - *359 + - *360 + - *362 responses: '204': description: Response @@ -114271,9 +114597,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: - - *355 - - *356 - - *358 + - *359 + - *360 + - *362 responses: '204': description: Response @@ -114329,7 +114655,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: default: value: @@ -114401,9 +114727,9 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: - default: *806 + default: *810 headers: Link: *43 '304': *37 @@ -114516,7 +114842,7 @@ paths: type: array items: *69 examples: - default: &813 + default: &817 summary: Default response value: - id: 1296269 @@ -114820,9 +115146,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -114860,9 +115186,9 @@ paths: application/json: schema: type: array - items: *632 + items: *636 examples: - default: *807 + default: *811 headers: Link: *43 '304': *37 @@ -114885,7 +115211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *336 + - *340 responses: '204': description: Response @@ -114908,7 +115234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *336 + - *340 responses: '204': description: Response @@ -114941,7 +115267,7 @@ paths: application/json: schema: type: array - items: &808 + items: &812 title: Social account description: Social media account type: object @@ -114956,7 +115282,7 @@ paths: - provider - url examples: - default: &809 + default: &813 value: - provider: twitter url: https://twitter.com/github @@ -115018,9 +115344,9 @@ paths: application/json: schema: type: array - items: *808 + items: *812 examples: - default: *809 + default: *813 '422': *15 '304': *37 '404': *6 @@ -115107,7 +115433,7 @@ paths: application/json: schema: type: array - items: &810 + items: &814 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -115127,7 +115453,7 @@ paths: - title - created_at examples: - default: &824 + default: &828 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115193,9 +115519,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *814 examples: - default: &811 + default: &815 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115226,7 +115552,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: - - &812 + - &816 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -115238,9 +115564,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *814 examples: - default: *811 + default: *815 '404': *6 '304': *37 '403': *29 @@ -115263,7 +115589,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: - - *812 + - *816 responses: '204': description: Response @@ -115292,7 +115618,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: - - &825 + - &829 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 @@ -115317,11 +115643,11 @@ paths: type: array items: *69 examples: - default-response: *813 + default-response: *817 application/vnd.github.v3.star+json: schema: type: array - items: &826 + items: &830 title: Starred Repository description: Starred Repository type: object @@ -115477,8 +115803,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response if this repository is starred by you @@ -115506,8 +115832,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -115531,8 +115857,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -115565,9 +115891,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 '304': *37 @@ -115604,7 +115930,7 @@ paths: application/json: schema: type: array - items: *422 + items: *426 examples: default: value: @@ -115682,7 +116008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *205 + - *207 responses: '200': description: Response @@ -115690,10 +116016,10 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *790 + - *789 examples: - default-response: &815 + default-response: &819 summary: Default response value: login: octocat @@ -115728,7 +116054,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &816 + response-with-git-hub-plan-information: &820 summary: Response with GitHub plan information value: login: octocat @@ -115788,7 +116114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *814 + - *818 - *17 responses: '200': @@ -115799,7 +116125,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: example: ; rel="next" @@ -115829,7 +116155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *180 + - *182 responses: '200': description: Response @@ -115837,11 +116163,11 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *790 + - *789 examples: - default-response: *815 - response-with-git-hub-plan-information: *816 + default-response: *819 + response-with-git-hub-plan-information: *820 '404': *6 x-github: githubCloudOnly: false @@ -115867,7 +116193,7 @@ paths: - *17 - *99 - *100 - - *180 + - *182 requestBody: required: true content: @@ -115890,8 +116216,8 @@ paths: required: - subject_digests examples: - default: *817 - withPredicateType: *818 + default: *821 + withPredicateType: *822 responses: '200': description: Response @@ -115944,7 +116270,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *819 + default: *823 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115962,7 +116288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *180 + - *182 requestBody: required: true content: @@ -116027,7 +116353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *180 + - *182 - name: subject_digest description: Subject Digest in: path @@ -116058,7 +116384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *180 + - *182 - name: attestation_id description: Attestation ID in: path @@ -116096,7 +116422,7 @@ paths: - *17 - *99 - *100 - - *180 + - *182 - name: subject_digest description: Subject Digest in: path @@ -116148,12 +116474,12 @@ paths: initiator: type: string examples: - default: *494 + default: *498 '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -116179,7 +116505,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: - - *180 + - *182 responses: '200': description: Response @@ -116187,9 +116513,9 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *804 + default: *808 '403': *29 '401': *25 x-github: @@ -116212,7 +116538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116222,7 +116548,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -116293,7 +116619,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *180 + - *182 - *78 - *17 - *19 @@ -116304,7 +116630,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -116383,7 +116709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116393,7 +116719,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -116460,7 +116786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116472,7 +116798,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -116491,7 +116817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116503,7 +116829,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -116522,7 +116848,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: - - *180 + - *182 - name: target_user in: path required: true @@ -116549,8 +116875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *180 - - *189 + - *182 + - *191 - *17 - *19 responses: @@ -116560,9 +116886,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *43 '422': *15 @@ -116583,7 +116909,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: - - *180 + - *182 - *17 - *19 responses: @@ -116593,9 +116919,9 @@ paths: application/json: schema: type: array - items: *794 + items: *798 examples: - default: *820 + default: *824 headers: Link: *43 x-github: @@ -116619,7 +116945,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *180 + - *182 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -116691,7 +117017,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: - - *180 + - *182 responses: '200': description: Response @@ -116699,7 +117025,7 @@ paths: application/json: schema: *22 examples: - default: *629 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116717,7 +117043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116772,7 +117098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116784,7 +117110,7 @@ paths: type: array items: *64 examples: - default: *802 + default: *806 headers: Link: *43 x-github: @@ -116823,8 +117149,8 @@ paths: - docker - nuget - container - - *803 - - *180 + - *807 + - *182 - *19 - *17 responses: @@ -116834,12 +117160,12 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *804 + default: *808 '403': *29 '401': *25 - '400': *805 + '400': *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116859,17 +117185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 responses: '200': description: Response content: application/json: - schema: *353 + schema: *357 examples: - default: *821 + default: *825 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116890,9 +117216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 responses: '204': description: Response @@ -116924,9 +117250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 - name: token description: package token schema: @@ -116958,9 +117284,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: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 responses: '200': description: Response @@ -116968,7 +117294,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -117026,16 +117352,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: - - *355 - - *356 - - *358 - - *180 + - *359 + - *360 + - *362 + - *182 responses: '200': description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -117070,10 +117396,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *355 - - *356 - - *180 - - *358 + - *359 + - *360 + - *182 + - *362 responses: '204': description: Response @@ -117105,10 +117431,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *355 - - *356 - - *180 - - *358 + - *359 + - *360 + - *182 + - *362 responses: '204': description: Response @@ -117134,7 +117460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *180 + - *182 - name: state description: Indicates the state of the projects to return. in: query @@ -117155,7 +117481,7 @@ paths: application/json: schema: type: array - items: *369 + items: *373 examples: default: value: @@ -117213,7 +117539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *180 + - *182 - name: q description: Limit results to projects of the specified type. in: query @@ -117230,9 +117556,9 @@ paths: application/json: schema: type: array - items: *370 + items: *374 examples: - default: *371 + default: *375 headers: Link: *43 '304': *37 @@ -117254,16 +117580,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *372 - - *180 + - *376 + - *182 responses: '200': description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: *371 + default: *375 headers: Link: *43 '304': *37 @@ -117285,8 +117611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *372 - - *180 + - *376 + - *182 - *17 - *99 - *100 @@ -117297,9 +117623,9 @@ paths: application/json: schema: type: array - items: *373 + items: *377 examples: - default: *374 + default: *378 headers: Link: *43 '304': *37 @@ -117321,17 +117647,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *372 - - *822 - - *180 + - *376 + - *826 + - *182 responses: '200': description: Response content: application/json: - schema: *373 + schema: *377 examples: - default: *374 + default: *378 headers: Link: *43 '304': *37 @@ -117354,8 +117680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *372 - - *180 + - *376 + - *182 - *99 - *100 - *17 @@ -117384,9 +117710,9 @@ paths: application/json: schema: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *43 '304': *37 @@ -117407,8 +117733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *180 - - *372 + - *182 + - *376 requestBody: required: true description: Details of the item to add to the project. @@ -117445,10 +117771,10 @@ paths: description: Response content: application/json: - schema: *823 + schema: *827 examples: - issue: *379 - pull_request: *379 + issue: *383 + pull_request: *383 '304': *37 '403': *29 '401': *25 @@ -117468,9 +117794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *372 - - *180 - - *382 + - *376 + - *182 + - *386 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117487,9 +117813,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *381 + default: *385 headers: Link: *43 '304': *37 @@ -117510,9 +117836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *372 - - *180 - - *382 + - *376 + - *182 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -117582,13 +117908,13 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - text_field: *381 - number_field: *381 - date_field: *381 - single_select_field: *381 - iteration_field: *381 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *25 '403': *29 '404': *6 @@ -117608,9 +117934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *372 - - *180 - - *382 + - *376 + - *182 + - *386 responses: '204': description: Response @@ -117637,7 +117963,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: - - *180 + - *182 - *17 - *19 responses: @@ -117647,7 +117973,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -117726,7 +118052,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: - - *180 + - *182 - *17 - *19 responses: @@ -117736,7 +118062,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -117813,7 +118139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *180 + - *182 - name: type description: Limit results to repositories of the specified type. in: query @@ -117856,9 +118182,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -117882,15 +118208,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: - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117912,20 +118238,150 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *182 + - *173 + - *220 + - *174 + - *222 + - *223 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *167 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -117942,15 +118398,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: - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: *416 + schema: *420 examples: - default: *417 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117970,11 +118426,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *180 - - *218 - - *219 - - *220 - - *221 + - *182 + - *173 + - *224 + - *174 + - *225 responses: '200': description: Response when getting a billing usage report @@ -118063,7 +118519,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: - - *180 + - *182 - *17 - *19 responses: @@ -118073,9 +118529,9 @@ paths: application/json: schema: type: array - items: *808 + items: *812 examples: - default: *809 + default: *813 headers: Link: *43 x-github: @@ -118095,7 +118551,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: - - *180 + - *182 - *17 - *19 responses: @@ -118105,9 +118561,9 @@ paths: application/json: schema: type: array - items: *810 + items: *814 examples: - default: *824 + default: *828 headers: Link: *43 x-github: @@ -118131,8 +118587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *180 - - *825 + - *182 + - *829 - *101 - *17 - *19 @@ -118144,11 +118600,11 @@ paths: schema: anyOf: - type: array - items: *826 + items: *830 - type: array items: *69 examples: - default-response: *813 + default-response: *817 headers: Link: *43 x-github: @@ -118167,7 +118623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -118177,9 +118633,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -118307,7 +118763,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &827 + enterprise: &831 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -118365,7 +118821,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &828 + installation: &832 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -118384,7 +118840,7 @@ x-webhooks: required: - id - node_id - organization: &829 + organization: &833 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -118444,13 +118900,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &830 + repository: &834 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: &867 + properties: &871 id: description: Unique identifier of the repository example: 42 @@ -118470,8 +118926,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true organization: title: Simple User @@ -119133,7 +119589,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &868 + required: &872 - archive_url - assignees_url - blobs_url @@ -119284,10 +119740,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -119363,11 +119819,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - rule: &831 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: &835 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) @@ -119590,11 +120046,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - rule: *831 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -119777,11 +120233,11 @@ x-webhooks: - everyone required: - from - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - rule: *831 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -119852,7 +120308,7 @@ x-webhooks: required: true content: application/json: - schema: &834 + schema: &838 title: Exemption request cancellation event type: object properties: @@ -119860,11 +120316,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: &832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: &836 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -120097,7 +120553,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &833 + items: &837 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -120205,7 +120661,7 @@ x-webhooks: required: true content: application/json: - schema: &835 + schema: &839 title: Exemption request completed event type: object properties: @@ -120213,11 +120669,11 @@ x-webhooks: type: string enum: - completed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 sender: *4 required: - action @@ -120287,7 +120743,7 @@ x-webhooks: required: true content: application/json: - schema: &836 + schema: &840 title: Exemption request created event type: object properties: @@ -120295,11 +120751,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 sender: *4 required: - action @@ -120369,7 +120825,7 @@ x-webhooks: required: true content: application/json: - schema: &837 + schema: &841 title: Exemption response dismissed event type: object properties: @@ -120377,12 +120833,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 - exemption_response: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 sender: *4 required: - action @@ -120454,7 +120910,7 @@ x-webhooks: required: true content: application/json: - schema: &838 + schema: &842 title: Exemption response submitted event type: object properties: @@ -120462,12 +120918,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 - exemption_response: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 sender: *4 required: - action @@ -120540,7 +120996,7 @@ x-webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120607,7 +121063,7 @@ x-webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120674,7 +121130,7 @@ x-webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120741,7 +121197,7 @@ x-webhooks: required: true content: application/json: - schema: *837 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120809,7 +121265,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120887,7 +121343,7 @@ x-webhooks: type: string enum: - completed - check_run: &840 + check_run: &844 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120940,8 +121396,8 @@ x-webhooks: type: string pull_requests: type: array - items: *511 - repository: *249 + items: *515 + repository: *253 status: example: completed type: string @@ -120978,7 +121434,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *839 + deployment: *843 details_url: example: https://example.com type: string @@ -121028,7 +121484,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *511 + items: *515 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -121063,10 +121519,10 @@ x-webhooks: - output - app - pull_requests - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -121459,11 +121915,11 @@ x-webhooks: type: string enum: - created - check_run: *840 - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + check_run: *844 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -121859,11 +122315,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *840 - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + check_run: *844 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 requested_action: description: The action requested by the user. type: object @@ -122268,11 +122724,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *840 - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + check_run: *844 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -123249,10 +123705,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -123922,10 +124378,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -124589,10 +125045,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -124758,7 +125214,7 @@ x-webhooks: required: - login - id - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124903,20 +125359,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &841 + commit_oid: &845 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: *827 - installation: *828 - organization: *829 - ref: &842 + enterprise: *831 + installation: *832 + organization: *833 + ref: &846 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: *830 + repository: *834 sender: *4 required: - action @@ -125081,7 +125537,7 @@ x-webhooks: required: - login - id - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125311,12 +125767,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -125411,7 +125867,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125582,12 +126038,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -125753,7 +126209,7 @@ x-webhooks: required: - login - id - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125919,12 +126375,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -126024,7 +126480,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126192,16 +126648,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 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: *830 + repository: *834 sender: *4 required: - action @@ -126298,7 +126754,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126438,12 +126894,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -126700,10 +127156,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -126783,18 +127239,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *829 - pusher_type: &843 + organization: *833 + pusher_type: &847 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &844 + ref: &848 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -126804,7 +127260,7 @@ x-webhooks: enum: - tag - branch - repository: *830 + repository: *834 sender: *4 required: - ref @@ -126887,9 +127343,9 @@ x-webhooks: enum: - created definition: *129 - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -126974,9 +127430,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -127054,9 +127510,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *129 - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -127134,9 +127590,9 @@ x-webhooks: enum: - updated definition: *129 - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -127213,19 +127669,19 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - repository: *830 - organization: *829 + enterprise: *831 + installation: *832 + repository: *834 + organization: *833 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *384 + items: *388 old_property_values: type: array description: The old custom property values for the repository. - items: *384 + items: *388 required: - action - repository @@ -127301,18 +127757,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - pusher_type: *843 - ref: *844 + enterprise: *831 + installation: *832 + organization: *833 + pusher_type: *847 + ref: *848 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *830 + repository: *834 sender: *4 required: - ref @@ -127396,11 +127852,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127484,11 +127940,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127572,11 +128028,11 @@ x-webhooks: type: string enum: - created - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127658,11 +128114,11 @@ x-webhooks: type: string enum: - dismissed - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127744,11 +128200,11 @@ x-webhooks: type: string enum: - fixed - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127831,11 +128287,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127917,11 +128373,11 @@ x-webhooks: type: string enum: - reopened - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127998,9 +128454,9 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - key: &845 + enterprise: *831 + installation: *832 + key: &849 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -128036,8 +128492,8 @@ x-webhooks: - verified - created_at - read_only - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -128114,11 +128570,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - key: *845 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + key: *849 + organization: *833 + repository: *834 sender: *4 required: - action @@ -128679,12 +129135,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: &849 + workflow: &853 title: Workflow type: object nullable: true @@ -129410,13 +129866,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *585 + deployment: *589 pull_requests: type: array - items: *678 - repository: *830 - organization: *829 - installation: *828 + items: *682 + repository: *834 + organization: *833 + installation: *832 sender: *4 responses: '200': @@ -129487,7 +129943,7 @@ x-webhooks: type: string enum: - approved - approver: &846 + approver: &850 type: object properties: avatar_url: @@ -129530,11 +129986,11 @@ x-webhooks: type: string comment: type: string - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - reviewers: &847 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: &851 type: array items: type: object @@ -129613,7 +130069,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &848 + workflow_job_run: &852 type: object properties: conclusion: @@ -130344,18 +130800,18 @@ x-webhooks: type: string enum: - rejected - approver: *846 + approver: *850 comment: type: string - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - reviewers: *847 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: *851 sender: *4 since: type: string - workflow_job_run: *848 + workflow_job_run: *852 workflow_job_runs: type: array items: @@ -131059,13 +131515,13 @@ x-webhooks: type: string enum: - requested - enterprise: *827 + enterprise: *831 environment: type: string - installation: *828 - organization: *829 - repository: *830 - requestor: &854 + installation: *832 + organization: *833 + repository: *834 + requestor: &858 title: User type: object nullable: true @@ -132964,12 +133420,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 workflow_run: title: Deployment Workflow Run type: object @@ -133649,7 +134105,7 @@ x-webhooks: type: string enum: - answered - answer: &852 + answer: &856 type: object properties: author_association: @@ -133806,7 +134262,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &850 + discussion: &854 title: Discussion description: A Discussion in a repository. type: object @@ -134092,7 +134548,7 @@ x-webhooks: - id labels: type: array - items: *642 + items: *646 required: - repository_url - category @@ -134114,10 +134570,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134244,11 +134700,11 @@ x-webhooks: - from required: - category - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134331,11 +134787,11 @@ x-webhooks: type: string enum: - closed - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134417,7 +134873,7 @@ x-webhooks: type: string enum: - created - comment: &851 + comment: &855 type: object properties: author_association: @@ -134574,11 +135030,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134661,12 +135117,12 @@ x-webhooks: type: string enum: - deleted - comment: *851 - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + comment: *855 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134761,12 +135217,12 @@ x-webhooks: - from required: - body - comment: *851 - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + comment: *855 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134850,11 +135306,11 @@ x-webhooks: type: string enum: - created - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134936,11 +135392,11 @@ x-webhooks: type: string enum: - deleted - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135040,11 +135496,11 @@ x-webhooks: type: string required: - from - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135126,10 +135582,10 @@ x-webhooks: type: string enum: - labeled - discussion: *850 - enterprise: *827 - installation: *828 - label: &853 + discussion: *854 + enterprise: *831 + installation: *832 + label: &857 title: Label type: object properties: @@ -135161,8 +135617,8 @@ x-webhooks: - color - default - description - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135245,11 +135701,11 @@ x-webhooks: type: string enum: - locked - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135331,11 +135787,11 @@ x-webhooks: type: string enum: - pinned - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135417,11 +135873,11 @@ x-webhooks: type: string enum: - reopened - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135506,16 +135962,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *850 - new_repository: *830 + new_discussion: *854 + new_repository: *834 required: - new_discussion - new_repository - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135598,10 +136054,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *850 - old_answer: *852 - organization: *829 - repository: *830 + discussion: *854 + old_answer: *856 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135683,12 +136139,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *850 - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135771,11 +136227,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135857,11 +136313,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135930,7 +136386,7 @@ x-webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135993,7 +136449,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136059,7 +136515,7 @@ x-webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136125,7 +136581,7 @@ x-webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136191,7 +136647,7 @@ x-webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136257,7 +136713,7 @@ x-webhooks: required: true content: application/json: - schema: *837 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136323,7 +136779,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136390,7 +136846,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *827 + enterprise: *831 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -137050,9 +137506,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - forkee @@ -137198,9 +137654,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pages: description: The pages that were updated. type: array @@ -137237,7 +137693,7 @@ x-webhooks: - action - sha - html_url - repository: *830 + repository: *834 sender: *4 required: - pages @@ -137313,10 +137769,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: &855 + organization: *833 + repositories: &859 description: An array of repository objects that the installation can access. type: array @@ -137342,8 +137798,8 @@ x-webhooks: - name - full_name - private - repository: *830 - requester: *854 + repository: *834 + requester: *858 sender: *4 required: - action @@ -137418,11 +137874,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -137498,11 +137954,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -137578,10 +138034,10 @@ x-webhooks: type: string enum: - added - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories_added: &856 + organization: *833 + repositories_added: &860 description: An array of repository objects, which were added to the installation. type: array @@ -137627,15 +138083,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *830 - repository_selection: &857 + repository: *834 + repository_selection: &861 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *854 + requester: *858 sender: *4 required: - action @@ -137714,10 +138170,10 @@ x-webhooks: type: string enum: - removed - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories_added: *856 + organization: *833 + repositories_added: *860 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137744,9 +138200,9 @@ x-webhooks: - name - full_name - private - repository: *830 - repository_selection: *857 - requester: *854 + repository: *834 + repository_selection: *861 + requester: *858 sender: *4 required: - action @@ -137825,11 +138281,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -138008,10 +138464,10 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 target_type: type: string @@ -138090,11 +138546,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -138218,8 +138674,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 reactions: title: Reactions type: object @@ -138346,8 +138802,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -139141,8 +139597,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139158,7 +139614,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -139491,8 +139947,8 @@ x-webhooks: - state - locked - assignee - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -139572,7 +140028,7 @@ x-webhooks: type: string enum: - deleted - comment: &858 + comment: &862 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -139737,8 +140193,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -140528,8 +140984,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140545,7 +141001,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -140880,8 +141336,8 @@ x-webhooks: - state - locked - assignee - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -140961,7 +141417,7 @@ x-webhooks: type: string enum: - edited - changes: &887 + changes: &891 description: The changes to the comment. type: object properties: @@ -140973,9 +141429,9 @@ x-webhooks: type: string required: - from - comment: *858 - enterprise: *827 - installation: *828 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141768,8 +142224,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141785,7 +142241,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -142118,8 +142574,8 @@ x-webhooks: - state - locked - assignee - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142203,15 +142659,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 + blocking_issue: *201 blocking_issue_repo: *69 - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142299,15 +142755,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 + blocking_issue: *201 blocking_issue_repo: *69 - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142394,15 +142850,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 - installation: *828 - organization: *829 - repository: *830 + blocking_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142490,15 +142946,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 - installation: *828 - organization: *829 - repository: *830 + blocking_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142583,10 +143039,10 @@ x-webhooks: type: string enum: - assigned - assignee: *854 - enterprise: *827 - installation: *828 - issue: &861 + assignee: *858 + enterprise: *831 + installation: *832 + issue: &865 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143375,11 +143831,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143395,7 +143851,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -143496,8 +143952,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -143577,8 +144033,8 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144372,11 +144828,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144392,7 +144848,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -144628,8 +145084,8 @@ x-webhooks: required: - state - closed_at - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -144708,8 +145164,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145494,11 +145950,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145514,7 +145970,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -145614,8 +146070,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -145694,8 +146150,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146502,11 +146958,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146522,7 +146978,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -146601,7 +147057,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &859 + milestone: &863 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146739,8 +147195,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -146839,8 +147295,8 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147629,11 +148085,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147646,7 +148102,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *337 + type: *341 title: description: Title of the issue type: string @@ -147750,9 +148206,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *829 - repository: *830 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -147832,8 +148288,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148621,11 +149077,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148638,7 +149094,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *337 + type: *341 title: description: Title of the issue type: string @@ -148742,9 +149198,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *829 - repository: *830 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -148824,8 +149280,8 @@ x-webhooks: type: string enum: - locked - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149637,11 +150093,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149654,7 +150110,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *337 + type: *341 title: description: Title of the issue type: string @@ -149735,8 +150191,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -149815,8 +150271,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150622,11 +151078,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150642,7 +151098,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -150720,9 +151176,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *859 - organization: *829 - repository: *830 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -151590,11 +152046,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151687,7 +152143,7 @@ x-webhooks: required: - login - id - type: *337 + type: *341 required: - id - number @@ -152156,8 +152612,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152946,11 +153402,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152966,7 +153422,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -153066,8 +153522,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -153147,9 +153603,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *827 - installation: *828 - issue: &860 + enterprise: *831 + installation: *832 + issue: &864 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153932,11 +154388,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153952,7 +154408,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -154052,8 +154508,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -154132,8 +154588,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154943,11 +155399,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155041,9 +155497,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *337 - organization: *829 - repository: *830 + type: *341 + organization: *833 + repository: *834 sender: *4 required: - action @@ -155909,11 +156365,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155929,7 +156385,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -156497,11 +156953,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *827 - installation: *828 - issue: *860 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156581,12 +157037,12 @@ x-webhooks: type: string enum: - typed - enterprise: *827 - installation: *828 - issue: *861 - type: *337 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + type: *341 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156667,7 +157123,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &890 + assignee: &894 title: User type: object nullable: true @@ -156737,11 +157193,11 @@ x-webhooks: required: - login - id - enterprise: *827 - installation: *828 - issue: *861 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156820,12 +157276,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *827 - installation: *828 - issue: *861 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156905,8 +157361,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157716,11 +158172,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157736,7 +158192,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -157814,8 +158270,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -157895,11 +158351,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *827 - installation: *828 - issue: *860 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -157978,12 +158434,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *827 - installation: *828 - issue: *861 - type: *337 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + type: *341 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158063,11 +158519,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158145,11 +158601,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158259,11 +158715,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158345,9 +158801,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: &862 + enterprise: *831 + installation: *832 + marketplace_purchase: &866 title: Marketplace Purchase type: object required: @@ -158430,8 +158886,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *829 - previous_marketplace_purchase: &863 + organization: *833 + previous_marketplace_purchase: &867 title: Marketplace Purchase type: object properties: @@ -158511,7 +158967,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *830 + repository: *834 sender: *4 required: - action @@ -158591,10 +159047,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: *862 - organization: *829 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158677,7 +159133,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *830 + repository: *834 sender: *4 required: - action @@ -158759,10 +159215,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: *862 - organization: *829 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158844,7 +159300,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *830 + repository: *834 sender: *4 required: - action @@ -158925,8 +159381,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 marketplace_purchase: title: Marketplace Purchase type: object @@ -159008,9 +159464,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *829 - previous_marketplace_purchase: *863 - repository: *830 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -159090,12 +159546,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: *862 - organization: *829 - previous_marketplace_purchase: *863 - repository: *830 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -159197,11 +159653,11 @@ x-webhooks: type: string required: - to - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159301,11 +159757,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159384,11 +159840,11 @@ x-webhooks: type: string enum: - removed - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159466,11 +159922,11 @@ x-webhooks: type: string enum: - added - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159546,7 +160002,7 @@ x-webhooks: required: - login - id - team: &864 + team: &868 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -159769,11 +160225,11 @@ x-webhooks: type: string enum: - removed - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159850,7 +160306,7 @@ x-webhooks: required: - login - id - team: *864 + team: *868 required: - action - scope @@ -159932,8 +160388,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *828 - merge_group: &866 + installation: *832 + merge_group: &870 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -159952,15 +160408,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *865 + head_commit: *869 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160046,10 +160502,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *828 - merge_group: *866 - organization: *829 - repository: *830 + installation: *832 + merge_group: *870 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160122,7 +160578,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 + enterprise: *831 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -160231,16 +160687,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *828 - organization: *829 + installation: *832 + organization: *833 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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -160321,11 +160777,11 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 - milestone: *859 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160404,9 +160860,9 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - milestone: &869 + enterprise: *831 + installation: *832 + milestone: &873 title: Milestone description: A collection of related issues and pull requests. type: object @@ -160543,8 +160999,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160623,11 +161079,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - milestone: *859 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160737,11 +161193,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - milestone: *859 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160821,11 +161277,11 @@ x-webhooks: type: string enum: - opened - enterprise: *827 - installation: *828 - milestone: *869 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *873 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160904,11 +161360,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *854 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160987,11 +161443,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *854 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161070,9 +161526,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - membership: &870 + enterprise: *831 + installation: *832 + membership: &874 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -161179,8 +161635,8 @@ x-webhooks: - role - organization_url - user - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161258,11 +161714,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *827 - installation: *828 - membership: *870 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + membership: *874 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161341,8 +161797,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -161458,10 +161914,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 - user: *854 + user: *858 required: - action - invitation @@ -161539,11 +161995,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *827 - installation: *828 - membership: *870 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + membership: *874 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161630,11 +162086,11 @@ x-webhooks: properties: from: type: string - enterprise: *827 - installation: *828 - membership: *870 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + membership: *874 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161710,9 +162166,9 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -162211,7 +162667,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &871 + items: &875 title: Ruby Gems metadata type: object properties: @@ -162306,7 +162762,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -162382,9 +162838,9 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -162737,7 +163193,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *871 + items: *875 source_url: type: string format: uri @@ -162807,7 +163263,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -162984,12 +163440,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *827 + enterprise: *831 id: type: integer - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - id @@ -163066,7 +163522,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &872 + personal_access_token_request: &876 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -163212,10 +163668,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *827 - organization: *829 + enterprise: *831 + organization: *833 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163292,11 +163748,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *872 - enterprise: *827 - organization: *829 + personal_access_token_request: *876 + enterprise: *831 + organization: *833 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163372,11 +163828,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *872 - enterprise: *827 - organization: *829 + personal_access_token_request: *876 + enterprise: *831 + organization: *833 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163451,11 +163907,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *872 - organization: *829 - enterprise: *827 + personal_access_token_request: *876 + organization: *833 + enterprise: *831 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163560,7 +164016,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *873 + last_response: *877 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -163592,8 +164048,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 zen: description: Random string of GitHub zen. @@ -163838,10 +164294,10 @@ x-webhooks: - from required: - note - enterprise: *827 - installation: *828 - organization: *829 - project_card: &874 + enterprise: *831 + installation: *832 + organization: *833 + project_card: &878 title: Project Card type: object properties: @@ -163960,7 +164416,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *830 + repository: *834 sender: *4 required: - action @@ -164041,11 +164497,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - project_card: *874 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *878 + repository: *834 sender: *4 required: - action @@ -164125,9 +164581,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 project_card: title: Project Card type: object @@ -164255,8 +164711,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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -164350,11 +164806,11 @@ x-webhooks: - from required: - note - enterprise: *827 - installation: *828 - organization: *829 - project_card: *874 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *878 + repository: *834 sender: *4 required: - action @@ -164448,9 +164904,9 @@ x-webhooks: - from required: - column_id - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 project_card: allOf: - title: Project Card @@ -164640,7 +165096,7 @@ x-webhooks: type: string required: - after_id - repository: *830 + repository: *834 sender: *4 required: - action @@ -164720,10 +165176,10 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 - organization: *829 - project: &876 + enterprise: *831 + installation: *832 + organization: *833 + project: &880 title: Project type: object properties: @@ -164847,7 +165303,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *830 + repository: *834 sender: *4 required: - action @@ -164927,10 +165383,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - project_column: &875 + enterprise: *831 + installation: *832 + organization: *833 + project_column: &879 title: Project Column type: object properties: @@ -164969,7 +165425,7 @@ x-webhooks: - name - created_at - updated_at - repository: *830 + repository: *834 sender: *4 required: - action @@ -165048,18 +165504,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - project_column: *875 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *879 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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -165149,11 +165605,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - project_column: *875 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *879 + repository: *834 sender: *4 required: - action @@ -165233,11 +165689,11 @@ x-webhooks: type: string enum: - moved - enterprise: *827 - installation: *828 - organization: *829 - project_column: *875 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *879 + repository: *834 sender: *4 required: - action @@ -165317,11 +165773,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - project: *876 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 + repository: *834 sender: *4 required: - action @@ -165401,18 +165857,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - project: *876 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -165514,11 +165970,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - project: *876 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 + repository: *834 sender: *4 required: - action @@ -165597,11 +166053,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *827 - installation: *828 - organization: *829 - project: *876 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 + repository: *834 sender: *4 required: - action @@ -165682,9 +166138,9 @@ x-webhooks: type: string enum: - closed - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -165765,9 +166221,9 @@ x-webhooks: type: string enum: - created - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -165848,9 +166304,9 @@ x-webhooks: type: string enum: - deleted - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -165967,9 +166423,9 @@ x-webhooks: type: string to: type: string - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -166052,7 +166508,7 @@ x-webhooks: type: string enum: - archived - changes: &880 + changes: &884 type: object properties: archived_at: @@ -166066,9 +166522,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *828 - organization: *829 - projects_v2_item: &877 + installation: *832 + organization: *833 + projects_v2_item: &881 title: Projects v2 Item description: An item belonging to a project type: object @@ -166086,7 +166542,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *378 + content_type: *382 creator: *4 created_at: type: string @@ -166203,9 +166659,9 @@ x-webhooks: nullable: true to: type: string - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166287,9 +166743,9 @@ x-webhooks: type: string enum: - created - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166370,9 +166826,9 @@ x-webhooks: type: string enum: - deleted - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166478,7 +166934,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &878 + - &882 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -166500,7 +166956,7 @@ x-webhooks: required: - id - name - - &879 + - &883 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -166534,8 +166990,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *878 - - *879 + - *882 + - *883 required: - field_value - type: object @@ -166551,9 +167007,9 @@ x-webhooks: nullable: true required: - body - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166648,9 +167104,9 @@ x-webhooks: to: type: string nullable: true - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166733,10 +167189,10 @@ x-webhooks: type: string enum: - restored - changes: *880 - installation: *828 - organization: *829 - projects_v2_item: *877 + changes: *884 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166818,9 +167274,9 @@ x-webhooks: type: string enum: - reopened - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -166901,14 +167357,14 @@ x-webhooks: type: string enum: - created - installation: *828 - organization: *829 - projects_v2_status_update: &883 + installation: *832 + organization: *833 + projects_v2_status_update: &887 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *881 - required: *882 + properties: *885 + required: *886 sender: *4 required: - action @@ -166989,9 +167445,9 @@ x-webhooks: type: string enum: - deleted - installation: *828 - organization: *829 - projects_v2_status_update: *883 + installation: *832 + organization: *833 + projects_v2_status_update: *887 sender: *4 required: - action @@ -167127,9 +167583,9 @@ x-webhooks: type: string format: date nullable: true - installation: *828 - organization: *829 - projects_v2_status_update: *883 + installation: *832 + organization: *833 + projects_v2_status_update: *887 sender: *4 required: - action @@ -167200,10 +167656,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - repository @@ -167280,13 +167736,13 @@ x-webhooks: type: string enum: - assigned - assignee: *854 - enterprise: *827 - installation: *828 - number: &884 + assignee: *858 + enterprise: *831 + installation: *832 + number: &888 description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -169569,7 +170025,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -169651,11 +170107,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -171933,7 +172389,7 @@ x-webhooks: - draft reason: type: string - repository: *830 + repository: *834 sender: *4 required: - action @@ -172015,11 +172471,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -174297,7 +174753,7 @@ x-webhooks: - draft reason: type: string - repository: *830 + repository: *834 sender: *4 required: - action @@ -174379,13 +174835,13 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: &885 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: &889 allOf: - - *678 + - *682 - type: object properties: allow_auto_merge: @@ -174447,7 +174903,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *830 + repository: *834 sender: *4 required: - action @@ -174528,12 +174984,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -174613,11 +175069,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *827 - milestone: *662 - number: *884 - organization: *829 - pull_request: &886 + enterprise: *831 + milestone: *666 + number: *888 + organization: *833 + pull_request: &890 title: Pull Request type: object properties: @@ -176880,7 +177336,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -176959,11 +177415,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -179245,7 +179701,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *830 + repository: *834 sender: *4 required: - action @@ -179369,12 +179825,12 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -179454,11 +179910,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -181725,7 +182181,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -181805,11 +182261,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *827 - installation: *828 - label: *853 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + label: *857 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -184091,7 +184547,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -184172,10 +184628,10 @@ x-webhooks: type: string enum: - locked - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -186455,7 +186911,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -186535,12 +186991,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *827 - milestone: *662 - number: *884 - organization: *829 - pull_request: *886 - repository: *830 + enterprise: *831 + milestone: *666 + number: *888 + organization: *833 + pull_request: *890 + repository: *834 sender: *4 required: - action @@ -186619,12 +187075,12 @@ x-webhooks: type: string enum: - opened - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -186705,12 +187161,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -186790,12 +187246,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -187161,9 +187617,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -189333,7 +189789,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *830 + repository: *834 sender: *4 required: - action @@ -189413,7 +189869,7 @@ x-webhooks: type: string enum: - deleted - comment: &888 + comment: &892 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. @@ -189698,9 +190154,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -191858,7 +192314,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *830 + repository: *834 sender: *4 required: - action @@ -191938,11 +192394,11 @@ x-webhooks: type: string enum: - edited - changes: *887 - comment: *888 - enterprise: *827 - installation: *828 - organization: *829 + changes: *891 + comment: *892 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -194103,7 +194559,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *830 + repository: *834 sender: *4 required: - action @@ -194184,9 +194640,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -196359,7 +196815,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 + repository: *834 review: description: The review that was affected. type: object @@ -196606,9 +197062,9 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -198662,8 +199118,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 - review: &889 + repository: *834 + review: &893 description: The review that was affected. type: object properties: @@ -198896,12 +199352,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -201184,7 +201640,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_reviewer: title: User type: object @@ -201268,12 +201724,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -203563,7 +204019,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203755,12 +204211,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -206045,7 +206501,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_reviewer: title: User type: object @@ -206130,12 +206586,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -208411,7 +208867,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208592,9 +209048,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -210769,8 +211225,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 - review: *889 + repository: *834 + review: *893 sender: *4 required: - action @@ -210850,9 +211306,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -212922,7 +213378,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 + repository: *834 sender: *4 thread: type: object @@ -213309,9 +213765,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -215367,7 +215823,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 + repository: *834 sender: *4 thread: type: object @@ -215757,10 +216213,10 @@ x-webhooks: type: string before: type: string - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -218031,7 +218487,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -218113,11 +218569,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *890 - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + assignee: *894 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -220400,7 +220856,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -220479,11 +220935,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *827 - installation: *828 - label: *853 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + label: *857 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -222756,7 +223212,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -222837,10 +223293,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -225105,7 +225561,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -225305,7 +225761,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *827 + enterprise: *831 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -225397,8 +225853,8 @@ x-webhooks: - url - author - committer - installation: *828 - organization: *829 + installation: *832 + organization: *833 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225973,9 +226429,9 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -226421,7 +226877,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *871 + items: *875 summary: type: string tag_name: @@ -226475,7 +226931,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -226553,9 +227009,9 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -226863,7 +227319,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *871 + items: *875 summary: type: string tag_name: @@ -226912,7 +227368,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -226989,10 +227445,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - release: &891 + enterprise: *831 + installation: *832 + organization: *833 + release: &895 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227310,7 +227766,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *830 + repository: *834 sender: *4 required: - action @@ -227387,11 +227843,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - release: *891 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *895 + repository: *834 sender: *4 required: - action @@ -227508,11 +227964,11 @@ x-webhooks: type: boolean required: - to - enterprise: *827 - installation: *828 - organization: *829 - release: *891 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *895 + repository: *834 sender: *4 required: - action @@ -227590,9 +228046,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -227914,7 +228370,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *830 + repository: *834 sender: *4 required: - action @@ -227990,10 +228446,10 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 - release: &892 + enterprise: *831 + installation: *832 + organization: *833 + release: &896 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -228312,7 +228768,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *830 + repository: *834 sender: *4 required: - action @@ -228388,11 +228844,11 @@ x-webhooks: type: string enum: - released - enterprise: *827 - installation: *828 - organization: *829 - release: *891 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *895 + repository: *834 sender: *4 required: - action @@ -228468,11 +228924,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *827 - installation: *828 - organization: *829 - release: *892 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *896 + repository: *834 sender: *4 required: - action @@ -228548,11 +229004,11 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - repository_advisory: *731 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *735 sender: *4 required: - action @@ -228628,11 +229084,11 @@ x-webhooks: type: string enum: - reported - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - repository_advisory: *731 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *735 sender: *4 required: - action @@ -228708,10 +229164,10 @@ x-webhooks: type: string enum: - archived - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -228788,10 +229244,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -228869,10 +229325,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -228956,10 +229412,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229071,10 +229527,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229146,10 +229602,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 status: type: string @@ -229230,10 +229686,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229310,10 +229766,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229407,10 +229863,10 @@ x-webhooks: - name required: - repository - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229490,10 +229946,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *162 sender: *4 required: @@ -229572,10 +230028,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *162 sender: *4 required: @@ -229654,10 +230110,10 @@ x-webhooks: type: string enum: - edited - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *162 changes: type: object @@ -229719,16 +230175,16 @@ x-webhooks: properties: added: type: array - items: *699 + items: *703 deleted: type: array - items: *699 + items: *703 updated: type: array items: type: object properties: - rule: *699 + rule: *703 changes: type: object properties: @@ -229962,10 +230418,10 @@ x-webhooks: - from required: - owner - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230043,10 +230499,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230124,7 +230580,7 @@ x-webhooks: type: string enum: - create - alert: &893 + alert: &897 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -230245,10 +230701,10 @@ x-webhooks: type: string enum: - open - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230454,10 +230910,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230535,11 +230991,11 @@ x-webhooks: type: string enum: - reopen - alert: *893 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *897 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230738,10 +231194,10 @@ x-webhooks: enum: - fixed - open - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230819,7 +231275,7 @@ x-webhooks: type: string enum: - created - alert: &894 + alert: &898 type: object properties: number: *113 @@ -230930,10 +231386,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231014,11 +231470,11 @@ x-webhooks: type: string enum: - created - alert: *894 - installation: *828 - location: *895 - organization: *829 - repository: *830 + alert: *898 + installation: *832 + location: *899 + organization: *833 + repository: *834 sender: *4 required: - location @@ -231256,11 +231712,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231338,11 +231794,11 @@ x-webhooks: type: string enum: - reopened - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231420,11 +231876,11 @@ x-webhooks: type: string enum: - resolved - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231502,11 +231958,11 @@ x-webhooks: type: string enum: - validated - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231632,10 +232088,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *830 - enterprise: *827 - installation: *828 - organization: *829 + repository: *834 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -231713,11 +232169,11 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - security_advisory: &896 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: &900 description: The details of the security advisory, including summary, description, and severity. type: object @@ -231900,11 +232356,11 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - security_advisory: *896 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: *900 sender: *4 required: - action @@ -231977,10 +232433,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -232164,11 +232620,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *387 - enterprise: *827 - installation: *828 - organization: *829 - repository: *454 + security_and_analysis: *391 + enterprise: *831 + installation: *832 + organization: *833 + repository: *458 sender: *4 required: - changes @@ -232246,12 +232702,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: &897 + sponsorship: &901 type: object properties: created_at: @@ -232552,12 +233008,12 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - sponsorship @@ -232645,12 +233101,12 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - changes @@ -232727,17 +233183,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &898 + effective_date: &902 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: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - sponsorship @@ -232811,7 +233267,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &899 + changes: &903 type: object properties: tier: @@ -232855,13 +233311,13 @@ x-webhooks: - from required: - tier - effective_date: *898 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + effective_date: *902 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - changes @@ -232938,13 +233394,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *899 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + changes: *903 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - changes @@ -233018,10 +233474,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -233104,10 +233560,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -233527,15 +233983,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *827 + enterprise: *831 id: description: The unique identifier of the status. type: integer - installation: *828 + installation: *832 name: type: string - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 sha: description: The Commit SHA. @@ -233644,15 +234100,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 + parent_issue: *201 parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 - installation: *828 - organization: *829 - repository: *830 + sub_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -233736,15 +234192,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 + parent_issue: *201 parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 - installation: *828 - organization: *829 - repository: *830 + sub_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -233828,15 +234284,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 + sub_issue: *201 sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 - installation: *828 - organization: *829 - repository: *830 + parent_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -233920,15 +234376,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 + sub_issue: *201 sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 - installation: *828 - organization: *829 - repository: *830 + parent_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -234005,12 +234461,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - team: &900 + team: &904 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -234233,9 +234689,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -234693,7 +235149,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -234769,9 +235225,9 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -235229,7 +235685,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -235306,9 +235762,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -235766,7 +236222,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -235910,9 +236366,9 @@ x-webhooks: - from required: - permissions - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -236370,7 +236826,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - changes @@ -236448,9 +236904,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -236908,7 +237364,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -236984,10 +237440,10 @@ x-webhooks: type: string enum: - started - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -237060,16 +237516,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *827 + enterprise: *831 inputs: type: object nullable: true additionalProperties: true - installation: *828 - organization: *829 + installation: *832 + organization: *833 ref: type: string - repository: *830 + repository: *834 sender: *4 workflow: type: string @@ -237151,10 +237607,10 @@ x-webhooks: type: string enum: - completed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -237391,7 +237847,7 @@ x-webhooks: type: string required: - conclusion - deployment: *585 + deployment: *589 required: - action - repository @@ -237470,10 +237926,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -237733,7 +238189,7 @@ x-webhooks: required: - status - steps - deployment: *585 + deployment: *589 required: - action - repository @@ -237812,10 +238268,10 @@ x-webhooks: type: string enum: - queued - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -237950,7 +238406,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *585 + deployment: *589 required: - action - repository @@ -238029,10 +238485,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -238168,7 +238624,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *585 + deployment: *589 required: - action - repository @@ -238248,12 +238704,12 @@ x-webhooks: type: string enum: - completed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 workflow_run: title: Workflow Run type: object @@ -239252,12 +239708,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 workflow_run: title: Workflow Run type: object @@ -240241,12 +240697,12 @@ x-webhooks: type: string enum: - requested - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 0b9b7271b..3b24bb2c2 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -57603,6 +57603,434 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -89044,6 +89472,395 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -662928,6 +663745,382 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "year", + "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "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" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index cda524180..bda9a9fff 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -863,7 +863,7 @@ paths: - subscriptions_url - type - url - type: &407 + type: &411 type: string description: The type of credit the user is receiving. enum: @@ -996,7 +996,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &227 + schema: &231 title: Validation Error Simple description: Validation Error Simple type: object @@ -1029,7 +1029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &733 + - &737 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1147,7 +1147,7 @@ paths: GitHub. type: object nullable: true - properties: &184 + properties: &186 id: description: Unique identifier of the GitHub app example: 37 @@ -1280,7 +1280,7 @@ paths: about itself. example: 5 type: integer - required: &185 + required: &187 - id - node_id - owner @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &315 + - &319 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &316 + items: &320 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1681,7 +1681,7 @@ paths: - installation_id - repository_id examples: - default: &317 + default: &321 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1713,7 +1713,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &743 + schema: &747 title: Scim Error description: Scim Error type: object @@ -1740,7 +1740,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &226 + schema: &230 title: Validation Error description: Validation Error type: object @@ -1809,7 +1809,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &322 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1923,7 +1923,7 @@ paths: - request - response examples: - default: &319 + default: &323 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2124,7 +2124,7 @@ paths: parameters: - *17 - *19 - - &189 + - &191 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -2872,7 +2872,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &385 + properties: &389 id: description: Unique identifier of the repository example: 42 @@ -2892,7 +2892,7 @@ paths: title: License Simple description: License Simple type: object - properties: &200 + properties: &202 key: type: string example: mit @@ -2914,7 +2914,7 @@ paths: html_url: type: string format: uri - required: &201 + required: &203 - key - name - url @@ -3310,7 +3310,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &386 + required: &390 - archive_url - assignees_url - blobs_url @@ -7467,7 +7467,7 @@ paths: description: Response content: application/json: - schema: &228 + schema: &232 type: object properties: total_active_caches_count: @@ -7482,7 +7482,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &229 + default: &233 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7666,7 +7666,7 @@ paths: - public_ip_enabled - platform examples: - default: &230 + default: &234 value: total_count: 2 runners: @@ -7952,7 +7952,7 @@ paths: description: Response content: application/json: - schema: &231 + schema: &235 type: object properties: public_ips: @@ -7977,7 +7977,7 @@ paths: required: - public_ips examples: - default: &232 + default: &236 value: public_ips: current_usage: 17 @@ -8017,7 +8017,7 @@ paths: type: array items: *47 examples: - default: &233 + default: &237 value: id: 4-core cpu_cores: 4 @@ -8274,7 +8274,7 @@ paths: - all - local_only - selected - selected_actions_url: &236 + selected_actions_url: &240 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` @@ -8354,7 +8354,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &238 + schema: &242 type: object properties: days: @@ -8372,7 +8372,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &744 + '401': &748 description: Authorization failure '404': *6 x-github: @@ -8400,7 +8400,7 @@ paths: required: true content: application/json: - schema: &239 + schema: &243 type: object properties: days: @@ -8449,7 +8449,7 @@ paths: required: - approval_policy examples: - default: &240 + default: &244 value: approval_policy: first_time_contributors '404': *6 @@ -8507,7 +8507,7 @@ paths: description: Response content: application/json: - schema: &241 + schema: &245 type: object required: - run_workflows_from_fork_pull_requests @@ -8561,7 +8561,7 @@ paths: required: true content: application/json: - schema: &242 + schema: &246 type: object required: - run_workflows_from_fork_pull_requests @@ -8984,7 +8984,7 @@ paths: description: Success response content: application/json: - schema: &245 + schema: &249 type: object properties: default_workflow_permissions: &58 @@ -9032,7 +9032,7 @@ paths: required: true content: application/json: - schema: &246 + schema: &250 type: object properties: default_workflow_permissions: *58 @@ -9868,7 +9868,7 @@ paths: application/json: schema: type: array - items: &250 + items: &254 title: Runner Application description: Runner Application type: object @@ -9893,7 +9893,7 @@ paths: - download_url - filename examples: - default: &251 + default: &255 value: - os: osx architecture: x64 @@ -9977,7 +9977,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &252 + '201': &256 description: Response content: application/json: @@ -10092,7 +10092,7 @@ paths: - token - expires_at examples: - default: &253 + default: &257 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10132,7 +10132,7 @@ paths: application/json: schema: *70 examples: - default: &254 + default: &258 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10164,7 +10164,7 @@ paths: application/json: schema: *67 examples: - default: &255 + default: &259 value: id: 23 name: MBP @@ -10380,7 +10380,7 @@ paths: - *41 - *66 responses: - '200': &256 + '200': &260 description: Response content: application/json: @@ -10436,7 +10436,7 @@ paths: parameters: - *41 - *66 - - &257 + - &261 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10527,7 +10527,7 @@ paths: required: true content: application/json: - schema: &264 + schema: &268 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11168,7 +11168,7 @@ paths: required: false schema: type: string - - &265 + - &269 name: include description: |- The event types to include: @@ -11186,7 +11186,7 @@ paths: - web - git - all - - &266 + - &270 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. @@ -11194,7 +11194,7 @@ paths: required: false schema: type: string - - &267 + - &271 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. @@ -11202,7 +11202,7 @@ paths: required: false schema: type: string - - &268 + - &272 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11224,7 +11224,7 @@ paths: application/json: schema: type: array - items: &269 + items: &273 type: object properties: "@timestamp": @@ -11346,7 +11346,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &270 + default: &274 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12012,7 +12012,7 @@ paths: application/json: schema: type: array - items: &271 + items: &275 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12173,7 +12173,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &272 + default: &276 value: - id: 21 number: 42 @@ -12278,7 +12278,7 @@ paths: application/json: schema: type: array - items: &274 + items: &278 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12403,7 +12403,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &275 + default: &279 value: - id: 21 number: 42 @@ -12488,7 +12488,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &280 + - &284 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`, @@ -12498,7 +12498,7 @@ paths: schema: &102 type: string description: The name of the tool used to generate the code scanning analysis. - - &281 + - &285 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 @@ -12521,7 +12521,7 @@ paths: be returned. in: query required: false - schema: &282 + schema: &286 type: string description: State of a code scanning alert. enum: @@ -12546,7 +12546,7 @@ paths: application/json: schema: type: array - items: &283 + items: &287 type: object properties: number: &113 @@ -12575,7 +12575,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &522 + instances_url: &526 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12610,7 +12610,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &523 + dismissed_reason: &527 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12619,13 +12619,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &524 + dismissed_comment: &528 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &525 + rule: &529 type: object properties: id: @@ -12678,7 +12678,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &526 + tool: &530 type: object properties: name: *102 @@ -12688,15 +12688,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *103 - most_recent_instance: &527 + most_recent_instance: &531 type: object properties: - ref: &520 + ref: &524 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &537 + analysis_key: &541 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -12707,7 +12707,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &538 + category: &542 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -12756,7 +12756,7 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: &216 + properties: &218 id: type: integer format: int64 @@ -12983,7 +12983,7 @@ paths: format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks description: The API URL to list the hooks on the repository. - required: &217 + required: &219 - archive_url - assignees_url - blobs_url @@ -13055,7 +13055,7 @@ paths: - most_recent_instance - repository examples: - default: &284 + default: &288 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -13708,7 +13708,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &285 + code_scanning_options: &289 type: object description: Security Configuration feature options for code scanning nullable: true @@ -13902,7 +13902,7 @@ paths: description: Response content: application/json: - schema: &287 + schema: &291 type: array description: A list of default code security configurations items: @@ -13918,7 +13918,7 @@ paths: default configuration: *105 examples: - default: &288 + default: &292 value: - default_for_new_repos: public configuration: @@ -14372,7 +14372,7 @@ paths: default: value: default_for_new_repos: all - configuration: &286 + configuration: &290 value: id: 1325 target_type: organization @@ -14457,7 +14457,7 @@ paths: application/json: schema: type: array - items: &289 + items: &293 type: object description: Repositories associated with a code security configuration and attachment status @@ -14481,7 +14481,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &290 + repository: &294 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -14970,7 +14970,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &276 + - &280 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15045,7 +15045,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &350 + properties: &354 id: description: Unique identifier of the team type: integer @@ -15117,7 +15117,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &351 + required: &355 - id - node_id - url @@ -15143,7 +15143,7 @@ paths: - slug - parent - type - - &176 + - &178 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -15705,7 +15705,7 @@ paths: application/json: schema: type: array - items: &173 + items: &175 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16012,7 +16012,7 @@ paths: - date additionalProperties: true examples: - default: &174 + default: &176 value: - date: '2024-06-24' total_active_users: 24 @@ -16114,7 +16114,7 @@ paths: '500': *40 '403': *29 '404': *6 - '422': &175 + '422': &177 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16144,7 +16144,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &297 + - &301 name: state in: query description: |- @@ -16153,7 +16153,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &298 + - &302 name: severity in: query description: |- @@ -16162,7 +16162,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &299 + - &303 name: ecosystem in: query description: |- @@ -16171,14 +16171,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &300 + - &304 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 - - &301 + - &305 name: epss_percentage in: query description: |- @@ -16190,7 +16190,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &302 + - &306 name: has in: query description: |- @@ -16204,7 +16204,7 @@ paths: type: string enum: - patch - - &303 + - &307 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16214,7 +16214,7 @@ paths: enum: - development - runtime - - &304 + - &308 name: sort in: query description: |- @@ -16232,7 +16232,7 @@ paths: - *101 - *99 - *100 - - &305 + - &309 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16245,7 +16245,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &306 + - &310 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16265,7 +16265,7 @@ paths: application/json: schema: type: array - items: &307 + items: &311 type: object description: A Dependabot alert. properties: @@ -16328,7 +16328,7 @@ paths: - unknown - direct - transitive - security_advisory: &577 + security_advisory: &581 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -16560,7 +16560,7 @@ paths: nullable: true maxLength: 280 fixed_at: *123 - auto_dismissed_at: &578 + auto_dismissed_at: &582 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -16586,7 +16586,7 @@ paths: - repository additionalProperties: false examples: - default: &308 + default: &312 value: - number: 2 state: dismissed @@ -17003,7 +17003,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *41 - - &180 + - &182 name: username description: The handle for the GitHub user account. in: path @@ -17110,7 +17110,7 @@ paths: - name - created_on examples: - default: &418 + default: &422 value: total_count: 2 network_configurations: @@ -17333,7 +17333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *41 - - &419 + - &423 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17345,7 +17345,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &424 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17379,7 +17379,7 @@ paths: - subnet_id - region examples: - default: &421 + default: &425 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -17675,7 +17675,7 @@ paths: required: true content: application/json: - schema: &383 + schema: &387 title: Custom Property Set Payload description: Custom property set payload type: object @@ -18739,7 +18739,7 @@ paths: nullable: true anyOf: - *136 - - &390 + - &394 title: Organization ruleset conditions type: object description: |- @@ -18786,7 +18786,7 @@ paths: - *139 rules: type: array - items: &699 + items: &703 title: Repository Rule type: object description: A repository rule. @@ -18795,7 +18795,7 @@ paths: - *143 - *144 - *145 - - &696 + - &700 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -18889,7 +18889,7 @@ paths: - *159 - *160 - *161 - - &697 + - &701 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19145,7 +19145,7 @@ paths: type: string format: date-time examples: - default: &393 + default: &397 value: - version_id: 3 actor: @@ -19198,7 +19198,7 @@ paths: description: Response content: application/json: - schema: &394 + schema: &398 allOf: - *166 - type: object @@ -19253,7 +19253,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &395 + - &399 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19264,7 +19264,7 @@ paths: enum: - open - resolved - - &396 + - &400 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19274,7 +19274,7 @@ paths: required: false schema: type: string - - &397 + - &401 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19283,7 +19283,7 @@ paths: required: false schema: type: string - - &398 + - &402 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. @@ -19299,7 +19299,7 @@ paths: - *17 - *99 - *100 - - &399 + - &403 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19308,7 +19308,7 @@ paths: required: false schema: type: string - - &400 + - &404 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19317,7 +19317,7 @@ paths: schema: type: boolean default: false - - &401 + - &405 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19326,7 +19326,7 @@ paths: schema: type: boolean default: false - - &402 + - &406 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19342,7 +19342,7 @@ paths: application/json: schema: type: array - items: &403 + items: &407 type: object properties: number: *113 @@ -19361,14 +19361,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &711 + state: &715 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: &712 + resolution: &716 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -19475,8 +19475,8 @@ paths: pull request. ' - oneOf: &713 - - &715 + oneOf: &717 + - &719 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -19528,7 +19528,7 @@ paths: - blob_url - commit_sha - commit_url - - &716 + - &720 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -19583,7 +19583,7 @@ paths: - page_url - commit_sha - commit_url - - &717 + - &721 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -19597,7 +19597,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &718 + - &722 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -19611,7 +19611,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &719 + - &723 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -19625,7 +19625,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &720 + - &724 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -19639,7 +19639,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &721 + - &725 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -19653,7 +19653,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &722 + - &726 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -19667,7 +19667,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &723 + - &727 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -19681,7 +19681,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &724 + - &728 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -19695,7 +19695,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &725 + - &729 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -19709,7 +19709,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &726 + - &730 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -19723,7 +19723,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &727 + - &731 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull request. @@ -19743,7 +19743,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &404 + default: &408 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -19933,7 +19933,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &409 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20016,7 +20016,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *168 examples: - default: &406 + default: &410 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20160,7 +20160,7 @@ paths: description: Response content: application/json: - schema: &409 + schema: &413 type: object properties: total_minutes_used: @@ -20230,7 +20230,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &410 + default: &414 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20261,7 +20261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &411 + - &415 name: advanced_security_product in: query description: | @@ -20281,7 +20281,7 @@ paths: description: Success content: application/json: - schema: &412 + schema: &416 type: object properties: total_advanced_security_committers: @@ -20336,7 +20336,7 @@ paths: required: - repositories examples: - default: &413 + default: &417 value: total_advanced_security_committers: 2 total_count: 2 @@ -20946,7 +20946,7 @@ paths: description: Response content: application/json: - schema: &414 + schema: &418 type: object properties: total_gigabytes_bandwidth_used: @@ -20964,7 +20964,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &415 + default: &419 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -20974,6 +20974,212 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - *41 + - &173 + name: year + description: If specified, only return results for a single year. The value + of `year` is an integer with four digits representing a year. For example, + `2025`. Default value is the current year. + in: query + required: false + schema: + type: integer + - &220 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. + in: query + required: false + schema: + type: integer + - &174 + name: day + description: If specified, only return results for a single day. The value + of `day` is an integer between `1` and `31`. If no `year` or `month` is + specified, the default `year` and `month` are used. + in: query + required: false + schema: + type: integer + - name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + - &221 + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &222 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &223 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *167 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -20999,7 +21205,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &420 type: object properties: days_left_in_billing_cycle: @@ -21017,7 +21223,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &417 + default: &421 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21042,16 +21248,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *41 - - &218 - name: year - description: If specified, only return results for a single year. The value - of `year` is an integer with four digits representing a year. For example, - `2025`. Default value is the current year. - in: query - required: false - schema: - type: integer - - &219 + - *173 + - &224 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21060,16 +21258,8 @@ paths: required: false schema: type: integer - - &220 - name: day - description: If specified, only return results for a single day. The value - of `day` is an integer between `1` and `31`. If no `year` or `month` is - specified, the default `year` and `month` are used. - in: query - required: false - schema: - type: integer - - &221 + - *174 + - &225 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21090,7 +21280,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &222 + schema: &226 type: object properties: usageItems: @@ -21143,7 +21333,7 @@ paths: - netAmount - organizationName examples: - default: &223 + default: &227 value: usageItems: - date: '2023-08-01' @@ -21231,13 +21421,13 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: - default: *174 + default: *176 '500': *40 '403': *29 '404': *6 - '422': *175 + '422': *177 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -21264,9 +21454,9 @@ paths: application/json: schema: type: array - items: *176 + items: *178 examples: - default: &177 + default: &179 value: - id: 1 name: Justice League @@ -21340,9 +21530,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21360,7 +21550,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *41 - - &178 + - &180 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -21379,7 +21569,7 @@ paths: type: array items: *4 examples: - default: &179 + default: &181 value: - login: octocat id: 1 @@ -21418,7 +21608,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *41 - - *178 + - *180 requestBody: required: true content: @@ -21449,7 +21639,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21467,7 +21657,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *41 - - *178 + - *180 requestBody: required: true content: @@ -21498,7 +21688,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21516,8 +21706,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *41 - - *178 - *180 + - *182 responses: '200': description: User is a member of the enterprise team. @@ -21525,7 +21715,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &181 + exampleKey1: &183 value: login: octocat id: 1 @@ -21561,8 +21751,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *41 - - *178 - *180 + - *182 responses: '201': description: Successfully added team member @@ -21570,7 +21760,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *181 + exampleKey1: *183 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21588,8 +21778,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *41 - - *178 - *180 + - *182 responses: '204': description: Response @@ -21614,7 +21804,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *41 - - &182 + - &184 name: team_slug description: The slug of the team name. in: path @@ -21626,9 +21816,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 headers: Link: *43 '403': *29 @@ -21648,7 +21838,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *41 - - *182 + - *184 requestBody: required: true content: @@ -21691,9 +21881,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *178 examples: - default: *177 + default: *179 headers: Link: *43 '403': *29 @@ -21716,7 +21906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *41 - - *182 + - *184 responses: '204': description: Response @@ -21809,7 +21999,7 @@ paths: application/json: schema: type: array - items: &211 + items: &213 title: Event description: Event type: object @@ -21819,7 +22009,7 @@ paths: type: type: string nullable: true - actor: &183 + actor: &185 title: Actor description: Actor type: object @@ -21859,18 +22049,18 @@ paths: - id - name - url - org: *183 + org: *185 payload: type: object properties: action: type: string - issue: &199 + issue: &201 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &635 + properties: &639 id: type: integer format: int64 @@ -21982,7 +22172,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &375 + properties: &379 url: type: string format: uri @@ -22052,7 +22242,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &376 + required: &380 - closed_issues - creator - description @@ -22131,7 +22321,7 @@ paths: timeline_url: type: string format: uri - type: &337 + type: &341 title: Issue Type description: The type of issue. type: object @@ -22190,9 +22380,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - author_association: &186 + properties: *186 + required: *187 + author_association: &188 title: author_association type: string example: OWNER @@ -22206,7 +22396,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &187 + reactions: &189 title: Reaction Rollup type: object properties: @@ -22242,7 +22432,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &771 + sub_issues_summary: &775 title: Sub-issues Summary type: object properties: @@ -22262,7 +22452,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &772 + issue_dependencies_summary: &776 title: Issue Dependencies Summary type: object properties: @@ -22281,7 +22471,7 @@ paths: - total_blocking issue_field_values: type: array - items: &773 + items: &777 title: Issue Field Value description: A value assigned to an issue field type: object @@ -22341,7 +22531,7 @@ paths: - node_id - data_type - value - required: &636 + required: &640 - assignee - closed_at - comments @@ -22362,7 +22552,7 @@ paths: - user - created_at - updated_at - comment: &633 + comment: &637 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -22410,7 +22600,7 @@ paths: issue_url: type: string format: uri - author_association: *186 + author_association: *188 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -22420,9 +22610,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - reactions: *187 + properties: *186 + required: *187 + reactions: *189 required: - id - node_id @@ -22598,7 +22788,7 @@ paths: _links: type: object properties: - timeline: &188 + timeline: &190 title: Link With Type description: Hypermedia Link with Type type: object @@ -22610,17 +22800,17 @@ paths: required: - href - type - user: *188 - security_advisories: *188 - current_user: *188 - current_user_public: *188 - current_user_actor: *188 - current_user_organization: *188 + user: *190 + security_advisories: *190 + current_user: *190 + current_user_public: *190 + current_user_actor: *190 + current_user_organization: *190 current_user_organizations: type: array - items: *188 - repository_discussions: *188 - repository_discussions_category: *188 + items: *190 + repository_discussions: *190 + repository_discussions_category: *190 required: - timeline - user @@ -22682,7 +22872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *189 + - *191 - *17 - *19 responses: @@ -22692,7 +22882,7 @@ paths: application/json: schema: type: array - items: &190 + items: &192 title: Base Gist description: Base Gist type: object @@ -22791,7 +22981,7 @@ paths: - created_at - updated_at examples: - default: &191 + default: &193 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -22912,7 +23102,7 @@ paths: description: Response content: application/json: - schema: &192 + schema: &194 title: Gist Simple description: Gist Simple type: object @@ -22929,7 +23119,7 @@ paths: url: type: string format: uri - user: &785 + user: &789 title: Public User description: Public User type: object @@ -23291,7 +23481,7 @@ paths: truncated: type: boolean examples: - default: &193 + default: &195 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -23395,7 +23585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *189 + - *191 - *17 - *19 responses: @@ -23405,9 +23595,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *43 '422': *15 @@ -23429,7 +23619,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *189 + - *191 - *17 - *19 responses: @@ -23439,9 +23629,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *43 '401': *25 @@ -23469,7 +23659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &194 + - &196 name: gist_id description: The unique identifier of the gist. in: path @@ -23481,10 +23671,10 @@ paths: description: Response content: application/json: - schema: *192 + schema: *194 examples: - default: *193 - '403': &197 + default: *195 + '403': &199 description: Forbidden Gist content: application/json: @@ -23532,7 +23722,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *194 + - *196 requestBody: required: true content: @@ -23592,9 +23782,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *194 examples: - updateGist: *193 + updateGist: *195 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -23752,7 +23942,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *194 + - *196 responses: '204': description: Response @@ -23781,7 +23971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *194 + - *196 - *17 - *19 responses: @@ -23791,7 +23981,7 @@ paths: application/json: schema: type: array - items: &195 + items: &197 title: Gist Comment description: A comment made to a gist. type: object @@ -23826,7 +24016,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *186 + author_association: *188 required: - url - id @@ -23891,7 +24081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *194 + - *196 requestBody: required: true content: @@ -23916,9 +24106,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: &196 + default: &198 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -23976,8 +24166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *194 - - &198 + - *196 + - &200 name: comment_id description: The unique identifier of the comment. in: path @@ -23990,12 +24180,12 @@ paths: description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '304': *37 '404': *6 - '403': *197 + '403': *199 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24017,8 +24207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *194 - - *198 + - *196 + - *200 requestBody: required: true content: @@ -24043,9 +24233,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *197 examples: - default: *196 + default: *198 '404': *6 x-github: githubCloudOnly: false @@ -24062,8 +24252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *194 - - *198 + - *196 + - *200 responses: '204': description: Response @@ -24086,7 +24276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *194 + - *196 - *17 - *19 responses: @@ -24187,7 +24377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *194 + - *196 - *17 - *19 responses: @@ -24197,7 +24387,7 @@ paths: application/json: schema: type: array - items: *192 + items: *194 examples: default: value: @@ -24262,13 +24452,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *194 + - *196 responses: '201': description: Response content: application/json: - schema: *190 + schema: *192 examples: default: value: @@ -24339,7 +24529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *194 + - *196 responses: '204': description: Response if gist is starred @@ -24369,7 +24559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *194 + - *196 responses: '204': description: Response @@ -24391,7 +24581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *194 + - *196 responses: '204': description: Response @@ -24420,7 +24610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *194 + - *196 - name: sha in: path required: true @@ -24431,9 +24621,9 @@ paths: description: Response content: application/json: - schema: *192 + schema: *194 examples: - default: *193 + default: *195 '422': *15 '404': *6 '403': *29 @@ -24799,7 +24989,7 @@ paths: - closed - all default: open - - &340 + - &344 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -24818,7 +25008,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - name: collab in: query required: false @@ -24848,9 +25038,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: &341 + default: &345 value: - id: 1 node_id: MDU6SXNzdWUx @@ -25134,8 +25324,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 examples: default: value: @@ -25420,7 +25610,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &202 + X-CommonMarker-Version: &204 example: 0.17.4 schema: type: string @@ -25475,7 +25665,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *202 + X-CommonMarker-Version: *204 content: text/html: schema: @@ -25504,7 +25694,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &205 + - &207 name: account_id description: account_id parameter in: path @@ -25516,7 +25706,7 @@ paths: description: Response content: application/json: - schema: &204 + schema: &206 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -25546,7 +25736,7 @@ paths: nullable: true id: type: integer - plan: &203 + plan: &205 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -25635,7 +25825,7 @@ paths: nullable: true updated_at: type: string - plan: *203 + plan: *205 required: - url - id @@ -25643,7 +25833,7 @@ paths: - login - marketplace_purchase examples: - default: &206 + default: &208 value: url: https://api.github.com/orgs/github type: Organization @@ -25728,9 +25918,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: &207 + default: &209 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -25770,14 +25960,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &208 + - &210 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &209 + - &211 name: sort description: The property to sort the results by. in: query @@ -25807,9 +25997,9 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: - default: &210 + default: &212 value: - url: https://api.github.com/orgs/github type: Organization @@ -25883,15 +26073,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *205 + - *207 responses: '200': description: Response content: application/json: - schema: *204 + schema: *206 examples: - default: *206 + default: *208 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -25923,9 +26113,9 @@ paths: application/json: schema: type: array - items: *203 + items: *205 examples: - default: *207 + default: *209 headers: Link: *43 '401': *25 @@ -25948,8 +26138,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *208 - - *209 + - *210 + - *211 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -25969,9 +26159,9 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: - default: *210 + default: *212 headers: Link: *43 '401': *25 @@ -26235,14 +26425,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: - - &441 + - &445 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &442 + - &446 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26259,7 +26449,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -26313,7 +26503,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &455 + '301': &459 description: Moved permanently content: application/json: @@ -26335,7 +26525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &665 + - &669 name: all description: If `true`, show notifications marked as read. in: query @@ -26343,7 +26533,7 @@ paths: schema: type: boolean default: false - - &666 + - &670 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -26352,8 +26542,8 @@ paths: schema: type: boolean default: false - - *189 - - &667 + - *191 + - &671 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: @@ -26378,18 +26568,18 @@ paths: application/json: schema: type: array - items: &212 + items: &214 title: Thread description: Thread type: object properties: id: type: string - repository: &249 + repository: &253 title: Minimal Repository description: Minimal Repository type: object - properties: &310 + properties: &314 id: type: integer format: int64 @@ -26665,7 +26855,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &387 + security_and_analysis: &391 nullable: true type: object properties: @@ -26747,7 +26937,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &311 + required: &315 - archive_url - assignees_url - blobs_url @@ -26835,7 +27025,7 @@ paths: - url - subscription_url examples: - default: &668 + default: &672 value: - id: '1' repository: @@ -27001,7 +27191,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &213 + - &215 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -27015,7 +27205,7 @@ paths: description: Response content: application/json: - schema: *212 + schema: *214 examples: default: value: @@ -27118,7 +27308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *213 + - *215 responses: '205': description: Reset Content @@ -27141,7 +27331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *213 + - *215 responses: '204': description: No content @@ -27164,13 +27354,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *213 + - *215 responses: '200': description: Response content: application/json: - schema: &214 + schema: &216 title: Thread Subscription description: Thread Subscription type: object @@ -27207,7 +27397,7 @@ paths: - url - subscribed examples: - default: &215 + default: &217 value: subscribed: true ignored: false @@ -27238,7 +27428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *213 + - *215 requestBody: required: false content: @@ -27259,9 +27449,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *216 examples: - default: *215 + default: *217 '304': *37 '403': *29 '401': *25 @@ -27284,7 +27474,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *213 + - *215 responses: '204': description: Response @@ -27381,7 +27571,7 @@ paths: type: array items: *64 examples: - default: &802 + default: &806 value: - login: github id: 1 @@ -27445,7 +27635,7 @@ paths: type: integer custom_roles: type: array - items: &292 + items: &296 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -27493,7 +27683,7 @@ paths: - created_at - updated_at examples: - default: &293 + default: &297 value: id: 8030 name: Security Engineer @@ -27584,8 +27774,8 @@ paths: title: Simple Repository description: A GitHub repository. type: object - properties: *216 - required: *217 + properties: *218 + required: *219 nullable: true additionalProperties: false examples: @@ -27790,6 +27980,142 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - *78 + - *173 + - *220 + - *174 + - *221 + - *222 + - *223 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *167 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -27805,18 +28131,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *78 - - *218 - - *219 - - *220 - - *221 + - *173 + - *224 + - *174 + - *225 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *222 + schema: *226 examples: - default: *223 + default: *227 '400': *14 '403': *29 '500': *40 @@ -27852,7 +28178,7 @@ paths: description: Response content: application/json: - schema: &224 + schema: &228 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -28185,7 +28511,7 @@ paths: - updated_at - archived_at examples: - default-response: &225 + default-response: &229 value: login: github id: 1 @@ -28510,17 +28836,17 @@ paths: description: Response content: application/json: - schema: *224 + schema: *228 examples: - default: *225 + default: *229 '422': description: Validation failed content: application/json: schema: oneOf: - - *226 - - *227 + - *230 + - *231 '409': *109 x-github: githubCloudOnly: false @@ -28575,9 +28901,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *232 examples: - default: *229 + default: *233 headers: Link: *43 x-github: @@ -28618,7 +28944,7 @@ paths: type: integer repository_cache_usages: type: array - items: &460 + items: &464 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -28693,7 +29019,7 @@ paths: type: array items: *44 examples: - default: *230 + default: *234 headers: Link: *43 x-github: @@ -28877,9 +29203,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *235 examples: - default: *232 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28915,7 +29241,7 @@ paths: type: array items: *47 examples: - default: *233 + default: *237 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29098,7 +29424,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &234 + schema: &238 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -29112,7 +29438,7 @@ paths: required: - include_claim_keys examples: - default: &235 + default: &239 value: include_claim_keys: - repo @@ -29139,15 +29465,15 @@ paths: required: true content: application/json: - schema: *234 + schema: *238 examples: - default: *235 + default: *239 responses: '201': description: Empty response content: application/json: - schema: &260 + schema: &264 title: Empty Object description: An object without any properties. type: object @@ -29186,7 +29512,7 @@ paths: schema: type: object properties: - enabled_repositories: &237 + enabled_repositories: &241 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -29200,7 +29526,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *51 - selected_actions_url: *236 + selected_actions_url: *240 sha_pinning_required: *52 required: - enabled_repositories @@ -29242,7 +29568,7 @@ paths: schema: type: object properties: - enabled_repositories: *237 + enabled_repositories: *241 allowed_actions: *51 sha_pinning_required: *52 required: @@ -29278,7 +29604,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: response: summary: Example response @@ -29309,7 +29635,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *243 examples: application/json: value: @@ -29347,7 +29673,7 @@ paths: application/json: schema: *53 examples: - default: *240 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -29404,7 +29730,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *245 examples: default: *54 '403': *29 @@ -29429,7 +29755,7 @@ paths: required: true content: application/json: - schema: *242 + schema: *246 examples: default: *54 responses: @@ -29481,7 +29807,7 @@ paths: type: array items: *69 examples: - default: &244 + default: &248 value: total_count: 1 repositories: @@ -29666,7 +29992,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *78 - - &243 + - &247 name: repository_id description: The unique identifier of the repository. in: path @@ -29695,7 +30021,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *78 - - *243 + - *247 responses: '204': description: Response @@ -29891,7 +30217,7 @@ paths: type: array items: *69 examples: - default: *244 + default: *248 '403': *29 '404': *6 x-github: @@ -29960,7 +30286,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *78 - - *243 + - *247 responses: '204': description: No content @@ -29987,7 +30313,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *78 - - *243 + - *247 responses: '204': description: No content @@ -30021,7 +30347,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *249 examples: default: *60 x-github: @@ -30055,7 +30381,7 @@ paths: required: false content: application/json: - schema: *246 + schema: *250 examples: default: *60 x-github: @@ -30102,7 +30428,7 @@ paths: type: number runner_groups: type: array - items: &247 + items: &251 type: object properties: id: @@ -30290,9 +30616,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: &248 + default: &252 value: id: 2 name: octo-runner-group @@ -30334,7 +30660,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: default: value: @@ -30425,9 +30751,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *251 examples: - default: *248 + default: *252 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -30491,7 +30817,7 @@ paths: type: array items: *44 examples: - default: *230 + default: *234 headers: Link: *43 x-github: @@ -30532,9 +30858,9 @@ paths: type: number repositories: type: array - items: *249 + items: *253 examples: - default: &788 + default: &792 value: total_count: 1 repositories: @@ -30833,7 +31159,7 @@ paths: parameters: - *78 - *63 - - *243 + - *247 responses: '204': description: Response @@ -30857,7 +31183,7 @@ paths: parameters: - *78 - *63 - - *243 + - *247 responses: '204': description: Response @@ -31075,9 +31401,9 @@ paths: application/json: schema: type: array - items: *250 + items: *254 examples: - default: *251 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31142,7 +31468,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *252 + '201': *256 '404': *6 '422': *7 '409': *109 @@ -31181,7 +31507,7 @@ paths: application/json: schema: *70 examples: - default: *253 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31217,7 +31543,7 @@ paths: application/json: schema: *70 examples: - default: *254 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31248,7 +31574,7 @@ paths: application/json: schema: *67 examples: - default: *255 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -31423,7 +31749,7 @@ paths: - *78 - *66 responses: - '200': *256 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -31452,7 +31778,7 @@ paths: parameters: - *78 - *66 - - *257 + - *261 responses: '200': *72 '404': *6 @@ -31497,7 +31823,7 @@ paths: type: integer secrets: type: array - items: &258 + items: &262 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -31576,7 +31902,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &484 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -31605,7 +31931,7 @@ paths: - key_id - key examples: - default: &481 + default: &485 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -31631,7 +31957,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *78 - - &259 + - &263 name: secret_name description: The name of the secret. in: path @@ -31643,7 +31969,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *262 examples: default: value: @@ -31674,7 +32000,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -31731,7 +32057,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -31758,7 +32084,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -31785,7 +32111,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 - *19 - *17 responses: @@ -31803,9 +32129,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: &263 + default: &267 value: total_count: 1 repositories: @@ -31898,7 +32224,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -31951,7 +32277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -31985,7 +32311,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -32018,7 +32344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *78 - - &465 + - &469 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)." @@ -32042,7 +32368,7 @@ paths: type: integer variables: type: array - items: &261 + items: &265 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -32175,7 +32501,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -32201,7 +32527,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *78 - - &262 + - &266 name: name description: The name of the variable. in: path @@ -32213,7 +32539,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *265 examples: default: value: @@ -32244,7 +32570,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *78 - - *262 + - *266 requestBody: required: true content: @@ -32307,7 +32633,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *78 - - *262 + - *266 responses: '204': description: Response @@ -32334,7 +32660,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *78 - - *262 + - *266 - *19 - *17 responses: @@ -32352,9 +32678,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *263 + default: *267 '409': description: Response when the visibility of the variable is not set to `selected` @@ -32381,7 +32707,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *78 - - *262 + - *266 requestBody: required: true content: @@ -32431,7 +32757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *78 - - *262 + - *266 - name: repository_id in: path required: true @@ -32466,7 +32792,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *78 - - *262 + - *266 - name: repository_id in: path required: true @@ -32524,7 +32850,7 @@ paths: required: true content: application/json: - schema: *264 + schema: *268 examples: default: *76 parameters: @@ -32815,12 +33141,12 @@ paths: required: - subject_digests examples: - default: &817 + default: &821 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &818 + withPredicateType: &822 value: subject_digests: - sha256:abc123 @@ -32878,7 +33204,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &819 + default: &823 value: attestations_subject_digests: - sha256:abc: @@ -33174,7 +33500,7 @@ paths: initiator: type: string examples: - default: &494 + default: &498 value: attestations: - bundle: @@ -33300,10 +33626,10 @@ paths: required: false schema: type: string - - *265 - - *266 - - *267 - - *268 + - *269 + - *270 + - *271 + - *272 - *17 responses: '200': @@ -33312,9 +33638,9 @@ paths: application/json: schema: type: array - items: *269 + items: *273 examples: - default: *270 + default: *274 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33343,7 +33669,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33363,7 +33689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: If the user is blocked @@ -33389,7 +33715,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -33410,7 +33736,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -33437,7 +33763,7 @@ paths: subcategory: bypass-requests parameters: - *78 - - &273 + - &277 name: repository_name description: The name of the repository to filter on. in: query @@ -33456,9 +33782,9 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: - default: *272 + default: *276 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -33482,7 +33808,7 @@ paths: subcategory: delegated-bypass parameters: - *78 - - *273 + - *277 - *94 - *95 - *96 @@ -33496,9 +33822,9 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -33525,7 +33851,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &277 + schema: &281 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -33551,7 +33877,7 @@ paths: application/json: schema: type: array - items: &278 + items: &282 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -33582,7 +33908,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *276 + items: *280 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -33600,7 +33926,7 @@ paths: type: string format: date-time nullable: true - state: *277 + state: *281 contact_link: description: The contact link of the campaign. type: string @@ -33815,9 +34141,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: &279 + default: &283 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -33900,9 +34226,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: *279 + default: *283 '404': *6 '422': description: Unprocessable Entity @@ -33979,7 +34305,7 @@ paths: type: string format: uri nullable: true - state: *277 + state: *281 examples: default: value: @@ -33989,9 +34315,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: *279 + default: *283 '400': description: Bad Request content: @@ -34058,8 +34384,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *78 - - *280 - - *281 + - *284 + - *285 - *99 - *100 - *19 @@ -34070,7 +34396,7 @@ paths: be returned. in: query required: false - schema: *282 + schema: *286 - name: sort description: The property by which to sort the results. in: query @@ -34086,7 +34412,7 @@ paths: be returned. in: query required: false - schema: &521 + schema: &525 type: string description: Severity of a code scanning alert. enum: @@ -34104,9 +34430,9 @@ paths: application/json: schema: type: array - items: *283 + items: *287 examples: - default: *284 + default: *288 headers: Link: *43 '404': *6 @@ -34321,7 +34647,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *285 + code_scanning_options: *289 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -34464,7 +34790,7 @@ paths: application/json: schema: *105 examples: - default: *286 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34492,9 +34818,9 @@ paths: description: Response content: application/json: - schema: *287 + schema: *291 examples: - default: *288 + default: *292 '304': *37 '403': *29 '404': *6 @@ -34581,7 +34907,7 @@ paths: application/json: schema: *105 examples: - default: *286 + default: *290 '304': *37 '403': *29 '404': *6 @@ -35003,7 +35329,7 @@ paths: default: value: default_for_new_repos: all - configuration: *286 + configuration: *290 '403': *29 '404': *6 x-github: @@ -35056,13 +35382,13 @@ paths: application/json: schema: type: array - items: *289 + items: *293 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *290 + repository: *294 '403': *29 '404': *6 x-github: @@ -35102,7 +35428,7 @@ paths: type: integer codespaces: type: array - items: &342 + items: &346 type: object title: Codespace description: A codespace. @@ -35127,12 +35453,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *249 + repository: *253 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &550 + properties: &554 name: type: string description: The name of the machine. @@ -35174,7 +35500,7 @@ paths: - ready - in_progress nullable: true - required: &551 + required: &555 - name - display_name - operating_system @@ -35379,7 +35705,7 @@ paths: - pulls_url - recent_folders examples: - default: &343 + default: &347 value: total_count: 3 codespaces: @@ -36003,7 +36329,7 @@ paths: type: integer secrets: type: array - items: &291 + items: &295 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -36042,7 +36368,7 @@ paths: - updated_at - visibility examples: - default: &552 + default: &556 value: total_count: 2 secrets: @@ -36080,7 +36406,7 @@ paths: description: Response content: application/json: - schema: &553 + schema: &557 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -36109,7 +36435,7 @@ paths: - key_id - key examples: - default: &554 + default: &558 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36133,15 +36459,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '200': description: Response content: application/json: - schema: *291 + schema: *295 examples: - default: &556 + default: &560 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -36169,7 +36495,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -36224,7 +36550,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -36251,7 +36577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -36277,7 +36603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 - *19 - *17 responses: @@ -36295,9 +36621,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *263 + default: *267 '404': *6 x-github: githubCloudOnly: false @@ -36320,7 +36646,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -36371,7 +36697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -36405,7 +36731,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -36994,13 +37320,13 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: - default: *174 + default: *176 '500': *40 '403': *29 '404': *6 - '422': *175 + '422': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37212,7 +37538,7 @@ paths: type: integer custom_roles: type: array - items: *292 + items: *296 examples: default: value: @@ -37304,7 +37630,7 @@ paths: required: true content: application/json: - schema: &295 + schema: &299 type: object properties: name: @@ -37345,9 +37671,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37372,7 +37698,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *78 - - &294 + - &298 name: role_id description: The unique identifier of the role. in: path @@ -37384,9 +37710,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -37409,12 +37735,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *78 - - *294 + - *298 requestBody: required: true content: application/json: - schema: &296 + schema: &300 type: object properties: name: @@ -37452,9 +37778,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37479,7 +37805,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *78 - - *294 + - *298 responses: '204': description: Response @@ -37512,7 +37838,7 @@ paths: required: true content: application/json: - schema: *295 + schema: *299 examples: default: value: @@ -37526,9 +37852,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37559,15 +37885,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *78 - - *294 + - *298 responses: '200': description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '404': *6 x-github: githubCloudOnly: true @@ -37596,12 +37922,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *78 - - *294 + - *298 requestBody: required: true content: application/json: - schema: *296 + schema: *300 examples: default: value: @@ -37616,9 +37942,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *296 examples: - default: *293 + default: *297 '422': *15 '404': *6 x-github: @@ -37649,7 +37975,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *78 - - *294 + - *298 responses: '204': description: Response @@ -37678,11 +38004,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *78 - - *297 - - *298 - - *299 - - *300 - *301 + - *302 + - *303 + - *304 + - *305 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -37698,14 +38024,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *302 - - *303 - - *304 + - *306 + - *307 + - *308 - *101 - *99 - *100 - - *305 - - *306 + - *309 + - *310 - *17 responses: '200': @@ -37714,9 +38040,9 @@ paths: application/json: schema: type: array - items: *307 + items: *311 examples: - default: *308 + default: *312 '304': *37 '400': *14 '403': *29 @@ -37760,7 +38086,7 @@ paths: type: integer secrets: type: array - items: &309 + items: &313 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -37837,7 +38163,7 @@ paths: description: Response content: application/json: - schema: &581 + schema: &585 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -37854,7 +38180,7 @@ paths: - key_id - key examples: - default: &582 + default: &586 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37878,13 +38204,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '200': description: Response content: application/json: - schema: *309 + schema: *313 examples: default: value: @@ -37913,7 +38239,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -37968,7 +38294,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -37993,7 +38319,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -38018,7 +38344,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 - *19 - *17 responses: @@ -38036,9 +38362,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *263 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38060,7 +38386,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -38111,7 +38437,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -38143,7 +38469,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *78 - - *259 + - *263 - name: repository_id in: path required: true @@ -38180,7 +38506,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - &590 + - &594 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -38188,7 +38514,7 @@ paths: required: false schema: type: string - - &591 + - &595 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -38196,7 +38522,7 @@ paths: required: false schema: type: string - - &592 + - &596 name: time_period description: |- The time period to filter by. @@ -38212,7 +38538,7 @@ paths: - week - month default: month - - &593 + - &597 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -38227,7 +38553,7 @@ paths: - denied - all default: all - - *273 + - *277 - *17 - *19 responses: @@ -38237,7 +38563,7 @@ paths: application/json: schema: type: array - items: &594 + items: &598 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -38393,7 +38719,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &595 + default: &599 value: - id: 21 number: 42 @@ -38480,11 +38806,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *78 - - *273 + - *277 - *94 - *95 - *96 - - &596 + - &600 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -38510,7 +38836,7 @@ paths: application/json: schema: type: array - items: &597 + items: &601 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -38631,7 +38957,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &598 + default: &602 value: - id: 21 number: 42 @@ -38719,7 +39045,7 @@ paths: application/json: schema: type: array - items: &353 + items: &357 title: Package description: A software package type: object @@ -38769,8 +39095,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *310 - required: *311 + properties: *314 + required: *315 nullable: true created_at: type: string @@ -38789,7 +39115,7 @@ paths: - created_at - updated_at examples: - default: &354 + default: &358 value: - id: 197 name: hello_docker @@ -38877,7 +39203,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: 200-response: value: @@ -38973,7 +39299,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &440 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -39054,7 +39380,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &437 + default: &441 value: group_id: '123' group_name: Octocat admins @@ -39109,7 +39435,7 @@ paths: description: Response content: application/json: - schema: &434 + schema: &438 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -39146,7 +39472,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &435 + default: &439 value: groups: - group_id: '123' @@ -39190,7 +39516,7 @@ paths: application/json: schema: type: array - items: &334 + items: &338 title: Organization Invitation description: Organization Invitation type: object @@ -39237,7 +39563,7 @@ paths: - invitation_teams_url - node_id examples: - default: &335 + default: &339 value: - id: 1 login: monalisa @@ -39304,7 +39630,7 @@ paths: application/json: schema: type: array - items: &388 + items: &392 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -39318,7 +39644,7 @@ paths: - name - description examples: - default: &389 + default: &393 value: - name: add_assignee description: Assign or remove a user @@ -39359,7 +39685,7 @@ paths: application/json: schema: type: array - items: &312 + items: &316 title: Org Hook description: Org Hook type: object @@ -39528,9 +39854,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: &313 + default: &317 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -39575,7 +39901,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *78 - - &314 + - &318 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. @@ -39588,9 +39914,9 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: - default: *313 + default: *317 '404': *6 x-github: githubCloudOnly: false @@ -39612,7 +39938,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *78 - - *314 + - *318 requestBody: required: false content: @@ -39657,7 +39983,7 @@ paths: description: Response content: application/json: - schema: *312 + schema: *316 examples: default: value: @@ -39697,7 +40023,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *78 - - *314 + - *318 responses: '204': description: Response @@ -39723,7 +40049,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *78 - - *314 + - *318 responses: '200': description: Response @@ -39752,7 +40078,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *78 - - *314 + - *318 requestBody: required: false content: @@ -39801,9 +40127,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *78 - - *314 + - *318 - *17 - - *315 + - *319 responses: '200': description: Response @@ -39811,9 +40137,9 @@ paths: application/json: schema: type: array - items: *316 + items: *320 examples: - default: *317 + default: *321 '400': *14 '422': *15 x-github: @@ -39837,16 +40163,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *78 - - *314 + - *318 - *16 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: *319 + default: *323 '400': *14 '422': *15 x-github: @@ -39870,7 +40196,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *78 - - *314 + - *318 - *16 responses: '202': *39 @@ -39897,7 +40223,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *78 - - *314 + - *318 responses: '204': description: Response @@ -39920,7 +40246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *78 - - &324 + - &328 name: actor_type in: path description: The type of the actor @@ -39933,14 +40259,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &325 + - &329 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &320 + - &324 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`.' @@ -39948,7 +40274,7 @@ paths: required: true schema: type: string - - &321 + - &325 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) @@ -40042,12 +40368,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *78 - - *320 - - *321 + - *324 + - *325 - *19 - *17 - *101 - - &330 + - &334 name: sort description: The property to sort the results by. in: query @@ -40126,14 +40452,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *78 - - *320 - - *321 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &322 + schema: &326 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -40149,7 +40475,7 @@ paths: type: integer format: int64 examples: - default: &323 + default: &327 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -40170,23 +40496,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *78 - - &326 + - &330 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *320 - - *321 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *322 + schema: *326 examples: - default: *323 + default: *327 x-github: enabledForGitHubApps: true category: orgs @@ -40205,18 +40531,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *78 - - *320 - - *321 - *324 - *325 + - *328 + - *329 responses: '200': description: Response content: application/json: - schema: *322 + schema: *326 examples: - default: *323 + default: *327 x-github: enabledForGitHubApps: true category: orgs @@ -40234,9 +40560,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *78 - - *320 - - *321 - - &327 + - *324 + - *325 + - &331 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -40249,7 +40575,7 @@ paths: description: Response content: application/json: - schema: &328 + schema: &332 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -40265,7 +40591,7 @@ paths: type: integer format: int64 examples: - default: &329 + default: &333 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -40302,18 +40628,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *78 - - *326 - - *320 - - *321 - - *327 + - *330 + - *324 + - *325 + - *331 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -40331,19 +40657,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *78 + - *328 + - *329 - *324 - *325 - - *320 - - *321 - - *327 + - *331 responses: '200': description: Response content: application/json: - schema: *328 + schema: *332 examples: - default: *329 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -40361,13 +40687,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *78 - - *326 - - *320 - - *321 + - *330 + - *324 + - *325 - *19 - *17 - *101 - - *330 + - *334 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -40448,7 +40774,7 @@ paths: application/json: schema: *22 examples: - default: &629 + default: &633 value: id: 1 account: @@ -40614,12 +40940,12 @@ paths: application/json: schema: anyOf: - - &332 + - &336 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &331 + limit: &335 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -40644,7 +40970,7 @@ paths: properties: {} additionalProperties: false examples: - default: &333 + default: &337 value: limit: collaborators_only origin: organization @@ -40673,13 +40999,13 @@ paths: required: true content: application/json: - schema: &630 + schema: &634 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *331 + limit: *335 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -40703,9 +41029,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *336 examples: - default: *333 + default: *337 '422': *15 x-github: githubCloudOnly: false @@ -40783,9 +41109,9 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: - default: *335 + default: *339 headers: Link: *43 '404': *6 @@ -40863,7 +41189,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -40920,7 +41246,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *78 - - &336 + - &340 name: invitation_id description: The unique identifier of the invitation. in: path @@ -40954,7 +41280,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *78 - - *336 + - *340 - *17 - *19 responses: @@ -40964,9 +41290,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: &352 + default: &356 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -41009,7 +41335,7 @@ paths: application/json: schema: type: array - items: *337 + items: *341 examples: default: value: @@ -41094,9 +41420,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *341 examples: - default: &338 + default: &342 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -41129,7 +41455,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *78 - - &339 + - &343 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -41182,9 +41508,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *341 examples: - default: *338 + default: *342 '404': *6 '422': *7 x-github: @@ -41209,7 +41535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *78 - - *339 + - *343 responses: '204': description: Response @@ -41272,7 +41598,7 @@ paths: - closed - all default: open - - *340 + - *344 - name: type description: Can be the name of an issue type. in: query @@ -41291,7 +41617,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - *17 - *19 responses: @@ -41301,9 +41627,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *341 + default: *345 headers: Link: *43 '404': *6 @@ -41363,7 +41689,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '422': *15 @@ -41384,7 +41710,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response if requester is an organization member and user is @@ -41419,7 +41745,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -41446,7 +41772,7 @@ paths: - *17 - *19 - *78 - - *180 + - *182 responses: '200': description: Response @@ -41462,9 +41788,9 @@ paths: type: integer codespaces: type: array - items: *342 + items: *346 examples: - default: *343 + default: *347 '304': *37 '500': *40 '401': *25 @@ -41490,8 +41816,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *78 - - *180 - - &344 + - *182 + - &348 name: codespace_name in: path required: true @@ -41525,16 +41851,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *78 - - *180 - - *344 + - *182 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: &549 + default: &553 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -41708,7 +42034,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *78 - - *180 + - *182 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -41784,13 +42110,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: &345 + schema: &349 title: Org Membership description: Org Membership type: object @@ -41857,7 +42183,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &346 + response-if-user-has-an-active-admin-membership-with-organization: &350 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -41926,7 +42252,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 requestBody: required: false content: @@ -41954,9 +42280,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: - response-if-user-already-had-membership-with-organization: *346 + response-if-user-already-had-membership-with-organization: *350 '422': *15 '403': *29 x-github: @@ -41981,7 +42307,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -42027,7 +42353,7 @@ paths: application/json: schema: type: array - items: &347 + items: &351 title: Migration description: A migration. type: object @@ -42356,7 +42682,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -42535,7 +42861,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *78 - - &348 + - &352 name: migration_id description: The unique identifier of the migration. in: path @@ -42562,7 +42888,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -42732,7 +43058,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *78 - - *348 + - *352 responses: '302': description: Response @@ -42754,7 +43080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *78 - - *348 + - *352 responses: '204': description: Response @@ -42778,8 +43104,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *78 - - *348 - - &801 + - *352 + - &805 name: repo_name description: repo_name parameter in: path @@ -42807,7 +43133,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *78 - - *348 + - *352 - *17 - *19 responses: @@ -42817,9 +43143,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: &359 + default: &363 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -43028,7 +43354,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &349 + items: &353 title: Organization Role description: Organization roles type: object @@ -43235,7 +43561,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *353 examples: default: value: @@ -43287,7 +43613,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -43313,8 +43639,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *78 - - *182 - - *294 + - *184 + - *298 responses: '204': description: Response @@ -43344,8 +43670,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *78 - - *182 - - *294 + - *184 + - *298 responses: '204': description: Response @@ -43371,7 +43697,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -43397,8 +43723,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *78 - - *180 - - *294 + - *182 + - *298 responses: '204': description: Response @@ -43429,8 +43755,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *78 - - *180 - - *294 + - *182 + - *298 responses: '204': description: Response @@ -43459,13 +43785,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *78 - - *294 + - *298 responses: '200': description: Response content: application/json: - schema: *349 + schema: *353 examples: default: value: @@ -43523,7 +43849,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *78 - - *294 + - *298 requestBody: required: true content: @@ -43562,7 +43888,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *353 examples: default: value: @@ -43616,7 +43942,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *78 - - *294 + - *298 responses: '204': description: Response @@ -43642,7 +43968,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *78 - - *294 + - *298 - *17 - *19 responses: @@ -43720,8 +44046,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *350 - required: *351 + properties: *354 + required: *355 nullable: true type: description: The ownership type of the team @@ -43753,7 +44079,7 @@ paths: - type - parent examples: - default: *352 + default: *356 headers: Link: *43 '404': @@ -43783,7 +44109,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *78 - - *294 + - *298 - *17 - *19 responses: @@ -43811,13 +44137,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &408 + items: &412 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *350 - required: *351 + properties: *354 + required: *355 name: nullable: true type: string @@ -43912,7 +44238,7 @@ paths: - type - url examples: - default: *179 + default: *181 headers: Link: *43 '404': @@ -43963,7 +44289,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -43989,7 +44315,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *78 - - *180 + - *182 requestBody: required: false content: @@ -44047,7 +44373,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -44105,7 +44431,7 @@ paths: - nuget - container - *78 - - &803 + - &807 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -44141,12 +44467,12 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *354 + default: *358 '403': *29 '401': *25 - '400': &805 + '400': &809 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -44168,7 +44494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &355 + - &359 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 @@ -44186,7 +44512,7 @@ paths: - docker - nuget - container - - &356 + - &360 name: package_name description: The name of the package. in: path @@ -44199,7 +44525,7 @@ paths: description: Response content: application/json: - schema: *353 + schema: *357 examples: default: value: @@ -44251,8 +44577,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 responses: '204': @@ -44285,8 +44611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - name: token description: package token @@ -44319,8 +44645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - *19 - *17 @@ -44341,7 +44667,7 @@ paths: application/json: schema: type: array - items: &357 + items: &361 title: Package Version description: A version of a software package type: object @@ -44466,10 +44792,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: - - *355 - - *356 + - *359 + - *360 - *78 - - &358 + - &362 name: package_version_id description: Unique identifier of the package version. in: path @@ -44481,7 +44807,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -44517,10 +44843,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - - *358 + - *362 responses: '204': description: Response @@ -44552,10 +44878,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *355 - - *356 + - *359 + - *360 - *78 - - *358 + - *362 responses: '204': description: Response @@ -44585,7 +44911,7 @@ paths: - *78 - *17 - *19 - - &360 + - &364 name: sort description: The property by which to sort the results. in: query @@ -44596,7 +44922,7 @@ paths: - created_at default: created_at - *101 - - &361 + - &365 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -44607,7 +44933,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &362 + - &366 name: repository description: The name of the repository to use to filter the results. in: query @@ -44615,7 +44941,7 @@ paths: schema: type: string example: Hello-World - - &363 + - &367 name: permission description: The permission to use to filter the results. in: query @@ -44623,7 +44949,7 @@ paths: schema: type: string example: issues_read - - &364 + - &368 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) @@ -44633,7 +44959,7 @@ paths: schema: type: string format: date-time - - &365 + - &369 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) @@ -44643,7 +44969,7 @@ paths: schema: type: string format: date-time - - &366 + - &370 name: token_id description: The ID of the token in: query @@ -44954,9 +45280,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -44982,14 +45308,14 @@ paths: - *78 - *17 - *19 - - *360 - - *101 - - *361 - - *362 - - *363 - *364 + - *101 - *365 - *366 + - *367 + - *368 + - *369 + - *370 responses: '500': *40 '422': *15 @@ -45269,9 +45595,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -45313,7 +45639,7 @@ paths: type: integer configurations: type: array - items: &367 + items: &371 title: Organization private registry description: Private registry configuration for an organization type: object @@ -45566,7 +45892,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &368 + org-private-registry-with-selected-visibility: &372 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -45656,15 +45982,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *78 - - *259 + - *263 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *367 + schema: *371 examples: - default: *368 + default: *372 '404': *6 x-github: githubCloudOnly: false @@ -45686,7 +46012,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *78 - - *259 + - *263 requestBody: required: true content: @@ -45782,7 +46108,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *78 - - *259 + - *263 responses: '204': description: Response @@ -45828,7 +46154,7 @@ paths: application/json: schema: type: array - items: &369 + items: &373 title: Project description: Projects are a way to organize columns and cards of work. @@ -46001,7 +46327,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: default: value: @@ -46039,7 +46365,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': &452 + '410': &456 description: Gone content: application/json: @@ -46082,7 +46408,7 @@ paths: application/json: schema: type: array - items: &370 + items: &374 title: Projects v2 Project description: A projects v2 project type: object @@ -46152,7 +46478,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &881 + properties: &885 id: type: number description: The unique identifier of the status update. @@ -46200,7 +46526,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &882 + required: &886 - id - node_id - created_at @@ -46225,7 +46551,7 @@ paths: - deleted_at - deleted_by examples: - default: &371 + default: &375 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -46328,7 +46654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &372 + - &376 name: project_number description: The project's number. in: path @@ -46341,9 +46667,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: *371 + default: *375 headers: Link: *43 '304': *37 @@ -46365,7 +46691,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *372 + - *376 - *78 - *17 - *99 @@ -46377,7 +46703,7 @@ paths: application/json: schema: type: array - items: &373 + items: &377 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -46524,7 +46850,7 @@ paths: - updated_at - project_url examples: - default: &374 + default: &378 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -46567,8 +46893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *372 - - &822 + - *376 + - &826 name: field_id description: The unique identifier of the field. in: path @@ -46581,9 +46907,9 @@ paths: description: Response content: application/json: - schema: *373 + schema: *377 examples: - default: *374 + default: *378 headers: Link: *43 '304': *37 @@ -46606,7 +46932,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *372 + - *376 - *78 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -46636,7 +46962,7 @@ paths: application/json: schema: type: array - items: &380 + items: &384 title: Projects v2 Item description: An item belonging to a project type: object @@ -46652,7 +46978,7 @@ paths: format: uri example: https://api.github.com/users/monalisa/2/projectsV2/3 description: The API URL of the project that contains this item. - content_type: &378 + content_type: &382 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -46702,7 +47028,7 @@ paths: - updated_at - archived_at examples: - default: &381 + default: &385 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -47397,7 +47723,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *78 - - *372 + - *376 requestBody: required: true description: Details of the item to add to the project. @@ -47434,7 +47760,7 @@ paths: description: Response content: application/json: - schema: &823 + schema: &827 title: Projects v2 Item description: An item belonging to a project type: object @@ -47447,8 +47773,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *199 - - &564 + - *201 + - &568 title: Pull Request Simple description: Pull Request Simple type: object @@ -47554,8 +47880,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 nullable: true active_lock_reason: type: string @@ -47600,7 +47926,7 @@ paths: nullable: true requested_teams: type: array - items: *276 + items: *280 nullable: true head: type: object @@ -47651,7 +47977,7 @@ paths: _links: type: object properties: - comments: &377 + comments: &381 title: Link description: Hypermedia Link type: object @@ -47660,13 +47986,13 @@ paths: type: string required: - href - commits: *377 - statuses: *377 - html: *377 - issue: *377 - review_comments: *377 - review_comment: *377 - self: *377 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -47676,8 +48002,8 @@ paths: - review_comments - review_comment - self - author_association: *186 - auto_merge: &675 + author_association: *188 + auto_merge: &679 title: Auto merge description: The status of auto merging a pull request. type: object @@ -47779,7 +48105,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *378 + content_type: *382 creator: *4 created_at: type: string @@ -47812,7 +48138,7 @@ paths: - updated_at - archived_at examples: - issue: &379 + issue: &383 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -47867,7 +48193,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *379 + pull_request: *383 '304': *37 '403': *29 '401': *25 @@ -47887,9 +48213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *372 + - *376 - *78 - - &382 + - &386 name: item_id description: The unique identifier of the project item. in: path @@ -47912,9 +48238,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *381 + default: *385 headers: Link: *43 '304': *37 @@ -47935,9 +48261,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *372 + - *376 - *78 - - *382 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -48007,13 +48333,13 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - text_field: *381 - number_field: *381 - date_field: *381 - single_select_field: *381 - iteration_field: *381 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *25 '403': *29 '404': *6 @@ -48033,9 +48359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *372 + - *376 - *78 - - *382 + - *386 responses: '204': description: Response @@ -48198,7 +48524,7 @@ paths: required: true content: application/json: - schema: *383 + schema: *387 examples: default: value: @@ -48301,7 +48627,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &384 + items: &388 title: Custom Property Value description: Custom property name and associated value type: object @@ -48388,7 +48714,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *384 + items: *388 required: - repository_names - properties @@ -48441,7 +48767,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -48461,7 +48787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response if user is a public member @@ -48486,7 +48812,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -48508,7 +48834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *78 - - *180 + - *182 responses: '204': description: Response @@ -48579,9 +48905,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -48784,7 +49110,7 @@ paths: description: Response content: application/json: - schema: &454 + schema: &458 title: Full Repository description: Full Repository type: object @@ -49061,8 +49387,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *385 - required: *386 + properties: *389 + required: *390 nullable: true temp_clone_token: type: string @@ -49149,8 +49475,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true organization: title: Simple User @@ -49177,7 +49503,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &569 + properties: &573 url: type: string format: uri @@ -49193,12 +49519,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &570 + required: &574 - url - key - name - html_url - security_and_analysis: *387 + security_and_analysis: *391 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -49282,7 +49608,7 @@ paths: - network_count - subscribers_count examples: - default: &456 + default: &460 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -49808,9 +50134,9 @@ paths: application/json: schema: type: array - items: *388 + items: *392 examples: - default: *389 + default: *393 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -49835,7 +50161,7 @@ paths: - *78 - *17 - *19 - - &698 + - &702 name: targets description: | A comma-separated list of rule targets to filter by. @@ -49926,11 +50252,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *390 + conditions: *394 rules: type: array description: An array of rules within the ruleset. - items: &392 + items: &396 title: Repository Rule type: object description: A repository rule. @@ -49994,7 +50320,7 @@ paths: application/json: schema: *162 examples: - default: &391 + default: &395 value: id: 21 name: super cool ruleset @@ -50049,7 +50375,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *78 - - &700 + - &704 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 @@ -50059,16 +50385,16 @@ paths: schema: type: string x-multi-segment: true - - *273 + - *277 - *96 - - &701 + - &705 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 - - &702 + - &706 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -50088,7 +50414,7 @@ paths: description: Response content: application/json: - schema: &703 + schema: &707 title: Rule Suites description: Response type: array @@ -50143,7 +50469,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &704 + default: &708 value: - id: 21 actor_id: 12 @@ -50187,7 +50513,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *78 - - &705 + - &709 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -50203,7 +50529,7 @@ paths: description: Response content: application/json: - schema: &706 + schema: &710 title: Rule Suite description: Response type: object @@ -50302,7 +50628,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &707 + default: &711 value: id: 21 actor_id: 12 @@ -50377,7 +50703,7 @@ paths: application/json: schema: *162 examples: - default: *391 + default: *395 '404': *6 '500': *40 put: @@ -50426,11 +50752,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *141 - conditions: *390 + conditions: *394 rules: description: An array of rules within the ruleset. type: array - items: *392 + items: *396 examples: default: value: @@ -50467,7 +50793,7 @@ paths: application/json: schema: *162 examples: - default: *391 + default: *395 '404': *6 '500': *40 delete: @@ -50526,7 +50852,7 @@ paths: type: array items: *166 examples: - default: *393 + default: *397 '404': *6 '500': *40 x-github: @@ -50563,7 +50889,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *398 examples: default: value: @@ -50626,14 +50952,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *78 - - *395 - - *396 - - *397 - - *398 + - *399 + - *400 + - *401 + - *402 - *101 - *19 - *17 - - &709 + - &713 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 @@ -50643,7 +50969,7 @@ paths: required: false schema: type: string - - &710 + - &714 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 @@ -50653,10 +50979,10 @@ paths: required: false schema: type: string - - *399 - - *400 - - *401 - - *402 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -50664,9 +50990,9 @@ paths: application/json: schema: type: array - items: *403 + items: *407 examples: - default: *404 + default: *408 headers: Link: *43 '404': *6 @@ -50701,9 +51027,9 @@ paths: description: Response content: application/json: - schema: *405 + schema: *409 examples: - default: *406 + default: *410 '403': *29 '404': *6 patch: @@ -50856,7 +51182,7 @@ paths: application/json: schema: type: array - items: &731 + items: &735 description: A repository security advisory. type: object properties: @@ -51076,7 +51402,7 @@ paths: login: type: string description: The username of the user credited. - type: *407 + type: *411 credits_detailed: type: array nullable: true @@ -51086,7 +51412,7 @@ paths: type: object properties: user: *4 - type: *407 + type: *411 state: type: string description: The state of the user's acceptance of the @@ -51110,7 +51436,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *276 + items: *280 private_fork: readOnly: true nullable: true @@ -51147,7 +51473,7 @@ paths: - private_fork additionalProperties: false examples: - default: &732 + default: &736 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -51534,9 +51860,9 @@ paths: application/json: schema: type: array - items: *408 + items: *412 examples: - default: *352 + default: *356 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51560,7 +51886,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -51586,7 +51912,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -51621,9 +51947,9 @@ paths: description: Response content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51648,7 +51974,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *78 - - *411 + - *415 - *17 - *19 responses: @@ -51656,9 +51982,9 @@ paths: description: Success content: application/json: - schema: *412 + schema: *416 examples: - default: *413 + default: *417 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51686,9 +52012,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51716,9 +52042,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *420 examples: - default: *417 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -51758,7 +52084,7 @@ paths: type: array items: *126 examples: - default: *418 + default: *422 headers: Link: *43 x-github: @@ -51959,15 +52285,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *78 - - *419 + - *423 responses: '200': description: Response content: application/json: - schema: *420 + schema: *424 examples: - default: *421 + default: *425 headers: Link: *43 x-github: @@ -52005,7 +52331,7 @@ paths: description: Response content: application/json: - schema: &443 + schema: &447 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -52051,7 +52377,7 @@ paths: type: string nullable: true examples: - default: &444 + default: &448 value: groups: - group_id: '123' @@ -52097,7 +52423,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *78 - - *182 + - *184 - 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`). @@ -52129,13 +52455,13 @@ paths: application/json: schema: type: array - items: *173 + items: *175 examples: - default: *174 + default: *176 '500': *40 '403': *29 '404': *6 - '422': *175 + '422': *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52163,9 +52489,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 headers: Link: *43 '403': *29 @@ -52259,7 +52585,7 @@ paths: description: Response content: application/json: - schema: &422 + schema: &426 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -52322,8 +52648,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *350 - required: *351 + properties: *354 + required: *355 nullable: true members_count: type: integer @@ -52586,7 +52912,7 @@ paths: - repos_count - organization examples: - default: &423 + default: &427 value: id: 1 node_id: MDQ6VGVhbTE= @@ -52657,15 +52983,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *78 - - *182 + - *184 responses: '200': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 x-github: githubCloudOnly: false @@ -52687,7 +53013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *78 - - *182 + - *184 requestBody: required: false content: @@ -52749,16 +53075,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '201': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 '422': *15 '403': *29 @@ -52784,7 +53110,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -52811,7 +53137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *78 - - *182 + - *184 - *101 - *17 - *19 @@ -52828,7 +53154,7 @@ paths: application/json: schema: type: array - items: &424 + items: &428 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -52907,7 +53233,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *187 + reactions: *189 required: - author - body @@ -52927,7 +53253,7 @@ paths: - updated_at - url examples: - default: &775 + default: &779 value: - author: login: octocat @@ -53002,7 +53328,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *78 - - *182 + - *184 requestBody: required: true content: @@ -53036,9 +53362,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: &425 + default: &429 value: author: login: octocat @@ -53111,8 +53437,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *78 - - *182 - - &426 + - *184 + - &430 name: discussion_number description: The number that identifies the discussion. in: path @@ -53124,9 +53450,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *425 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53149,8 +53475,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 requestBody: required: false content: @@ -53173,9 +53499,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: &776 + default: &780 value: author: login: octocat @@ -53246,8 +53572,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 responses: '204': description: Response @@ -53274,8 +53600,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *78 - - *182 - - *426 + - *184 + - *430 - *101 - *17 - *19 @@ -53286,7 +53612,7 @@ paths: application/json: schema: type: array - items: &427 + items: &431 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -53343,7 +53669,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *187 + reactions: *189 required: - author - body @@ -53358,7 +53684,7 @@ paths: - updated_at - url examples: - default: &777 + default: &781 value: - author: login: octocat @@ -53427,8 +53753,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *78 - - *182 - - *426 + - *184 + - *430 requestBody: required: true content: @@ -53450,9 +53776,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: &428 + default: &432 value: author: login: octocat @@ -53519,9 +53845,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *78 - - *182 - - *426 - - &429 + - *184 + - *430 + - &433 name: comment_number description: The number that identifies the comment. in: path @@ -53533,9 +53859,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53558,9 +53884,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 requestBody: required: true content: @@ -53582,9 +53908,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: &778 + default: &782 value: author: login: octocat @@ -53649,9 +53975,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 responses: '204': description: Response @@ -53678,9 +54004,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 - 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. @@ -53706,7 +54032,7 @@ paths: application/json: schema: type: array - items: &430 + items: &434 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -53749,7 +54075,7 @@ paths: - content - created_at examples: - default: &432 + default: &436 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53800,9 +54126,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *78 - - *182 - - *426 - - *429 + - *184 + - *430 + - *433 requestBody: required: true content: @@ -53835,9 +54161,9 @@ paths: team discussion comment content: application/json: - schema: *430 + schema: *434 examples: - default: &431 + default: &435 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -53866,9 +54192,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53892,10 +54218,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *78 - - *182 - - *426 - - *429 - - &433 + - *184 + - *430 + - *433 + - &437 name: reaction_id description: The unique identifier of the reaction. in: path @@ -53928,8 +54254,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 - 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. @@ -53955,9 +54281,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 x-github: @@ -53984,8 +54310,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *78 - - *182 - - *426 + - *184 + - *430 requestBody: required: true content: @@ -54017,16 +54343,16 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54050,9 +54376,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *78 - - *182 - - *426 - - *433 + - *184 + - *430 + - *437 responses: '204': description: Response @@ -54076,15 +54402,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *78 - - *182 + - *184 responses: '200': description: Response content: application/json: - schema: *434 + schema: *438 examples: - default: *435 + default: *439 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54104,7 +54430,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *78 - - *182 + - *184 requestBody: required: true content: @@ -54127,9 +54453,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *440 examples: - default: *437 + default: *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -54149,7 +54475,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *78 - - *182 + - *184 responses: '204': description: Response @@ -54174,7 +54500,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -54184,9 +54510,9 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: - default: *335 + default: *339 headers: Link: *43 x-github: @@ -54209,7 +54535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *78 - - *182 + - *184 - name: role description: Filters members returned by their role in the team. in: query @@ -54232,7 +54558,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -54263,14 +54589,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *78 + - *184 - *182 - - *180 responses: '200': description: Response content: application/json: - schema: &438 + schema: &442 title: Team Membership description: Team Membership type: object @@ -54297,7 +54623,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &779 + response-if-user-is-a-team-maintainer: &783 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -54334,8 +54660,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *78 + - *184 - *182 - - *180 requestBody: required: false content: @@ -54360,9 +54686,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - response-if-users-membership-with-team-is-now-pending: &780 + response-if-users-membership-with-team-is-now-pending: &784 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -54398,8 +54724,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *78 + - *184 - *182 - - *180 responses: '204': description: Response @@ -54425,7 +54751,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -54435,7 +54761,7 @@ paths: application/json: schema: type: array - items: &439 + items: &443 title: Team Project description: A team's access to a project. type: object @@ -54503,7 +54829,7 @@ paths: - updated_at - permissions examples: - default: &781 + default: &785 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -54567,8 +54893,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *78 - - *182 - - &440 + - *184 + - &444 name: project_id description: The unique identifier of the project. in: path @@ -54580,9 +54906,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *443 examples: - default: &782 + default: &786 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -54645,8 +54971,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *78 - - *182 - - *440 + - *184 + - *444 requestBody: required: false content: @@ -54713,8 +55039,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *78 - - *182 - - *440 + - *184 + - *444 responses: '204': description: Response @@ -54742,7 +55068,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -54752,9 +55078,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -54784,15 +55110,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *78 - - *182 - - *441 - - *442 + - *184 + - *445 + - *446 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &783 + schema: &787 title: Team Repository description: A team's access to a repository. type: object @@ -54815,8 +55141,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true forks: type: integer @@ -55362,9 +55688,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *78 - - *182 - - *441 - - *442 + - *184 + - *445 + - *446 requestBody: required: false content: @@ -55410,9 +55736,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *78 - - *182 - - *441 - - *442 + - *184 + - *445 + - *446 responses: '204': description: Response @@ -55439,15 +55765,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *78 - - *182 + - *184 responses: '200': description: Response content: application/json: - schema: *443 + schema: *447 examples: - default: *444 + default: *448 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55470,7 +55796,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *78 - - *182 + - *184 requestBody: required: true content: @@ -55513,7 +55839,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *447 examples: default: value: @@ -55546,7 +55872,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *78 - - *182 + - *184 - *17 - *19 responses: @@ -55556,9 +55882,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - response-if-child-teams-exist: &784 + response-if-child-teams-exist: &788 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -55685,7 +56011,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &445 + - &449 name: card_id description: The unique identifier of the card. in: path @@ -55697,7 +56023,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &450 title: Project Card description: Project cards represent a scope of work. type: object @@ -55764,7 +56090,7 @@ paths: - created_at - updated_at examples: - default: &447 + default: &451 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -55820,7 +56146,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *445 + - *449 requestBody: required: false content: @@ -55847,9 +56173,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *450 examples: - default: *447 + default: *451 '304': *37 '403': *29 '401': *25 @@ -55876,7 +56202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *445 + - *449 responses: '204': description: Response @@ -55920,7 +56246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *445 + - *449 requestBody: required: true content: @@ -56031,7 +56357,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &448 + - &452 name: column_id description: The unique identifier of the column. in: path @@ -56043,7 +56369,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &453 title: Project Column description: Project columns contain cards of work. type: object @@ -56089,7 +56415,7 @@ paths: - created_at - updated_at examples: - default: &450 + default: &454 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -56124,7 +56450,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *448 + - *452 requestBody: required: true content: @@ -56148,9 +56474,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: - default: *450 + default: *454 '304': *37 '403': *29 '401': *25 @@ -56175,7 +56501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *448 + - *452 responses: '204': description: Response @@ -56204,7 +56530,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *448 + - *452 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -56225,7 +56551,7 @@ paths: application/json: schema: type: array - items: *446 + items: *450 examples: default: value: @@ -56284,7 +56610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *448 + - *452 requestBody: required: true content: @@ -56324,9 +56650,9 @@ paths: description: Response content: application/json: - schema: *446 + schema: *450 examples: - default: *447 + default: *451 '304': *37 '403': *29 '401': *25 @@ -56336,8 +56662,8 @@ paths: application/json: schema: oneOf: - - *226 - - *227 + - *230 + - *231 '503': description: Response content: @@ -56382,7 +56708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *448 + - *452 requestBody: required: true content: @@ -56442,15 +56768,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *440 + - *444 responses: '200': description: Response content: application/json: - schema: *369 + schema: *373 examples: - default: &451 + default: &455 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -56507,7 +56833,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *440 + - *444 requestBody: required: false content: @@ -56553,9 +56879,9 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: - default: *451 + default: *455 '404': description: Not Found if the authenticated user does not have access to the project @@ -56576,7 +56902,7 @@ paths: items: type: string '401': *25 - '410': *452 + '410': *456 '422': *7 x-github: githubCloudOnly: false @@ -56599,7 +56925,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *440 + - *444 responses: '204': description: Delete Success @@ -56620,7 +56946,7 @@ paths: items: type: string '401': *25 - '410': *452 + '410': *456 '404': *6 x-github: githubCloudOnly: false @@ -56644,7 +56970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *440 + - *444 - 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 @@ -56671,7 +56997,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '404': *6 @@ -56701,8 +57027,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *440 - - *180 + - *444 + - *182 requestBody: required: false content: @@ -56754,8 +57080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *440 - - *180 + - *444 + - *182 responses: '204': description: Response @@ -56786,8 +57112,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *440 - - *180 + - *444 + - *182 responses: '200': description: Response @@ -56860,7 +57186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *440 + - *444 - *17 - *19 responses: @@ -56870,7 +57196,7 @@ paths: application/json: schema: type: array - items: *449 + items: *453 examples: default: value: @@ -56908,7 +57234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *440 + - *444 requestBody: required: true content: @@ -56931,7 +57257,7 @@ paths: description: Response content: application/json: - schema: *449 + schema: *453 examples: default: value: @@ -56996,7 +57322,7 @@ paths: resources: type: object properties: - core: &453 + core: &457 title: Rate Limit type: object properties: @@ -57013,21 +57339,21 @@ paths: - remaining - reset - used - graphql: *453 - search: *453 - code_search: *453 - source_import: *453 - integration_manifest: *453 - code_scanning_upload: *453 - actions_runner_registration: *453 - scim: *453 - dependency_snapshots: *453 - dependency_sbom: *453 - code_scanning_autofix: *453 + graphql: *457 + search: *457 + code_search: *457 + source_import: *457 + integration_manifest: *457 + code_scanning_upload: *457 + actions_runner_registration: *457 + scim: *457 + dependency_snapshots: *457 + dependency_sbom: *457 + code_scanning_autofix: *457 required: - core - search - rate: *453 + rate: *457 required: - rate - resources @@ -57132,14 +57458,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: default-response: summary: Default response @@ -57644,7 +57970,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *455 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57662,8 +57988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -57920,10 +58246,10 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 - '307': &457 + default: *460 + '307': &461 description: Temporary Redirect content: application/json: @@ -57952,8 +58278,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -57975,7 +58301,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': *457 + '307': *461 '404': *6 '409': *109 x-github: @@ -57999,11 +58325,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - - &472 + - &476 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -58026,7 +58352,7 @@ paths: type: integer artifacts: type: array - items: &458 + items: &462 title: Artifact description: An artifact type: object @@ -58104,7 +58430,7 @@ paths: - expires_at - updated_at examples: - default: &473 + default: &477 value: total_count: 2 artifacts: @@ -58165,9 +58491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *441 - - *442 - - &459 + - *445 + - *446 + - &463 name: artifact_id description: The unique identifier of the artifact. in: path @@ -58179,7 +58505,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *462 examples: default: value: @@ -58217,9 +58543,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *441 - - *442 - - *459 + - *445 + - *446 + - *463 responses: '204': description: Response @@ -58243,9 +58569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *441 - - *442 - - *459 + - *445 + - *446 + - *463 - name: archive_format in: path required: true @@ -58259,7 +58585,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': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58282,14 +58608,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *460 + schema: *464 examples: default: value: @@ -58315,11 +58641,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: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - - &461 + - &465 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 @@ -58353,7 +58679,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &466 title: Repository actions caches description: Repository actions caches type: object @@ -58395,7 +58721,7 @@ paths: - total_count - actions_caches examples: - default: &463 + default: &467 value: total_count: 1 actions_caches: @@ -58427,23 +58753,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: - - *441 - - *442 + - *445 + - *446 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *461 + - *465 responses: '200': description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: *463 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58463,8 +58789,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: - - *441 - - *442 + - *445 + - *446 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -58495,9 +58821,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: - - *441 - - *442 - - &464 + - *445 + - *446 + - &468 name: job_id description: The unique identifier of the job. in: path @@ -58509,7 +58835,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &480 title: Job description: Information of a job execution in a workflow run type: object @@ -58816,9 +59142,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: - - *441 - - *442 - - *464 + - *445 + - *446 + - *468 responses: '302': description: Response @@ -58846,9 +59172,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: - - *441 - - *442 - - *464 + - *445 + - *446 + - *468 requestBody: required: false content: @@ -58869,7 +59195,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -58893,8 +59219,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Status response @@ -58944,8 +59270,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -58979,7 +59305,7 @@ paths: description: Empty response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -59008,8 +59334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -59027,7 +59353,7 @@ paths: type: integer secrets: type: array - items: &478 + items: &482 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -59047,7 +59373,7 @@ paths: - created_at - updated_at examples: - default: &479 + default: &483 value: total_count: 2 secrets: @@ -59080,9 +59406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *441 - - *442 - - *465 + - *445 + - *446 + - *469 - *19 responses: '200': @@ -59099,7 +59425,7 @@ paths: type: integer variables: type: array - items: &482 + items: &486 title: Actions Variable type: object properties: @@ -59129,7 +59455,7 @@ paths: - created_at - updated_at examples: - default: &483 + default: &487 value: total_count: 2 variables: @@ -59162,8 +59488,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59172,11 +59498,11 @@ paths: schema: type: object properties: - enabled: &466 + enabled: &470 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *51 - selected_actions_url: *236 + selected_actions_url: *240 sha_pinning_required: *52 required: - enabled @@ -59207,8 +59533,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -59219,7 +59545,7 @@ paths: schema: type: object properties: - enabled: *466 + enabled: *470 allowed_actions: *51 sha_pinning_required: *52 required: @@ -59252,14 +59578,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &467 + schema: &471 type: object properties: access_level: @@ -59277,7 +59603,7 @@ paths: required: - access_level examples: - default: &468 + default: &472 value: access_level: organization x-github: @@ -59302,15 +59628,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *467 + schema: *471 examples: - default: *468 + default: *472 responses: '204': description: Response @@ -59334,14 +59660,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *238 + schema: *242 examples: default: value: @@ -59365,8 +59691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Empty response for successful settings update @@ -59376,7 +59702,7 @@ paths: required: true content: application/json: - schema: *239 + schema: *243 examples: default: summary: Set retention days @@ -59400,8 +59726,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59409,7 +59735,7 @@ paths: application/json: schema: *53 examples: - default: *240 + default: *244 '404': *6 x-github: enabledForGitHubApps: true @@ -59428,8 +59754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -59463,14 +59789,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *241 + schema: *245 examples: default: *54 '403': *29 @@ -59492,13 +59818,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *242 + schema: *246 examples: default: *54 responses: @@ -59524,8 +59850,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59556,8 +59882,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -59589,14 +59915,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *245 + schema: *249 examples: default: *60 x-github: @@ -59619,8 +59945,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Success response @@ -59631,7 +59957,7 @@ paths: required: true content: application/json: - schema: *246 + schema: *250 examples: default: *60 x-github: @@ -59660,8 +59986,8 @@ paths: in: query schema: type: string - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -59705,8 +60031,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -59714,9 +60040,9 @@ paths: application/json: schema: type: array - items: *250 + items: *254 examples: - default: *251 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59738,8 +60064,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -59782,7 +60108,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *252 + '201': *256 '404': *6 '422': *7 '409': *109 @@ -59813,8 +60139,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: - - *441 - - *442 + - *445 + - *446 responses: '201': description: Response @@ -59822,7 +60148,7 @@ paths: application/json: schema: *70 examples: - default: *253 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59850,8 +60176,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: - - *441 - - *442 + - *445 + - *446 responses: '201': description: Response @@ -59859,7 +60185,7 @@ paths: application/json: schema: *70 examples: - default: *254 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59881,8 +60207,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: '200': @@ -59891,7 +60217,7 @@ paths: application/json: schema: *67 examples: - default: *255 + default: *259 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59912,8 +60238,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: '204': @@ -59940,8 +60266,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: '200': *72 @@ -59966,8 +60292,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: - - *441 - - *442 + - *445 + - *446 - *66 requestBody: required: true @@ -60016,8 +60342,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: - - *441 - - *442 + - *445 + - *446 - *66 requestBody: required: true @@ -60067,11 +60393,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: - - *441 - - *442 + - *445 + - *446 - *66 responses: - '200': *256 + '200': *260 '404': *6 x-github: githubCloudOnly: false @@ -60098,10 +60424,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: - - *441 - - *442 + - *445 + - *446 - *66 - - *257 + - *261 responses: '200': *72 '404': *6 @@ -60129,9 +60455,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: - - *441 - - *442 - - &486 + - *445 + - *446 + - &490 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. @@ -60139,7 +60465,7 @@ paths: required: false schema: type: string - - &487 + - &491 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -60147,7 +60473,7 @@ paths: required: false schema: type: string - - &488 + - &492 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -60156,7 +60482,7 @@ paths: required: false schema: type: string - - &489 + - &493 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 @@ -60183,7 +60509,7 @@ paths: - pending - *17 - *19 - - &490 + - &494 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)." @@ -60192,7 +60518,7 @@ paths: schema: type: string format: date-time - - &469 + - &473 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -60201,13 +60527,13 @@ paths: schema: type: boolean default: false - - &491 + - &495 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &492 + - &496 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -60230,7 +60556,7 @@ paths: type: integer workflow_runs: type: array - items: &470 + items: &474 title: Workflow Run description: An invocation of a workflow type: object @@ -60325,7 +60651,7 @@ paths: that triggered the run. type: array nullable: true - items: &511 + items: &515 title: Pull Request Minimal type: object properties: @@ -60444,7 +60770,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &515 + properties: &519 id: type: string description: SHA for the commit @@ -60495,7 +60821,7 @@ paths: - name - email nullable: true - required: &516 + required: &520 - id - tree_id - message @@ -60503,8 +60829,8 @@ paths: - author - committer nullable: true - repository: *249 - head_repository: *249 + repository: *253 + head_repository: *253 head_repository_id: type: integer example: 5 @@ -60542,7 +60868,7 @@ paths: - workflow_url - pull_requests examples: - default: &493 + default: &497 value: total_count: 1 workflow_runs: @@ -60778,24 +61104,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *441 - - *442 - - &471 + - *445 + - *446 + - &475 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *469 + - *473 responses: '200': description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: &474 + default: &478 value: id: 30433642 name: Build @@ -61036,9 +61362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '204': description: Response @@ -61061,9 +61387,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '200': description: Response @@ -61182,15 +61508,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -61217,12 +61543,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 - *17 - *19 - - *472 + - *476 responses: '200': description: Response @@ -61238,9 +61564,9 @@ paths: type: integer artifacts: type: array - items: *458 + items: *462 examples: - default: *473 + default: *477 headers: Link: *43 x-github: @@ -61264,25 +61590,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *441 - - *442 - - *471 - - &475 + - *445 + - *446 + - *475 + - &479 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *469 + - *473 responses: '200': description: Response content: application/json: - schema: *470 + schema: *474 examples: - default: *474 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61305,10 +61631,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: - - *441 - - *442 - - *471 + - *445 + - *446 - *475 + - *479 - *17 - *19 responses: @@ -61326,9 +61652,9 @@ paths: type: integer jobs: type: array - items: *476 + items: *480 examples: - default: &477 + default: &481 value: total_count: 1 jobs: @@ -61441,10 +61767,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *441 - - *442 - - *471 + - *445 + - *446 - *475 + - *479 responses: '302': description: Response @@ -61472,15 +61798,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '202': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -61507,9 +61833,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: true content: @@ -61576,15 +61902,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '202': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -61611,9 +61937,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 - 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 @@ -61643,9 +61969,9 @@ paths: type: integer jobs: type: array - items: *476 + items: *480 examples: - default: *477 + default: *481 headers: Link: *43 x-github: @@ -61670,9 +61996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '302': description: Response @@ -61699,9 +62025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '204': description: Response @@ -61728,9 +62054,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '200': description: Response @@ -61790,7 +62116,7 @@ paths: items: type: object properties: - type: &599 + type: &603 type: string description: The type of reviewer. enum: @@ -61800,7 +62126,7 @@ paths: reviewer: anyOf: - *4 - - *276 + - *280 required: - environment - wait_timer @@ -61875,9 +62201,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: true content: @@ -61924,7 +62250,7 @@ paths: application/json: schema: type: array - items: &585 + items: &589 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -62012,8 +62338,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -62030,7 +62356,7 @@ paths: - created_at - updated_at examples: - default: &586 + default: &590 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -62086,9 +62412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: false content: @@ -62109,7 +62435,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62132,9 +62458,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: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 requestBody: required: false content: @@ -62155,7 +62481,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62188,9 +62514,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *441 - - *442 - - *471 + - *445 + - *446 + - *475 responses: '200': description: Response @@ -62327,8 +62653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -62346,9 +62672,9 @@ paths: type: integer secrets: type: array - items: *478 + items: *482 examples: - default: *479 + default: *483 headers: Link: *43 x-github: @@ -62373,16 +62699,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *480 + schema: *484 examples: - default: *481 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62404,17 +62730,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '200': description: Response content: application/json: - schema: *478 + schema: *482 examples: - default: &612 + default: &616 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -62440,9 +62766,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 requestBody: required: true content: @@ -62473,7 +62799,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62499,9 +62825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '204': description: Response @@ -62526,9 +62852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *441 - - *442 - - *465 + - *445 + - *446 + - *469 - *19 responses: '200': @@ -62545,9 +62871,9 @@ paths: type: integer variables: type: array - items: *482 + items: *486 examples: - default: *483 + default: *487 headers: Link: *43 x-github: @@ -62570,8 +62896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -62598,7 +62924,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -62623,17 +62949,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *441 - - *442 - - *262 + - *445 + - *446 + - *266 responses: '200': description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: &613 + default: &617 value: name: USERNAME value: octocat @@ -62659,9 +62985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *441 - - *442 - - *262 + - *445 + - *446 + - *266 requestBody: required: true content: @@ -62703,9 +63029,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *441 - - *442 - - *262 + - *445 + - *446 + - *266 responses: '204': description: Response @@ -62730,8 +63056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -62749,7 +63075,7 @@ paths: type: integer workflows: type: array - items: &484 + items: &488 title: Workflow description: A GitHub Actions workflow type: object @@ -62856,9 +63182,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *441 - - *442 - - &485 + - *445 + - *446 + - &489 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -62873,7 +63199,7 @@ paths: description: Response content: application/json: - schema: *484 + schema: *488 examples: default: value: @@ -62906,9 +63232,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '204': description: Response @@ -62933,9 +63259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '204': description: Response @@ -62986,9 +63312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '204': description: Response @@ -63015,19 +63341,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: - - *441 - - *442 - - *485 - - *486 - - *487 - - *488 + - *445 + - *446 - *489 - - *17 - - *19 - *490 - - *469 - *491 - *492 + - *493 + - *17 + - *19 + - *494 + - *473 + - *495 + - *496 responses: '200': description: Response @@ -63043,9 +63369,9 @@ paths: type: integer workflow_runs: type: array - items: *470 + items: *474 examples: - default: *493 + default: *497 headers: Link: *43 x-github: @@ -63078,9 +63404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *441 - - *442 - - *485 + - *445 + - *446 + - *489 responses: '200': description: Response @@ -63141,8 +63467,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *441 - - *442 + - *445 + - *446 - *101 - *17 - *99 @@ -63306,8 +63632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -63319,7 +63645,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '404': *6 @@ -63344,8 +63670,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: - - *441 - - *442 + - *445 + - *446 - name: assignee in: path required: true @@ -63381,8 +63707,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -63494,8 +63820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *99 - *100 @@ -63551,7 +63877,7 @@ paths: initiator: type: string examples: - default: *494 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63571,8 +63897,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -63580,7 +63906,7 @@ paths: application/json: schema: type: array - items: &495 + items: &499 title: Autolink reference description: An autolink reference. type: object @@ -63634,8 +63960,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -63674,9 +64000,9 @@ paths: description: response content: application/json: - schema: *495 + schema: *499 examples: - default: &496 + default: &500 value: id: 1 key_prefix: TICKET- @@ -63707,9 +64033,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: - - *441 - - *442 - - &497 + - *445 + - *446 + - &501 name: autolink_id description: The unique identifier of the autolink. in: path @@ -63721,9 +64047,9 @@ paths: description: Response content: application/json: - schema: *495 + schema: *499 examples: - default: *496 + default: *500 '404': *6 x-github: githubCloudOnly: false @@ -63743,9 +64069,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: - - *441 - - *442 - - *497 + - *445 + - *446 + - *501 responses: '204': description: Response @@ -63769,8 +64095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-dependabot-security-updates-are-enabled-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response if Dependabot is enabled @@ -63818,8 +64144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -63840,8 +64166,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -63861,8 +64187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *441 - - *442 + - *445 + - *446 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -63900,7 +64226,7 @@ paths: - url protected: type: boolean - protection: &499 + protection: &503 title: Branch Protection description: Branch Protection type: object @@ -63942,7 +64268,7 @@ paths: required: - contexts - checks - enforce_admins: &502 + enforce_admins: &506 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -63957,7 +64283,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &504 + required_pull_request_reviews: &508 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -63978,7 +64304,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *276 + items: *280 apps: description: The list of apps with review dismissal access. @@ -64007,7 +64333,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *276 + items: *280 apps: description: The list of apps allowed to bypass pull request requirements. @@ -64033,7 +64359,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &501 + restrictions: &505 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -64096,7 +64422,7 @@ paths: type: string teams: type: array - items: *276 + items: *280 apps: type: array items: @@ -64310,9 +64636,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *441 - - *442 - - &500 + - *445 + - *446 + - &504 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). @@ -64326,14 +64652,14 @@ paths: description: Response content: application/json: - schema: &510 + schema: &514 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &560 + commit: &564 title: Commit description: Commit type: object @@ -64367,7 +64693,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &498 + properties: &502 name: type: string example: '"Chris Wanstrath"' @@ -64382,7 +64708,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *498 + properties: *502 nullable: true message: type: string @@ -64403,7 +64729,7 @@ paths: required: - sha - url - verification: &619 + verification: &623 title: Verification type: object properties: @@ -64437,12 +64763,12 @@ paths: nullable: true oneOf: - *4 - - *260 + - *264 committer: nullable: true oneOf: - *4 - - *260 + - *264 parents: type: array items: @@ -64473,7 +64799,7 @@ paths: type: integer files: type: array - items: &573 + items: &577 title: Diff Entry description: Diff Entry type: object @@ -64557,7 +64883,7 @@ paths: - self protected: type: boolean - protection: *499 + protection: *503 protection_url: type: string format: uri @@ -64664,7 +64990,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *455 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -64686,15 +65012,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *499 + schema: *503 examples: default: value: @@ -64888,9 +65214,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -65145,7 +65471,7 @@ paths: url: type: string format: uri - required_status_checks: &507 + required_status_checks: &511 title: Status Check Policy description: Status Check Policy type: object @@ -65221,7 +65547,7 @@ paths: items: *4 teams: type: array - items: *276 + items: *280 apps: type: array items: *5 @@ -65239,7 +65565,7 @@ paths: items: *4 teams: type: array - items: *276 + items: *280 apps: type: array items: *5 @@ -65297,7 +65623,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *501 + restrictions: *505 required_conversation_resolution: type: object properties: @@ -65409,9 +65735,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65436,17 +65762,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: &503 + default: &507 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -65468,17 +65794,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: *503 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65497,9 +65823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65524,17 +65850,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: &505 + default: &509 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -65630,9 +65956,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -65730,9 +66056,9 @@ paths: description: Response content: application/json: - schema: *504 + schema: *508 examples: - default: *505 + default: *509 '422': *15 x-github: githubCloudOnly: false @@ -65753,9 +66079,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65782,17 +66108,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: &506 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -65815,17 +66141,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *502 + schema: *506 examples: - default: *506 + default: *510 '404': *6 x-github: githubCloudOnly: false @@ -65845,9 +66171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -65872,17 +66198,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *507 + schema: *511 examples: - default: &508 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -65908,9 +66234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -65962,9 +66288,9 @@ paths: description: Response content: application/json: - schema: *507 + schema: *511 examples: - default: *508 + default: *512 '404': *6 '422': *15 x-github: @@ -65986,9 +66312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -66012,9 +66338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66048,9 +66374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66117,9 +66443,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66183,9 +66509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: content: application/json: @@ -66251,15 +66577,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response content: application/json: - schema: *501 + schema: *505 examples: default: value: @@ -66350,9 +66676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '204': description: Response @@ -66375,9 +66701,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: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66387,7 +66713,7 @@ paths: type: array items: *5 examples: - default: &509 + default: &513 value: - id: 1 slug: octoapp @@ -66444,9 +66770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66480,7 +66806,7 @@ paths: type: array items: *5 examples: - default: *509 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -66501,9 +66827,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66537,7 +66863,7 @@ paths: type: array items: *5 examples: - default: *509 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -66558,9 +66884,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66594,7 +66920,7 @@ paths: type: array items: *5 examples: - default: *509 + default: *513 '422': *15 x-github: githubCloudOnly: false @@ -66616,9 +66942,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: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66626,9 +66952,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '404': *6 x-github: githubCloudOnly: false @@ -66648,9 +66974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66686,9 +67012,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -66709,9 +67035,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: false content: @@ -66747,9 +67073,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -66770,9 +67096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: content: application/json: @@ -66807,9 +67133,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -66831,9 +67157,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: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 responses: '200': description: Response @@ -66843,7 +67169,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '404': *6 x-github: githubCloudOnly: false @@ -66867,9 +67193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66902,7 +67228,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '422': *15 x-github: githubCloudOnly: false @@ -66927,9 +67253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -66962,7 +67288,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '422': *15 x-github: githubCloudOnly: false @@ -66987,9 +67313,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -67022,7 +67348,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '422': *15 x-github: githubCloudOnly: false @@ -67049,9 +67375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 requestBody: required: true content: @@ -67073,7 +67399,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *514 examples: default: value: @@ -67187,8 +67513,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *441 - - *442 + - *445 + - *446 - *94 - *95 - *96 @@ -67202,9 +67528,9 @@ paths: application/json: schema: type: array - items: *271 + items: *275 examples: - default: *272 + default: *276 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -67224,8 +67550,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -67239,7 +67565,7 @@ paths: description: Response content: application/json: - schema: *271 + schema: *275 examples: default: value: @@ -67298,8 +67624,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - *94 - *95 - *96 @@ -67313,9 +67639,9 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 '404': *6 '403': *29 '500': *40 @@ -67339,8 +67665,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -67352,7 +67678,7 @@ paths: description: A single bypass request. content: application/json: - schema: *274 + schema: *278 examples: default: value: @@ -67410,8 +67736,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_request_number in: path required: true @@ -67482,8 +67808,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *441 - - *442 + - *445 + - *446 - name: bypass_response_id in: path required: true @@ -67516,8 +67842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -67796,7 +68122,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &516 title: CheckRun description: A check performed on the code of a given code change type: object @@ -67907,16 +68233,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *511 - deployment: &839 + items: *515 + deployment: &843 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -67983,8 +68309,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -68196,9 +68522,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *441 - - *442 - - &513 + - *445 + - *446 + - &517 name: check_run_id description: The unique identifier of the check run. in: path @@ -68210,9 +68536,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *516 examples: - default: &514 + default: &518 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -68312,9 +68638,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *441 - - *442 - - *513 + - *445 + - *446 + - *517 requestBody: required: true content: @@ -68554,9 +68880,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *516 examples: - default: *514 + default: *518 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68576,9 +68902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *441 - - *442 - - *513 + - *445 + - *446 + - *517 - *17 - *19 responses: @@ -68673,15 +68999,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *441 - - *442 - - *513 + - *445 + - *446 + - *517 responses: '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -68719,8 +69045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -68742,7 +69068,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &517 + schema: &521 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -68806,7 +69132,7 @@ paths: nullable: true pull_requests: type: array - items: *511 + items: *515 nullable: true app: title: GitHub app @@ -68817,9 +69143,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - repository: *249 + properties: *186 + required: *187 + repository: *253 created_at: type: string format: date-time @@ -68828,12 +69154,12 @@ paths: type: string format: date-time nullable: true - head_commit: &865 + head_commit: &869 title: Simple Commit description: A commit. type: object - properties: *515 - required: *516 + properties: *519 + required: *520 latest_check_runs_count: type: integer check_runs_url: @@ -68861,7 +69187,7 @@ paths: - check_runs_url - pull_requests examples: - default: &518 + default: &522 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -69152,9 +69478,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *517 + schema: *521 examples: - default: *518 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69173,8 +69499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -69235,7 +69561,7 @@ paths: required: - app_id - setting - repository: *249 + repository: *253 examples: default: value: @@ -69483,9 +69809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *441 - - *442 - - &519 + - *445 + - *446 + - &523 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -69497,9 +69823,9 @@ paths: description: Response content: application/json: - schema: *517 + schema: *521 examples: - default: *518 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69522,17 +69848,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: - - *441 - - *442 - - *519 - - &566 + - *445 + - *446 + - *523 + - &570 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &567 + - &571 name: status description: Returns check runs with the specified `status`. in: query @@ -69571,9 +69897,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *516 examples: - default: &568 + default: &572 value: total_count: 1 check_runs: @@ -69675,15 +70001,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *441 - - *442 - - *519 + - *445 + - *446 + - *523 responses: '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -69710,21 +70036,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: - - *441 - - *442 - - *280 - - *281 + - *445 + - *446 + - *284 + - *285 - *19 - *17 - - &535 + - &539 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: *520 - - &536 + schema: *524 + - &540 name: pr description: The number of the pull request for the results you want to list. in: query @@ -69749,13 +70075,13 @@ paths: be returned. in: query required: false - schema: *282 + schema: *286 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *521 + schema: *525 responses: '200': description: Response @@ -69771,7 +70097,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *522 + instances_url: *526 state: *104 fixed_at: *123 dismissed_by: @@ -69782,11 +70108,11 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *523 - dismissed_comment: *524 - rule: *525 - tool: *526 - most_recent_instance: *527 + dismissed_reason: *527 + dismissed_comment: *528 + rule: *529 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -69912,7 +70238,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &528 + '403': &532 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -69939,9 +70265,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: - - *441 - - *442 - - &529 + - *445 + - *446 + - &533 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -69955,7 +70281,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &534 type: object properties: number: *113 @@ -69963,7 +70289,7 @@ paths: updated_at: *121 url: *118 html_url: *119 - instances_url: *522 + instances_url: *526 state: *104 fixed_at: *123 dismissed_by: @@ -69974,8 +70300,8 @@ paths: required: *21 nullable: true dismissed_at: *122 - dismissed_reason: *523 - dismissed_comment: *524 + dismissed_reason: *527 + dismissed_comment: *528 rule: type: object properties: @@ -70029,8 +70355,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *526 - most_recent_instance: *527 + tool: *530 + most_recent_instance: *531 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -70129,7 +70455,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70149,9 +70475,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 requestBody: required: true content: @@ -70166,8 +70492,8 @@ paths: enum: - open - dismissed - dismissed_reason: *523 - dismissed_comment: *524 + dismissed_reason: *527 + dismissed_comment: *528 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -70186,7 +70512,7 @@ paths: description: Response content: application/json: - schema: *530 + schema: *534 examples: default: value: @@ -70262,7 +70588,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &534 + '403': &538 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -70289,15 +70615,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert parameters: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 responses: '200': description: Response content: application/json: - schema: &531 + schema: &535 type: object properties: status: @@ -70323,13 +70649,13 @@ paths: - description - started_at examples: - default: &532 + default: &536 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &533 + '400': &537 description: Bad Request content: application/json: @@ -70340,7 +70666,7 @@ paths: message: The alert_number is not valid documentation_url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-status-of-an-autofix-for-a-code-scanning-alert status: '400' - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70365,29 +70691,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-an-autofix-for-a-code-scanning-alert parameters: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 responses: '200': description: OK content: application/json: - schema: *531 + schema: *535 examples: - default: *532 + default: *536 '202': description: Accepted content: application/json: - schema: *531 + schema: *535 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *533 + '400': *537 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -70419,9 +70745,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#commit-an-autofix-for-a-code-scanning-alert parameters: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 requestBody: required: false content: @@ -70466,8 +70792,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *533 - '403': *534 + '400': *537 + '403': *538 '404': *6 '422': description: Unprocessable Entity @@ -70491,13 +70817,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 - *19 - *17 - - *535 - - *536 + - *539 + - *540 responses: '200': description: Response @@ -70505,7 +70831,7 @@ paths: application/json: schema: type: array - items: *527 + items: *531 examples: default: value: @@ -70544,7 +70870,7 @@ paths: end_column: 50 classifications: - source - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70578,25 +70904,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: - - *441 - - *442 - - *280 - - *281 + - *445 + - *446 + - *284 + - *285 - *19 - *17 - - *536 + - *540 - 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: *520 + schema: *524 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &539 + schema: &543 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -70617,23 +70943,23 @@ paths: application/json: schema: type: array - items: &540 + items: &544 type: object properties: - ref: *520 - commit_sha: &548 + ref: *524 + commit_sha: &552 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: *537 + analysis_key: *541 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *538 + category: *542 error: type: string example: error reading field xyz @@ -70657,8 +70983,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *539 - tool: *526 + sarif_id: *543 + tool: *530 deletable: type: boolean warning: @@ -70719,7 +71045,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -70755,8 +71081,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: - - *441 - - *442 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70769,7 +71095,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: response: summary: application/json response @@ -70823,7 +71149,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *528 + '403': *532 '404': *6 '422': description: Response if analysis could not be processed @@ -70910,8 +71236,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: - - *441 - - *442 + - *445 + - *446 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -70964,7 +71290,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *534 + '403': *538 '404': *6 '503': *167 x-github: @@ -70986,8 +71312,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -70995,7 +71321,7 @@ paths: application/json: schema: type: array - items: &541 + items: &545 title: CodeQL Database description: A CodeQL database. type: object @@ -71106,7 +71432,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': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -71135,8 +71461,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: - - *441 - - *442 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -71148,7 +71474,7 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: default: value: @@ -71180,9 +71506,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': &575 + '302': &579 description: Found - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -71204,8 +71530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *441 - - *442 + - *445 + - *446 - name: language in: path description: The language of the CodeQL database. @@ -71215,7 +71541,7 @@ paths: responses: '204': description: Response - '403': *534 + '403': *538 '404': *6 '503': *167 x-github: @@ -71243,8 +71569,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -71253,7 +71579,7 @@ paths: type: object additionalProperties: false properties: - language: &542 + language: &546 type: string description: The language targeted by the CodeQL query enum: @@ -71332,7 +71658,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &546 + schema: &550 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -71342,7 +71668,7 @@ paths: description: The ID of the variant analysis. controller_repo: *110 actor: *4 - query_language: *542 + query_language: *546 query_pack_url: type: string description: The download url for the query pack. @@ -71389,7 +71715,7 @@ paths: items: type: object properties: - repository: &543 + repository: &547 title: Repository Identifier description: Repository Identifier type: object @@ -71425,7 +71751,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &547 + analysis_status: &551 type: string description: The new status of the CodeQL variant analysis repository task. @@ -71457,7 +71783,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &544 + access_mismatch_repos: &548 type: object properties: repository_count: @@ -71471,7 +71797,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: *543 + items: *547 required: - repository_count - repositories @@ -71493,8 +71819,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *544 - over_limit_repos: *544 + no_codeql_db_repos: *548 + over_limit_repos: *548 required: - access_mismatch_repos - not_found_repos @@ -71510,7 +71836,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &545 + value: &549 summary: Default response value: id: 1 @@ -71662,10 +71988,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *545 + value: *549 repository_lists: summary: Response for a successful variant analysis submission - value: *545 + value: *549 '404': *6 '422': description: Unable to process variant analysis submission @@ -71693,8 +72019,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: - - *441 - - *442 + - *445 + - *446 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -71706,9 +72032,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *550 examples: - default: *545 + default: *549 '404': *6 '503': *167 x-github: @@ -71731,7 +72057,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: - - *441 + - *445 - name: repo in: path description: The name of the controller repository. @@ -71766,7 +72092,7 @@ paths: type: object properties: repository: *110 - analysis_status: *547 + analysis_status: *551 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -71891,8 +72217,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -71977,7 +72303,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *528 + '403': *532 '404': *6 '503': *167 x-github: @@ -71998,8 +72324,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -72066,7 +72392,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -72091,7 +72417,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *534 + '403': *538 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -72162,8 +72488,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -72171,7 +72497,7 @@ paths: schema: type: object properties: - commit_sha: *548 + commit_sha: *552 ref: type: string description: |- @@ -72229,7 +72555,7 @@ paths: schema: type: object properties: - id: *539 + id: *543 url: type: string description: The REST API URL for checking the status of the upload. @@ -72243,7 +72569,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': *534 + '403': *538 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -72266,8 +72592,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: - - *441 - - *442 + - *445 + - *446 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -72313,7 +72639,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': *528 + '403': *532 '404': description: Not Found if the sarif id does not match any upload '503': *167 @@ -72338,8 +72664,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -72420,8 +72746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *441 - - *442 + - *445 + - *446 - 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 @@ -72541,8 +72867,8 @@ paths: parameters: - *17 - *19 - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -72558,7 +72884,7 @@ paths: type: integer codespaces: type: array - items: *342 + items: *346 examples: default: value: @@ -72856,8 +73182,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -72920,17 +73246,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '400': *14 '401': *25 '403': *29 @@ -72959,8 +73285,8 @@ paths: parameters: - *17 - *19 - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -73024,8 +73350,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: - - *441 - - *442 + - *445 + - *446 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -73060,14 +73386,14 @@ paths: type: integer machines: type: array - items: &791 + items: &795 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *550 - required: *551 + properties: *554 + required: *555 examples: - default: &792 + default: &796 value: total_count: 2 machines: @@ -73107,8 +73433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *441 - - *442 + - *445 + - *446 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -73192,8 +73518,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: - - *441 - - *442 + - *445 + - *446 - 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 @@ -73259,8 +73585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -73278,7 +73604,7 @@ paths: type: integer secrets: type: array - items: &555 + items: &559 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -73298,7 +73624,7 @@ paths: - created_at - updated_at examples: - default: *552 + default: *556 headers: Link: *43 x-github: @@ -73321,16 +73647,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *553 + schema: *557 examples: - default: *554 + default: *558 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -73350,17 +73676,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '200': description: Response content: application/json: - schema: *555 + schema: *559 examples: - default: *556 + default: *560 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73380,9 +73706,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: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 requestBody: required: true content: @@ -73410,7 +73736,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -73434,9 +73760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '204': description: Response @@ -73464,8 +73790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *441 - - *442 + - *445 + - *446 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -73507,7 +73833,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &557 + properties: &561 login: type: string example: octocat @@ -73600,7 +73926,7 @@ paths: user_view_type: type: string example: public - required: &558 + required: &562 - avatar_url - events_url - followers_url @@ -73674,9 +74000,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: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 responses: '204': description: Response if user is a collaborator @@ -73722,9 +74048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 requestBody: required: false content: @@ -73750,7 +74076,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &632 + schema: &636 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -73761,7 +74087,7 @@ paths: example: 42 type: integer format: int64 - repository: *249 + repository: *253 invitee: title: Simple User description: A GitHub user. @@ -73939,7 +74265,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *226 + schema: *230 '403': *29 x-github: triggersNotification: true @@ -73979,9 +74305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 responses: '204': description: No Content when collaborator was removed from the repository. @@ -74012,9 +74338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *441 - - *442 - - *180 + - *445 + - *446 + - *182 responses: '200': description: if user has admin permissions @@ -74034,8 +74360,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *557 - required: *558 + properties: *561 + required: *562 nullable: true required: - permission @@ -74090,8 +74416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -74101,7 +74427,7 @@ paths: application/json: schema: type: array - items: &559 + items: &563 title: Commit Comment description: Commit Comment type: object @@ -74142,8 +74468,8 @@ paths: updated_at: type: string format: date-time - author_association: *186 - reactions: *187 + author_association: *188 + reactions: *189 required: - url - html_url @@ -74159,7 +74485,7 @@ paths: - created_at - updated_at examples: - default: &562 + default: &566 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74218,17 +74544,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '200': description: Response content: application/json: - schema: *559 + schema: *563 examples: - default: &563 + default: &567 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74285,9 +74611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -74309,7 +74635,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *563 examples: default: value: @@ -74360,9 +74686,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '204': description: Response @@ -74383,9 +74709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -74411,9 +74737,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -74434,9 +74760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -74468,16 +74794,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -74499,10 +74825,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *441 - - *442 - - *198 - - *433 + - *445 + - *446 + - *200 + - *437 responses: '204': description: Response @@ -74551,8 +74877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *441 - - *442 + - *445 + - *446 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -74608,9 +74934,9 @@ paths: application/json: schema: type: array - items: *560 + items: *564 examples: - default: &682 + default: &686 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -74704,9 +75030,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *441 - - *442 - - &561 + - *445 + - *446 + - &565 name: commit_sha description: The SHA of the commit. in: path @@ -74778,9 +75104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 - *17 - *19 responses: @@ -74790,9 +75116,9 @@ paths: application/json: schema: type: array - items: *559 + items: *563 examples: - default: *562 + default: *566 headers: Link: *43 x-github: @@ -74820,9 +75146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 requestBody: required: true content: @@ -74857,9 +75183,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *563 examples: - default: *563 + default: *567 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -74887,9 +75213,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: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 - *17 - *19 responses: @@ -74899,9 +75225,9 @@ paths: application/json: schema: type: array - items: *564 + items: *568 examples: - default: &674 + default: &678 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -75438,11 +75764,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *441 - - *442 + - *445 + - *446 - *19 - *17 - - &565 + - &569 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)" @@ -75457,9 +75783,9 @@ paths: description: Response content: application/json: - schema: *560 + schema: *564 examples: - default: &661 + default: &665 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -75572,11 +75898,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: - - *441 - - *442 - - *565 - - *566 - - *567 + - *445 + - *446 + - *569 + - *570 + - *571 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -75610,9 +75936,9 @@ paths: type: integer check_runs: type: array - items: *512 + items: *516 examples: - default: *568 + default: *572 headers: Link: *43 x-github: @@ -75637,9 +75963,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: - - *441 - - *442 - - *565 + - *445 + - *446 + - *569 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -75647,7 +75973,7 @@ paths: schema: type: integer example: 1 - - *566 + - *570 - *17 - *19 responses: @@ -75665,7 +75991,7 @@ paths: type: integer check_suites: type: array - items: *517 + items: *521 examples: default: value: @@ -75865,9 +76191,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: - - *441 - - *442 - - *565 + - *445 + - *446 + - *569 - *17 - *19 responses: @@ -75934,7 +76260,7 @@ paths: type: string total_count: type: integer - repository: *249 + repository: *253 commit_url: type: string format: uri @@ -76065,9 +76391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *441 - - *442 - - *565 + - *445 + - *446 + - *569 - *17 - *19 responses: @@ -76077,7 +76403,7 @@ paths: application/json: schema: type: array - items: &736 + items: &740 title: Status description: The status of a commit. type: object @@ -76158,7 +76484,7 @@ paths: site_admin: false headers: Link: *43 - '301': *455 + '301': *459 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76186,8 +76512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -76216,20 +76542,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *569 - required: *570 + properties: *573 + required: *574 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &571 + properties: &575 url: type: string format: uri html_url: type: string format: uri - required: &572 + required: &576 - url - html_url nullable: true @@ -76237,32 +76563,32 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true contributing: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true readme: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true issue_template: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true pull_request_template: title: Community Health File type: object - properties: *571 - required: *572 + properties: *575 + required: *576 nullable: true required: - code_of_conduct @@ -76389,8 +76715,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *441 - - *442 + - *445 + - *446 - *19 - *17 - name: basehead @@ -76433,8 +76759,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *560 - merge_base_commit: *560 + base_commit: *564 + merge_base_commit: *564 status: type: string enum: @@ -76454,10 +76780,10 @@ paths: example: 6 commits: type: array - items: *560 + items: *564 files: type: array - items: *573 + items: *577 required: - url - html_url @@ -76743,8 +77069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *441 - - *442 + - *445 + - *446 - name: path description: path parameter in: path @@ -76887,7 +77213,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &574 + response-if-content-is-a-file: &578 summary: Response if content is a file value: type: file @@ -77019,7 +77345,7 @@ paths: - size - type - url - - &687 + - &691 title: Content File description: Content File type: object @@ -77220,7 +77546,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *574 + response-if-content-is-a-file: *578 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -77289,7 +77615,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *575 + '302': *579 '304': *37 x-github: githubCloudOnly: false @@ -77312,8 +77638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *441 - - *442 + - *445 + - *446 - name: path description: path parameter in: path @@ -77406,7 +77732,7 @@ paths: description: Response content: application/json: - schema: &576 + schema: &580 title: File Commit description: File Commit type: object @@ -77558,7 +77884,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: example-for-creating-a-file: value: @@ -77612,7 +77938,7 @@ paths: schema: oneOf: - *3 - - &614 + - &618 description: Repository rule violation was detected type: object properties: @@ -77633,7 +77959,7 @@ paths: items: type: object properties: - placeholder_id: &728 + placeholder_id: &732 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -77665,8 +77991,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *441 - - *442 + - *445 + - *446 - name: path description: path parameter in: path @@ -77727,7 +78053,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *580 examples: default: value: @@ -77782,8 +78108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *441 - - *442 + - *445 + - *446 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -77906,22 +78232,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *441 - - *442 - - *297 - - *298 - - *299 - - *300 + - *445 + - *446 + - *301 + - *302 + - *303 + - *304 - 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 - - *301 - - *302 - - *303 - - *304 + - *305 + - *306 + - *307 + - *308 - *101 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -77941,8 +78267,8 @@ paths: default: 30 - *99 - *100 - - *305 - - *306 + - *309 + - *310 responses: '200': description: Response @@ -77950,7 +78276,7 @@ paths: application/json: schema: type: array - items: &579 + items: &583 type: object description: A Dependabot alert. properties: @@ -77996,7 +78322,7 @@ paths: - unknown - direct - transitive - security_advisory: *577 + security_advisory: *581 security_vulnerability: *117 url: *118 html_url: *119 @@ -78027,7 +78353,7 @@ paths: nullable: true maxLength: 280 fixed_at: *123 - auto_dismissed_at: *578 + auto_dismissed_at: *582 required: - number - state @@ -78257,9 +78583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *441 - - *442 - - &580 + - *445 + - *446 + - &584 name: alert_number in: path description: |- @@ -78274,7 +78600,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: default: value: @@ -78387,9 +78713,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *441 - - *442 - - *580 + - *445 + - *446 + - *584 requestBody: required: true content: @@ -78434,7 +78760,7 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: default: value: @@ -78563,8 +78889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -78582,7 +78908,7 @@ paths: type: integer secrets: type: array - items: &583 + items: &587 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -78635,16 +78961,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *581 + schema: *585 examples: - default: *582 + default: *586 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78664,15 +78990,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '200': description: Response content: application/json: - schema: *583 + schema: *587 examples: default: value: @@ -78698,9 +79024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 requestBody: required: true content: @@ -78728,7 +79054,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -78752,9 +79078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *441 - - *442 - - *259 + - *445 + - *446 + - *263 responses: '204': description: Response @@ -78776,8 +79102,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: - - *441 - - *442 + - *445 + - *446 - 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 @@ -78937,8 +79263,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -79177,8 +79503,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -79253,7 +79579,7 @@ paths: - version - url additionalProperties: false - metadata: &584 + metadata: &588 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79286,7 +79612,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *584 + metadata: *588 resolved: type: object description: A collection of resolved package dependencies. @@ -79299,7 +79625,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *584 + metadata: *588 relationship: type: string description: A notation of whether a dependency is requested @@ -79428,8 +79754,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *441 - - *442 + - *445 + - *446 - name: sha description: The SHA recorded at creation time. in: query @@ -79469,9 +79795,9 @@ paths: application/json: schema: type: array - items: *585 + items: *589 examples: - default: *586 + default: *590 headers: Link: *43 x-github: @@ -79537,8 +79863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -79619,7 +79945,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *589 examples: simple-example: summary: Simple example @@ -79692,9 +80018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *441 - - *442 - - &587 + - *445 + - *446 + - &591 name: deployment_id description: deployment_id parameter in: path @@ -79706,7 +80032,7 @@ paths: description: Response content: application/json: - schema: *585 + schema: *589 examples: default: value: @@ -79771,9 +80097,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 responses: '204': description: Response @@ -79795,9 +80121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 - *17 - *19 responses: @@ -79807,7 +80133,7 @@ paths: application/json: schema: type: array - items: &588 + items: &592 title: Deployment Status description: The status of a deployment. type: object @@ -79898,8 +80224,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -79968,9 +80294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 requestBody: required: true content: @@ -80045,9 +80371,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *592 examples: - default: &589 + default: &593 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -80103,9 +80429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *441 - - *442 - - *587 + - *445 + - *446 + - *591 - name: status_id in: path required: true @@ -80116,9 +80442,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *592 examples: - default: *589 + default: *593 '404': *6 x-github: githubCloudOnly: false @@ -80145,12 +80471,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 - - *590 - - *591 - - *592 - - *593 + - *445 + - *446 + - *594 + - *595 + - *596 + - *597 - *17 - *19 responses: @@ -80160,9 +80486,9 @@ paths: application/json: schema: type: array - items: *594 + items: *598 examples: - default: *595 + default: *599 '404': *6 '403': *29 '500': *40 @@ -80186,8 +80512,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80199,7 +80525,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *594 + schema: *598 examples: default: value: @@ -80255,8 +80581,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80315,12 +80641,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - *94 - *95 - *96 - - *596 + - *600 - *17 - *19 responses: @@ -80330,9 +80656,9 @@ paths: application/json: schema: type: array - items: *597 + items: *601 examples: - default: *598 + default: *602 '404': *6 '403': *29 '500': *40 @@ -80357,8 +80683,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80370,7 +80696,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *597 + schema: *601 examples: default: value: @@ -80428,8 +80754,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: alert_number in: path required: true @@ -80498,8 +80824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -80556,8 +80882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -80574,7 +80900,7 @@ paths: type: integer environments: type: array - items: &600 + items: &604 title: Environment description: Details of a deployment environment type: object @@ -80626,7 +80952,7 @@ paths: type: type: string example: wait_timer - wait_timer: &602 + wait_timer: &606 type: integer example: 30 description: The amount of time to delay a job after @@ -80663,11 +80989,11 @@ paths: items: type: object properties: - type: *599 + type: *603 reviewer: anyOf: - *4 - - *276 + - *280 required: - id - node_id @@ -80687,7 +81013,7 @@ paths: - id - node_id - type - deployment_branch_policy: &603 + deployment_branch_policy: &607 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -80803,9 +81129,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *441 - - *442 - - &601 + - *445 + - *446 + - &605 name: environment_name in: path required: true @@ -80818,9 +81144,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: &604 + default: &608 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -80904,9 +81230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 requestBody: required: false content: @@ -80915,7 +81241,7 @@ paths: type: object nullable: true properties: - wait_timer: *602 + wait_timer: *606 prevent_self_review: type: boolean example: false @@ -80932,13 +81258,13 @@ paths: items: type: object properties: - type: *599 + type: *603 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *603 + deployment_branch_policy: *607 additionalProperties: false examples: default: @@ -80958,9 +81284,9 @@ paths: description: Response content: application/json: - schema: *600 + schema: *604 examples: - default: *604 + default: *608 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -80984,9 +81310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 responses: '204': description: Default response @@ -81011,9 +81337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 - *17 - *19 responses: @@ -81031,7 +81357,7 @@ paths: example: 2 branch_policies: type: array - items: &605 + items: &609 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -81088,9 +81414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 requestBody: required: true content: @@ -81136,9 +81462,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - example-wildcard: &606 + example-wildcard: &610 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -81180,10 +81506,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 - - &607 + - *445 + - *446 + - *605 + - &611 name: branch_policy_id in: path required: true @@ -81195,9 +81521,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81216,10 +81542,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 - - *607 + - *445 + - *446 + - *605 + - *611 requestBody: required: true content: @@ -81247,9 +81573,9 @@ paths: description: Response content: application/json: - schema: *605 + schema: *609 examples: - default: *606 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81268,10 +81594,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *441 - - *442 - - *601 - - *607 + - *445 + - *446 + - *605 + - *611 responses: '204': description: Response @@ -81296,9 +81622,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: - - *601 - - *442 - - *441 + - *605 + - *446 + - *445 responses: '200': description: List of deployment protection rules @@ -81314,7 +81640,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &608 + items: &612 title: Deployment protection rule description: Deployment protection rule type: object @@ -81333,7 +81659,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &609 + app: &613 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -81432,9 +81758,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: - - *601 - - *442 - - *441 + - *605 + - *446 + - *445 requestBody: content: application/json: @@ -81455,9 +81781,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *608 + schema: *612 examples: - default: &610 + default: &614 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -81492,9 +81818,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: - - *601 - - *442 - - *441 + - *605 + - *446 + - *445 - *19 - *17 responses: @@ -81513,7 +81839,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *609 + items: *613 examples: default: value: @@ -81548,10 +81874,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: - - *441 - - *442 - - *601 - - &611 + - *445 + - *446 + - *605 + - &615 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -81563,9 +81889,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *612 examples: - default: *610 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81586,10 +81912,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: - - *601 - - *442 - - *441 - - *611 + - *605 + - *446 + - *445 + - *615 responses: '204': description: Response @@ -81615,9 +81941,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 - *17 - *19 responses: @@ -81635,9 +81961,9 @@ paths: type: integer secrets: type: array - items: *478 + items: *482 examples: - default: *479 + default: *483 headers: Link: *43 x-github: @@ -81662,17 +81988,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 responses: '200': description: Response content: application/json: - schema: *480 + schema: *484 examples: - default: *481 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81694,18 +82020,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *441 - - *442 - - *601 - - *259 + - *445 + - *446 + - *605 + - *263 responses: '200': description: Response content: application/json: - schema: *478 + schema: *482 examples: - default: *612 + default: *616 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81727,10 +82053,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *441 - - *442 - - *601 - - *259 + - *445 + - *446 + - *605 + - *263 requestBody: required: true content: @@ -81761,7 +82087,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -81787,10 +82113,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *441 - - *442 - - *601 - - *259 + - *445 + - *446 + - *605 + - *263 responses: '204': description: Default response @@ -81815,10 +82141,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *441 - - *442 - - *601 - - *465 + - *445 + - *446 + - *605 + - *469 - *19 responses: '200': @@ -81835,9 +82161,9 @@ paths: type: integer variables: type: array - items: *482 + items: *486 examples: - default: *483 + default: *487 headers: Link: *43 x-github: @@ -81860,9 +82186,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *441 - - *442 - - *601 + - *445 + - *446 + - *605 requestBody: required: true content: @@ -81889,7 +82215,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -81914,18 +82240,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *441 - - *442 - - *601 - - *262 + - *445 + - *446 + - *605 + - *266 responses: '200': description: Response content: application/json: - schema: *482 + schema: *486 examples: - default: *613 + default: *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81946,10 +82272,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *441 - - *442 - - *262 - - *601 + - *445 + - *446 + - *266 + - *605 requestBody: required: true content: @@ -81991,10 +82317,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *441 - - *442 - - *262 - - *601 + - *445 + - *446 + - *266 + - *605 responses: '204': description: Response @@ -82016,8 +82342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -82027,7 +82353,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: 200-response: value: @@ -82094,8 +82420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *441 - - *442 + - *445 + - *446 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -82117,7 +82443,7 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: default: value: @@ -82254,8 +82580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -82287,9 +82613,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 '400': *14 '422': *15 '403': *29 @@ -82310,8 +82636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -82370,8 +82696,8 @@ paths: application/json: schema: oneOf: - - *226 - - *614 + - *230 + - *618 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82396,8 +82722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *441 - - *442 + - *445 + - *446 - name: file_sha in: path required: true @@ -82496,8 +82822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -82606,7 +82932,7 @@ paths: description: Response content: application/json: - schema: &615 + schema: &619 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -82820,15 +83146,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *441 - - *442 - - *561 + - *445 + - *446 + - *565 responses: '200': description: Response content: application/json: - schema: *615 + schema: *619 examples: default: value: @@ -82884,9 +83210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *441 - - *442 - - &616 + - *445 + - *446 + - &620 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. @@ -82903,7 +83229,7 @@ paths: application/json: schema: type: array - items: &617 + items: &621 title: Git Reference description: Git references within a repository type: object @@ -82978,17 +83304,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *441 - - *442 - - *616 + - *445 + - *446 + - *620 responses: '200': description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: &618 + default: &622 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -83017,8 +83343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -83047,9 +83373,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: *618 + default: *622 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -83075,9 +83401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *441 - - *442 - - *616 + - *445 + - *446 + - *620 requestBody: required: true content: @@ -83106,9 +83432,9 @@ paths: description: Response content: application/json: - schema: *617 + schema: *621 examples: - default: *618 + default: *622 '422': *15 '409': *109 x-github: @@ -83126,9 +83452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *441 - - *442 - - *616 + - *445 + - *446 + - *620 responses: '204': description: Response @@ -83183,8 +83509,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -83251,7 +83577,7 @@ paths: description: Response content: application/json: - schema: &620 + schema: &624 title: Git Tag description: Metadata for a Git tag type: object @@ -83302,7 +83628,7 @@ paths: - sha - type - url - verification: *619 + verification: *623 required: - sha - url @@ -83312,7 +83638,7 @@ paths: - tag - message examples: - default: &621 + default: &625 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -83385,8 +83711,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *441 - - *442 + - *445 + - *446 - name: tag_sha in: path required: true @@ -83397,9 +83723,9 @@ paths: description: Response content: application/json: - schema: *620 + schema: *624 examples: - default: *621 + default: *625 '404': *6 '409': *109 x-github: @@ -83423,8 +83749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -83497,7 +83823,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &626 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -83593,8 +83919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *441 - - *442 + - *445 + - *446 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -83617,7 +83943,7 @@ paths: description: Response content: application/json: - schema: *622 + schema: *626 examples: default-response: summary: Default response @@ -83676,8 +84002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -83687,7 +84013,7 @@ paths: application/json: schema: type: array - items: &623 + items: &627 title: Webhook description: Webhooks for repositories. type: object @@ -83741,7 +84067,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &873 + last_response: &877 title: Hook Response type: object properties: @@ -83815,8 +84141,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -83868,9 +84194,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *627 examples: - default: &624 + default: &628 value: type: Repository id: 12345678 @@ -83918,17 +84244,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '200': description: Response content: application/json: - schema: *623 + schema: *627 examples: - default: *624 + default: *628 '404': *6 x-github: githubCloudOnly: false @@ -83948,9 +84274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 requestBody: required: true content: @@ -83995,9 +84321,9 @@ paths: description: Response content: application/json: - schema: *623 + schema: *627 examples: - default: *624 + default: *628 '422': *15 '404': *6 x-github: @@ -84018,9 +84344,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '204': description: Response @@ -84044,9 +84370,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: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '200': description: Response @@ -84073,9 +84399,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: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 requestBody: required: false content: @@ -84119,11 +84445,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 - *17 - - *315 + - *319 responses: '200': description: Response @@ -84131,9 +84457,9 @@ paths: application/json: schema: type: array - items: *316 + items: *320 examples: - default: *317 + default: *321 '400': *14 '422': *15 x-github: @@ -84152,18 +84478,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: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 - *16 responses: '200': description: Response content: application/json: - schema: *318 + schema: *322 examples: - default: *319 + default: *323 '400': *14 '422': *15 x-github: @@ -84182,9 +84508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 - *16 responses: '202': *39 @@ -84207,9 +84533,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '204': description: Response @@ -84234,9 +84560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *441 - - *442 - - *314 + - *445 + - *446 + - *318 responses: '204': description: Response @@ -84294,14 +84620,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &625 + schema: &629 title: Import description: A repository import from an external source. type: object @@ -84400,7 +84726,7 @@ paths: - html_url - authors_url examples: - default: &628 + default: &632 value: vcs: subversion use_lfs: true @@ -84416,7 +84742,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &626 + '503': &630 description: Unavailable due to service under maintenance. content: application/json: @@ -84445,8 +84771,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -84494,7 +84820,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: default: value: @@ -84519,7 +84845,7 @@ paths: type: string '422': *15 '404': *6 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84547,8 +84873,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -84597,7 +84923,7 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: example-1: summary: Example 1 @@ -84645,7 +84971,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': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84668,12 +84994,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84699,9 +85025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *441 - - *442 - - &814 + - *445 + - *446 + - &818 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -84715,7 +85041,7 @@ paths: application/json: schema: type: array - items: &627 + items: &631 title: Porter Author description: Porter Author type: object @@ -84769,7 +85095,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84794,8 +85120,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *441 - - *442 + - *445 + - *446 - name: author_id in: path required: true @@ -84825,7 +85151,7 @@ paths: description: Response content: application/json: - schema: *627 + schema: *631 examples: default: value: @@ -84838,7 +85164,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84862,8 +85188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -84904,7 +85230,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84932,8 +85258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -84960,11 +85286,11 @@ paths: description: Response content: application/json: - schema: *625 + schema: *629 examples: - default: *628 + default: *632 '422': *15 - '503': *626 + '503': *630 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84987,8 +85313,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -84996,8 +85322,8 @@ paths: application/json: schema: *22 examples: - default: *629 - '301': *455 + default: *633 + '301': *459 '404': *6 x-github: githubCloudOnly: false @@ -85017,8 +85343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -85026,12 +85352,12 @@ paths: application/json: schema: anyOf: - - *332 + - *336 - type: object properties: {} additionalProperties: false examples: - default: &631 + default: &635 value: limit: collaborators_only origin: repository @@ -85056,13 +85382,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: application/json: - schema: *630 + schema: *634 examples: default: summary: Example request body @@ -85074,9 +85400,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *336 examples: - default: *631 + default: *635 '409': description: Response x-github: @@ -85098,8 +85424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -85122,8 +85448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -85133,9 +85459,9 @@ paths: application/json: schema: type: array - items: *632 + items: *636 examples: - default: &807 + default: &811 value: - id: 1 repository: @@ -85266,9 +85592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *441 - - *442 - - *336 + - *445 + - *446 + - *340 requestBody: required: false content: @@ -85297,7 +85623,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *636 examples: default: value: @@ -85428,9 +85754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *441 - - *442 - - *336 + - *445 + - *446 + - *340 responses: '204': description: Response @@ -85461,8 +85787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *441 - - *442 + - *445 + - *446 - 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 @@ -85510,7 +85836,7 @@ paths: required: false schema: type: string - - *340 + - *344 - name: sort description: What to sort results by. in: query @@ -85523,7 +85849,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - *17 - *19 responses: @@ -85533,9 +85859,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: &641 + default: &645 value: - id: 1 node_id: MDU6SXNzdWUx @@ -85683,7 +86009,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *455 + '301': *459 '422': *15 '404': *6 x-github: @@ -85712,8 +86038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -85795,9 +86121,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: &638 + default: &642 value: id: 1 node_id: MDU6SXNzdWUx @@ -85953,7 +86279,7 @@ paths: '422': *15 '503': *167 '404': *6 - '410': *452 + '410': *456 x-github: triggersNotification: true githubCloudOnly: false @@ -85981,9 +86307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *441 - - *442 - - *209 + - *445 + - *446 + - *211 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -85993,7 +86319,7 @@ paths: enum: - asc - desc - - *189 + - *191 - *17 - *19 responses: @@ -86003,9 +86329,9 @@ paths: application/json: schema: type: array - items: *633 + items: *637 examples: - default: &640 + default: &644 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86063,17 +86389,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '200': description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: &634 + default: &638 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -86127,9 +86453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -86151,9 +86477,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: *634 + default: *638 '422': *15 x-github: githubCloudOnly: false @@ -86171,9 +86497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '204': description: Response @@ -86193,9 +86519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -86221,9 +86547,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -86244,9 +86570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -86278,16 +86604,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -86309,10 +86635,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *441 - - *442 - - *198 - - *433 + - *445 + - *446 + - *200 + - *437 responses: '204': description: Response @@ -86332,8 +86658,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -86343,7 +86669,7 @@ paths: application/json: schema: type: array - items: &637 + items: &641 title: Issue Event description: Issue Event type: object @@ -86386,8 +86712,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *635 - required: *636 + properties: *639 + required: *640 nullable: true label: title: Issue Event Label @@ -86431,7 +86757,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *276 + requested_team: *280 dismissed_review: title: Issue Event Dismissed Review type: object @@ -86496,7 +86822,7 @@ paths: required: - from - to - author_association: *186 + author_association: *188 lock_reason: type: string nullable: true @@ -86509,8 +86835,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 required: - id - node_id @@ -86694,8 +87020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *441 - - *442 + - *445 + - *446 - name: event_id in: path required: true @@ -86706,7 +87032,7 @@ paths: description: Response content: application/json: - schema: *637 + schema: *641 examples: default: value: @@ -86899,7 +87225,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *452 + '410': *456 '403': *29 x-github: githubCloudOnly: false @@ -86933,9 +87259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *441 - - *442 - - &639 + - *445 + - *446 + - &643 name: issue_number description: The number that identifies the issue. in: path @@ -86947,12 +87273,12 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 - '301': *455 + default: *642 + '301': *459 '404': *6 - '410': *452 + '410': *456 '304': *37 x-github: githubCloudOnly: false @@ -86977,9 +87303,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -87083,15 +87409,15 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 '422': *15 '503': *167 '403': *29 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87109,9 +87435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -87137,9 +87463,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87155,9 +87481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: content: application/json: @@ -87182,9 +87508,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87206,9 +87532,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: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - name: assignee in: path required: true @@ -87248,10 +87574,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *441 - - *442 - - *639 - - *189 + - *445 + - *446 + - *643 + - *191 - *17 - *19 responses: @@ -87261,13 +87587,13 @@ paths: application/json: schema: type: array - items: *633 + items: *637 examples: - default: *640 + default: *644 headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87296,9 +87622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -87320,16 +87646,16 @@ paths: description: Response content: application/json: - schema: *633 + schema: *637 examples: - default: *634 + default: *638 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *452 + '410': *456 '422': *15 '404': *6 x-github: @@ -87357,9 +87683,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -87369,14 +87695,14 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *641 + default: *645 headers: Link: *43 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87404,9 +87730,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -87428,17 +87754,17 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *455 + '301': *459 '403': *29 - '410': *452 + '410': *456 '422': *15 '404': *6 x-github: @@ -87469,9 +87795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -87483,15 +87809,15 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 - '301': *455 + default: *642 + '301': *459 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *452 + '410': *456 x-github: triggersNotification: true githubCloudOnly: false @@ -87517,9 +87843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -87529,14 +87855,14 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *641 + default: *645 headers: Link: *43 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87553,9 +87879,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -87569,7 +87895,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &644 + - &648 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -87600,8 +87926,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 label: type: object properties: @@ -87623,7 +87949,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &645 + - &649 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -87654,8 +87980,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 label: type: object properties: @@ -87743,8 +88069,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 assignee: *4 assigner: *4 required: @@ -87759,7 +88085,7 @@ paths: - performed_via_github_app - assignee - assigner - - &646 + - &650 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -87790,8 +88116,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 milestone: type: object properties: @@ -87810,7 +88136,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &647 + - &651 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -87841,8 +88167,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 milestone: type: object properties: @@ -87861,7 +88187,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &648 + - &652 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -87892,8 +88218,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 rename: type: object properties: @@ -87915,7 +88241,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &649 + - &653 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -87946,10 +88272,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 review_requester: *4 - requested_team: *276 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -87962,7 +88288,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &650 + - &654 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -87993,10 +88319,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 review_requester: *4 - requested_team: *276 + requested_team: *280 requested_reviewer: *4 required: - review_requester @@ -88009,7 +88335,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &655 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -88040,8 +88366,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 dismissed_review: type: object properties: @@ -88069,7 +88395,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &652 + - &656 title: Locked Issue Event description: Locked Issue Event type: object @@ -88100,8 +88426,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 lock_reason: type: string example: '"off-topic"' @@ -88117,7 +88443,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &657 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -88148,8 +88474,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 project_card: type: object properties: @@ -88183,7 +88509,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &658 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -88214,8 +88540,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 project_card: type: object properties: @@ -88249,7 +88575,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &659 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -88280,8 +88606,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 project_card: type: object properties: @@ -88315,7 +88641,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &660 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -88406,7 +88732,7 @@ paths: color: red headers: Link: *43 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88423,9 +88749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -88435,7 +88761,7 @@ paths: application/json: schema: type: array - items: &642 + items: &646 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -88482,7 +88808,7 @@ paths: - color - default examples: - default: &643 + default: &647 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -88500,9 +88826,9 @@ paths: default: false headers: Link: *43 - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88519,9 +88845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -88580,12 +88906,12 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 - '301': *455 + default: *647 + '301': *459 '404': *6 - '410': *452 + '410': *456 '422': *15 x-github: githubCloudOnly: false @@ -88602,9 +88928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -88664,12 +88990,12 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 - '301': *455 + default: *647 + '301': *459 '404': *6 - '410': *452 + '410': *456 '422': *15 x-github: githubCloudOnly: false @@ -88686,15 +89012,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 responses: '204': description: Response - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88713,9 +89039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - name: name in: path required: true @@ -88728,7 +89054,7 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: default: value: @@ -88739,9 +89065,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *455 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88761,9 +89087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: false content: @@ -88791,7 +89117,7 @@ paths: '204': description: Response '403': *29 - '410': *452 + '410': *456 '404': *6 '422': *15 x-github: @@ -88809,9 +89135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 responses: '204': description: Response @@ -88841,20 +89167,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 responses: '200': description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 - '301': *455 + default: *642 + '301': *459 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88871,9 +89197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - 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. @@ -88899,13 +89225,13 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88923,9 +89249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -88957,16 +89283,16 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -88988,10 +89314,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *441 - - *442 - - *639 - - *433 + - *445 + - *446 + - *643 + - *437 responses: '204': description: Response @@ -89020,9 +89346,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -89044,9 +89370,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -89079,9 +89405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -89091,13 +89417,13 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *641 + default: *645 headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89125,9 +89451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -89154,16 +89480,16 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *452 + '410': *456 '422': *15 '404': *6 x-github: @@ -89183,9 +89509,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 requestBody: required: true content: @@ -89216,9 +89542,9 @@ paths: description: Response content: application/json: - schema: *199 + schema: *201 examples: - default: *638 + default: *642 '403': *29 '404': *6 '422': *7 @@ -89240,9 +89566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *441 - - *442 - - *639 + - *445 + - *446 + - *643 - *17 - *19 responses: @@ -89257,10 +89583,6 @@ paths: description: Timeline Event type: object anyOf: - - *644 - - *645 - - *646 - - *647 - *648 - *649 - *650 @@ -89270,6 +89592,10 @@ paths: - *654 - *655 - *656 + - *657 + - *658 + - *659 + - *660 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -89312,7 +89638,7 @@ paths: issue_url: type: string format: uri - author_association: *186 + author_association: *188 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -89322,9 +89648,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - reactions: *187 + properties: *186 + required: *187 + reactions: *189 required: - event - actor @@ -89355,7 +89681,7 @@ paths: properties: type: type: string - issue: *199 + issue: *201 required: - event - created_at @@ -89555,7 +89881,7 @@ paths: type: string body_text: type: string - author_association: *186 + author_association: *188 required: - event - id @@ -89578,7 +89904,7 @@ paths: type: string comments: type: array - items: &676 + items: &680 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -89667,7 +89993,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *186 + author_association: *188 _links: type: object properties: @@ -89751,7 +90077,7 @@ paths: enum: - line - file - reactions: *187 + reactions: *189 body_html: type: string example: '"

comment body

"' @@ -89787,7 +90113,7 @@ paths: type: string comments: type: array - items: *559 + items: *563 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -89818,8 +90144,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 assignee: *4 required: - id @@ -89862,8 +90188,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 assignee: *4 required: - id @@ -89906,8 +90232,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 state_reason: type: string nullable: true @@ -90076,7 +90402,7 @@ paths: headers: Link: *43 '404': *6 - '410': *452 + '410': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90093,8 +90419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -90104,7 +90430,7 @@ paths: application/json: schema: type: array - items: &657 + items: &661 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -90170,8 +90496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90207,9 +90533,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *661 examples: - default: &658 + default: &662 value: id: 1 key: ssh-rsa AAA... @@ -90243,9 +90569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *441 - - *442 - - &659 + - *445 + - *446 + - &663 name: key_id description: The unique identifier of the key. in: path @@ -90257,9 +90583,9 @@ paths: description: Response content: application/json: - schema: *657 + schema: *661 examples: - default: *658 + default: *662 '404': *6 x-github: githubCloudOnly: false @@ -90277,9 +90603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *441 - - *442 - - *659 + - *445 + - *446 + - *663 responses: '204': description: Response @@ -90299,8 +90625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -90310,9 +90636,9 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 + default: *647 headers: Link: *43 '404': *6 @@ -90333,8 +90659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90370,9 +90696,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: - default: &660 + default: &664 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90404,8 +90730,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *441 - - *442 + - *445 + - *446 - name: name in: path required: true @@ -90416,9 +90742,9 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: - default: *660 + default: *664 '404': *6 x-github: githubCloudOnly: false @@ -90435,8 +90761,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *441 - - *442 + - *445 + - *446 - name: name in: path required: true @@ -90475,7 +90801,7 @@ paths: description: Response content: application/json: - schema: *642 + schema: *646 examples: default: value: @@ -90501,8 +90827,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *441 - - *442 + - *445 + - *446 - name: name in: path required: true @@ -90528,8 +90854,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -90565,8 +90891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '202': *39 '403': @@ -90594,8 +90920,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -90621,9 +90947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *441 - - *442 - - *535 + - *445 + - *446 + - *539 responses: '200': description: Response @@ -90685,8 +91011,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true required: - _links @@ -90768,8 +91094,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90834,8 +91160,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -90869,9 +91195,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *560 + schema: *564 examples: - default: *661 + default: *665 '204': description: Response when already merged '404': @@ -90896,8 +91222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *441 - - *442 + - *445 + - *446 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -90938,12 +91264,12 @@ paths: application/json: schema: type: array - items: &662 + items: &666 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 examples: default: value: @@ -90999,8 +91325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -91040,9 +91366,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *666 examples: - default: &663 + default: &667 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -91101,9 +91427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *441 - - *442 - - &664 + - *445 + - *446 + - &668 name: milestone_number description: The number that identifies the milestone. in: path @@ -91115,9 +91441,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *666 examples: - default: *663 + default: *667 '404': *6 x-github: githubCloudOnly: false @@ -91134,9 +91460,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *441 - - *442 - - *664 + - *445 + - *446 + - *668 requestBody: required: false content: @@ -91174,9 +91500,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *666 examples: - default: *663 + default: *667 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91192,9 +91518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *441 - - *442 - - *664 + - *445 + - *446 + - *668 responses: '204': description: Response @@ -91215,9 +91541,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: - - *441 - - *442 - - *664 + - *445 + - *446 + - *668 - *17 - *19 responses: @@ -91227,9 +91553,9 @@ paths: application/json: schema: type: array - items: *642 + items: *646 examples: - default: *643 + default: *647 headers: Link: *43 x-github: @@ -91248,12 +91574,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: - - *441 - - *442 - - *665 - - *666 - - *189 - - *667 + - *445 + - *446 + - *669 + - *670 + - *191 + - *671 - *17 - *19 responses: @@ -91263,9 +91589,9 @@ paths: application/json: schema: type: array - items: *212 + items: *214 examples: - default: *668 + default: *672 headers: Link: *43 x-github: @@ -91289,8 +91615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -91348,14 +91674,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: &669 + schema: &673 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -91480,7 +91806,7 @@ paths: - custom_404 - public examples: - default: &670 + default: &674 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -91521,8 +91847,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -91576,9 +91902,9 @@ paths: description: Response content: application/json: - schema: *669 + schema: *673 examples: - default: *670 + default: *674 '422': *15 '409': *109 x-github: @@ -91601,8 +91927,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -91709,8 +92035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -91736,8 +92062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -91747,7 +92073,7 @@ paths: application/json: schema: type: array - items: &671 + items: &675 title: Page Build description: Page Build type: object @@ -91841,8 +92167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *441 - - *442 + - *445 + - *446 responses: '201': description: Response @@ -91887,16 +92213,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: &672 + default: &676 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -91944,8 +92270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *441 - - *442 + - *445 + - *446 - name: build_id in: path required: true @@ -91956,9 +92282,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *675 examples: - default: *672 + default: *676 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91978,8 +92304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92084,9 +92410,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: - - *441 - - *442 - - &673 + - *445 + - *446 + - &677 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -92144,9 +92470,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *441 - - *442 - - *673 + - *445 + - *446 + - *677 responses: '204': *133 '404': *6 @@ -92173,8 +92499,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -92405,7 +92731,7 @@ paths: description: Empty response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -92432,8 +92758,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Private vulnerability reporting status @@ -92470,8 +92796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': *133 '422': *14 @@ -92492,8 +92818,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': *133 '422': *14 @@ -92516,8 +92842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *441 - - *442 + - *445 + - *446 - name: state description: Indicates the state of the projects to return. in: query @@ -92538,7 +92864,7 @@ paths: application/json: schema: type: array - items: *369 + items: *373 examples: default: value: @@ -92578,7 +92904,7 @@ paths: '401': *25 '403': *29 '404': *6 - '410': *452 + '410': *456 '422': *7 x-github: githubCloudOnly: false @@ -92601,8 +92927,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92628,13 +92954,13 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: - default: *451 + default: *455 '401': *25 '403': *29 '404': *6 - '410': *452 + '410': *456 '422': *7 x-github: githubCloudOnly: false @@ -92657,8 +92983,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -92666,7 +92992,7 @@ paths: application/json: schema: type: array - items: *384 + items: *388 examples: default: value: @@ -92697,8 +93023,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92710,7 +93036,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *384 + items: *388 required: - properties examples: @@ -92760,8 +93086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *441 - - *442 + - *445 + - *446 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -92821,9 +93147,9 @@ paths: application/json: schema: type: array - items: *564 + items: *568 examples: - default: *674 + default: *678 headers: Link: *43 '304': *37 @@ -92855,8 +93181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -92921,7 +93247,7 @@ paths: description: Response content: application/json: - schema: &678 + schema: &682 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -93032,8 +93358,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 nullable: true active_lock_reason: type: string @@ -93078,7 +93404,7 @@ paths: nullable: true requested_teams: type: array - items: *408 + items: *412 nullable: true head: type: object @@ -93117,14 +93443,14 @@ paths: _links: type: object properties: - comments: *377 - commits: *377 - statuses: *377 - html: *377 - issue: *377 - review_comments: *377 - review_comment: *377 - self: *377 + comments: *381 + commits: *381 + statuses: *381 + html: *381 + issue: *381 + review_comments: *381 + review_comment: *381 + self: *381 required: - comments - commits @@ -93134,8 +93460,8 @@ paths: - review_comments - review_comment - self - author_association: *186 - auto_merge: *675 + author_association: *188 + auto_merge: *679 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -93227,7 +93553,7 @@ paths: - merged_by - review_comments examples: - default: &679 + default: &683 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -93754,8 +94080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *441 - - *442 + - *445 + - *446 - name: sort in: query required: false @@ -93774,7 +94100,7 @@ paths: enum: - asc - desc - - *189 + - *191 - *17 - *19 responses: @@ -93784,9 +94110,9 @@ paths: application/json: schema: type: array - items: *676 + items: *680 examples: - default: &681 + default: &685 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93863,17 +94189,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: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '200': description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: &677 + default: &681 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -93948,9 +94274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -93972,9 +94298,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: - default: *677 + default: *681 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93990,9 +94316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 responses: '204': description: Response @@ -94013,9 +94339,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -94041,9 +94367,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -94064,9 +94390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *441 - - *442 - - *198 + - *445 + - *446 + - *200 requestBody: required: true content: @@ -94098,16 +94424,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -94129,10 +94455,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *441 - - *442 - - *198 - - *433 + - *445 + - *446 + - *200 + - *437 responses: '204': description: Response @@ -94175,9 +94501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *441 - - *442 - - &680 + - *445 + - *446 + - &684 name: pull_number description: The number that identifies the pull request. in: path @@ -94190,9 +94516,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *678 + schema: *682 examples: - default: *679 + default: *683 '304': *37 '404': *6 '406': @@ -94227,9 +94553,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -94271,9 +94597,9 @@ paths: description: Response content: application/json: - schema: *678 + schema: *682 examples: - default: *679 + default: *683 '422': *15 '403': *29 x-github: @@ -94295,9 +94621,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: true content: @@ -94357,17 +94683,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '401': *25 '403': *29 '404': *6 @@ -94397,10 +94723,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *441 - - *442 - - *680 - - *209 + - *445 + - *446 + - *684 + - *211 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -94410,7 +94736,7 @@ paths: enum: - asc - desc - - *189 + - *191 - *17 - *19 responses: @@ -94420,9 +94746,9 @@ paths: application/json: schema: type: array - items: *676 + items: *680 examples: - default: *681 + default: *685 headers: Link: *43 x-github: @@ -94455,9 +94781,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: true content: @@ -94562,7 +94888,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: example-for-a-multi-line-comment: value: @@ -94650,10 +94976,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *441 - - *442 - - *680 - - *198 + - *445 + - *446 + - *684 + - *200 requestBody: required: true content: @@ -94675,7 +95001,7 @@ paths: description: Response content: application/json: - schema: *676 + schema: *680 examples: default: value: @@ -94761,9 +95087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 - *17 - *19 responses: @@ -94773,9 +95099,9 @@ paths: application/json: schema: type: array - items: *560 + items: *564 examples: - default: *682 + default: *686 headers: Link: *43 x-github: @@ -94805,9 +95131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 - *17 - *19 responses: @@ -94817,7 +95143,7 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: default: value: @@ -94855,9 +95181,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 responses: '204': description: Response if pull request has been merged @@ -94880,9 +95206,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -94993,9 +95319,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 responses: '200': description: Response @@ -95011,7 +95337,7 @@ paths: items: *4 teams: type: array - items: *276 + items: *280 required: - users - teams @@ -95070,9 +95396,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -95109,7 +95435,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: default: value: @@ -95645,9 +95971,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: true content: @@ -95681,7 +96007,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: default: value: @@ -96186,9 +96512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 - *17 - *19 responses: @@ -96198,7 +96524,7 @@ paths: application/json: schema: type: array - items: &683 + items: &687 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -96267,7 +96593,7 @@ paths: type: string body_text: type: string - author_association: *186 + author_association: *188 required: - id - node_id @@ -96349,9 +96675,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: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -96437,9 +96763,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: &685 + default: &689 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96502,10 +96828,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: - - *441 - - *442 - - *680 - - &684 + - *445 + - *446 + - *684 + - &688 name: review_id description: The unique identifier of the review. in: path @@ -96517,9 +96843,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: &686 + default: &690 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -96578,10 +96904,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 requestBody: required: true content: @@ -96604,7 +96930,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: default: value: @@ -96666,18 +96992,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 responses: '200': description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: *685 + default: *689 '422': *7 '404': *6 x-github: @@ -96704,10 +97030,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 - *17 - *19 responses: @@ -96786,13 +97112,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *186 + author_association: *188 _links: type: object properties: - self: *377 - html: *377 - pull_request: *377 + self: *381 + html: *381 + pull_request: *381 required: - self - html @@ -96801,7 +97127,7 @@ paths: type: string body_html: type: string - reactions: *187 + reactions: *189 side: description: The side of the first line of the range for a multi-line comment. @@ -96942,10 +97268,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 requestBody: required: true content: @@ -96973,7 +97299,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: default: value: @@ -97036,10 +97362,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: - - *441 - - *442 - - *680 + - *445 + - *446 - *684 + - *688 requestBody: required: true content: @@ -97074,9 +97400,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *687 examples: - default: *686 + default: *690 '404': *6 '422': *7 '403': *29 @@ -97098,9 +97424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *441 - - *442 - - *680 + - *445 + - *446 + - *684 requestBody: required: false content: @@ -97163,8 +97489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *441 - - *442 + - *445 + - *446 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -97177,9 +97503,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *691 examples: - default: &688 + default: &692 value: type: file encoding: base64 @@ -97221,8 +97547,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: - - *441 - - *442 + - *445 + - *446 - name: dir description: The alternate path to look for a README file in: path @@ -97242,9 +97568,9 @@ paths: description: Response content: application/json: - schema: *687 + schema: *691 examples: - default: *688 + default: *692 '404': *6 '422': *15 x-github: @@ -97266,8 +97592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -97277,7 +97603,7 @@ paths: application/json: schema: type: array - items: &689 + items: &693 title: Release description: A release. type: object @@ -97348,7 +97674,7 @@ paths: author: *4 assets: type: array - items: &690 + items: &694 title: Release Asset description: Data related to a release. type: object @@ -97423,7 +97749,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *187 + reactions: *189 required: - assets_url - upload_url @@ -97535,8 +97861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -97612,9 +97938,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: &693 + default: &697 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -97719,9 +98045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *441 - - *442 - - &691 + - *445 + - *446 + - &695 name: asset_id description: The unique identifier of the asset. in: path @@ -97733,9 +98059,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *694 examples: - default: &692 + default: &696 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 @@ -97770,7 +98096,7 @@ paths: type: User site_admin: false '404': *6 - '302': *575 + '302': *579 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97786,9 +98112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *441 - - *442 - - *691 + - *445 + - *446 + - *695 requestBody: required: false content: @@ -97816,9 +98142,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *694 examples: - default: *692 + default: *696 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97834,9 +98160,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *441 - - *442 - - *691 + - *445 + - *446 + - *695 responses: '204': description: Response @@ -97860,8 +98186,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -97946,16 +98272,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: *693 + default: *697 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97972,8 +98298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *441 - - *442 + - *445 + - *446 - name: tag description: tag parameter in: path @@ -97986,9 +98312,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: *693 + default: *697 '404': *6 x-github: githubCloudOnly: false @@ -98010,9 +98336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *441 - - *442 - - &694 + - *445 + - *446 + - &698 name: release_id description: The unique identifier of the release. in: path @@ -98026,9 +98352,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: *689 + schema: *693 examples: - default: *693 + default: *697 '401': description: Unauthorized x-github: @@ -98046,9 +98372,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 requestBody: required: false content: @@ -98112,9 +98438,9 @@ paths: description: Response content: application/json: - schema: *689 + schema: *693 examples: - default: *693 + default: *697 '404': description: Not Found if the discussion category name is invalid content: @@ -98135,9 +98461,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 responses: '204': description: Response @@ -98157,9 +98483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 - *17 - *19 responses: @@ -98169,7 +98495,7 @@ paths: application/json: schema: type: array - items: *690 + items: *694 examples: default: value: @@ -98251,9 +98577,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: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 - name: name in: query required: true @@ -98279,7 +98605,7 @@ paths: description: Response for successful upload content: application/json: - schema: *690 + schema: *694 examples: response-for-successful-upload: value: @@ -98334,9 +98660,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 - 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. @@ -98360,9 +98686,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 '404': *6 @@ -98383,9 +98709,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *441 - - *442 - - *694 + - *445 + - *446 + - *698 requestBody: required: true content: @@ -98415,16 +98741,16 @@ paths: description: Reaction exists content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '201': description: Reaction created content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '422': *15 x-github: githubCloudOnly: false @@ -98446,10 +98772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *441 - - *442 - - *694 - - *433 + - *445 + - *446 + - *698 + - *437 responses: '204': description: Response @@ -98473,9 +98799,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *441 - - *442 - - *500 + - *445 + - *446 + - *504 - *17 - *19 responses: @@ -98492,7 +98818,7 @@ paths: oneOf: - allOf: - *142 - - &695 + - &699 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -98513,67 +98839,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *143 - - *695 + - *699 - allOf: - *144 - - *695 + - *699 - allOf: - *145 - - *695 + - *699 - allOf: - - *696 - - *695 + - *700 + - *699 - allOf: - *146 - - *695 + - *699 - allOf: - *147 - - *695 + - *699 - allOf: - *148 - - *695 + - *699 - allOf: - *149 - - *695 + - *699 - allOf: - *150 - - *695 + - *699 - allOf: - *151 - - *695 + - *699 - allOf: - *152 - - *695 + - *699 - allOf: - *153 - - *695 + - *699 - allOf: - *154 - - *695 + - *699 - allOf: - *155 - - *695 + - *699 - allOf: - *156 - - *695 + - *699 - allOf: - *157 - - *695 + - *699 - allOf: - *158 - - *695 + - *699 - allOf: - *159 - - *695 + - *699 - allOf: - *160 - - *695 + - *699 - allOf: - *161 - - *695 + - *699 - allOf: - - *697 - - *695 + - *701 + - *699 examples: default: value: @@ -98612,8 +98938,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - name: includes_parents @@ -98624,7 +98950,7 @@ paths: schema: type: boolean default: true - - *698 + - *702 responses: '200': description: Response @@ -98679,8 +99005,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 requestBody: description: Request body required: true @@ -98709,7 +99035,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *699 + items: *703 required: - name - enforcement @@ -98742,7 +99068,7 @@ paths: application/json: schema: *162 examples: - default: &708 + default: &712 value: id: 42 name: super cool ruleset @@ -98789,12 +99115,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *441 - - *442 - - *700 + - *445 + - *446 + - *704 - *96 - - *701 - - *702 + - *705 + - *706 - *17 - *19 responses: @@ -98802,9 +99128,9 @@ paths: description: Response content: application/json: - schema: *703 + schema: *707 examples: - default: *704 + default: *708 '404': *6 '500': *40 x-github: @@ -98825,17 +99151,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *441 - - *442 - - *705 + - *445 + - *446 + - *709 responses: '200': description: Response content: application/json: - schema: *706 + schema: *710 examples: - default: *707 + default: *711 '404': *6 '500': *40 x-github: @@ -98863,8 +99189,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98886,7 +99212,7 @@ paths: application/json: schema: *162 examples: - default: *708 + default: *712 '404': *6 '500': *40 put: @@ -98904,8 +99230,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -98939,7 +99265,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *699 + items: *703 examples: default: value: @@ -98969,7 +99295,7 @@ paths: application/json: schema: *162 examples: - default: *708 + default: *712 '404': *6 '500': *40 delete: @@ -98987,8 +99313,8 @@ paths: category: repos subcategory: rules parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99011,8 +99337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 - name: ruleset_id @@ -99030,7 +99356,7 @@ paths: type: array items: *166 examples: - default: *393 + default: *397 '404': *6 '500': *40 x-github: @@ -99049,8 +99375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *441 - - *442 + - *445 + - *446 - name: ruleset_id description: The ID of the ruleset. in: path @@ -99068,7 +99394,7 @@ paths: description: Response content: application/json: - schema: *394 + schema: *398 examples: default: value: @@ -99123,21 +99449,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *441 - - *442 - - *395 - - *396 - - *397 - - *398 - - *101 - - *19 - - *17 - - *709 - - *710 + - *445 + - *446 - *399 - *400 - *401 - *402 + - *101 + - *19 + - *17 + - *713 + - *714 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -99145,7 +99471,7 @@ paths: application/json: schema: type: array - items: &714 + items: &718 type: object properties: number: *113 @@ -99164,8 +99490,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *711 - resolution: *712 + state: *715 + resolution: *716 resolved_at: type: string format: date-time @@ -99261,7 +99587,7 @@ paths: pull request. ' - oneOf: *713 + oneOf: *717 nullable: true has_more_locations: type: boolean @@ -99384,16 +99710,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *441 - - *442 - - *529 - - *402 + - *445 + - *446 + - *533 + - *406 responses: '200': description: Response content: application/json: - schema: *714 + schema: *718 examples: default: value: @@ -99445,9 +99771,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 requestBody: required: true content: @@ -99455,8 +99781,8 @@ paths: schema: type: object properties: - state: *711 - resolution: *712 + state: *715 + resolution: *716 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -99474,7 +99800,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: default: value: @@ -99549,9 +99875,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: - - *441 - - *442 - - *529 + - *445 + - *446 + - *533 - *19 - *17 responses: @@ -99562,7 +99888,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &895 + items: &899 type: object properties: type: @@ -99588,10 +99914,6 @@ paths: example: commit details: oneOf: - - *715 - - *716 - - *717 - - *718 - *719 - *720 - *721 @@ -99601,6 +99923,10 @@ paths: - *725 - *726 - *727 + - *728 + - *729 + - *730 + - *731 examples: default: value: @@ -99686,8 +100012,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -99695,14 +100021,14 @@ paths: schema: type: object properties: - reason: &729 + reason: &733 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *728 + placeholder_id: *732 required: - reason - placeholder_id @@ -99719,7 +100045,7 @@ paths: schema: type: object properties: - reason: *729 + reason: *733 expire_at: type: string format: date-time @@ -99762,8 +100088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *441 - - *442 + - *445 + - *446 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -99778,7 +100104,7 @@ paths: properties: incremental_scans: type: array - items: &730 + items: &734 description: Information on a single scan performed by secret scanning on the repository type: object @@ -99804,15 +100130,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *730 + items: *734 backfill_scans: type: array - items: *730 + items: *734 custom_pattern_backfill_scans: type: array items: allOf: - - *730 + - *734 - type: object properties: pattern_name: @@ -99882,8 +100208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *441 - - *442 + - *445 + - *446 - *101 - name: sort description: The property to sort the results by. @@ -99927,9 +100253,9 @@ paths: application/json: schema: type: array - items: *731 + items: *735 examples: - default: *732 + default: *736 '400': *14 '404': *6 x-github: @@ -99952,8 +100278,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -100026,7 +100352,7 @@ paths: login: type: string description: The username of the user credited. - type: *407 + type: *411 required: - login - type @@ -100113,9 +100439,9 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: &734 + default: &738 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -100348,8 +100674,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -100453,7 +100779,7 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: default: value: @@ -100600,17 +100926,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: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 responses: '200': description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: *734 + default: *738 '403': *29 '404': *6 x-github: @@ -100634,9 +100960,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: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 requestBody: required: true content: @@ -100709,7 +101035,7 @@ paths: login: type: string description: The username of the user credited. - type: *407 + type: *411 required: - login - type @@ -100795,17 +101121,17 @@ paths: description: Response content: application/json: - schema: *731 + schema: *735 examples: - default: *734 - add_credit: *734 + default: *738 + add_credit: *738 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *226 + schema: *230 examples: invalid_state_transition: value: @@ -100836,9 +101162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 responses: '202': *39 '400': *14 @@ -100865,17 +101191,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: - - *441 - - *442 - - *733 + - *445 + - *446 + - *737 responses: '202': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 '400': *14 '422': *15 '403': *29 @@ -100901,8 +101227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101001,8 +101327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -101011,7 +101337,7 @@ paths: application/json: schema: type: array - items: &735 + items: &739 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -101044,8 +101370,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -101121,8 +101447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -101218,8 +101544,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -101373,8 +101699,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -101384,7 +101710,7 @@ paths: application/json: schema: type: array - items: *735 + items: *739 examples: default: value: @@ -101417,8 +101743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *441 - - *442 + - *445 + - *446 - name: sha in: path required: true @@ -101472,7 +101798,7 @@ paths: description: Response content: application/json: - schema: *736 + schema: *740 examples: default: value: @@ -101526,8 +101852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101539,7 +101865,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -101559,14 +101885,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &737 + schema: &741 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -101634,8 +101960,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: false content: @@ -101661,7 +101987,7 @@ paths: description: Response content: application/json: - schema: *737 + schema: *741 examples: default: value: @@ -101688,8 +102014,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -101709,8 +102035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101789,8 +102115,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: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -101798,7 +102124,7 @@ paths: application/json: schema: type: array - items: &738 + items: &742 title: Tag protection description: Tag protection type: object @@ -101850,8 +102176,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: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -101874,7 +102200,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *742 examples: default: value: @@ -101905,8 +102231,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: - - *441 - - *442 + - *445 + - *446 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -101943,8 +102269,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *441 - - *442 + - *445 + - *446 - name: ref in: path required: true @@ -101980,8 +102306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *441 - - *442 + - *445 + - *446 - *17 - *19 responses: @@ -101991,9 +102317,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - default: *352 + default: *356 headers: Link: *43 '404': *6 @@ -102013,8 +102339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *441 - - *442 + - *445 + - *446 - *19 - *17 responses: @@ -102022,7 +102348,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &743 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -102034,7 +102360,7 @@ paths: required: - names examples: - default: &740 + default: &744 value: names: - octocat @@ -102057,8 +102383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -102089,9 +102415,9 @@ paths: description: Response content: application/json: - schema: *739 + schema: *743 examples: - default: *740 + default: *744 '404': *6 '422': *7 x-github: @@ -102112,9 +102438,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *441 - - *442 - - &741 + - *445 + - *446 + - &745 name: per description: The time frame to display results for. in: query @@ -102143,7 +102469,7 @@ paths: example: 128 clones: type: array - items: &742 + items: &746 title: Traffic type: object properties: @@ -102230,8 +102556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -102321,8 +102647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *441 - - *442 + - *445 + - *446 responses: '200': description: Response @@ -102382,9 +102708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *441 - - *442 - - *741 + - *445 + - *446 + - *745 responses: '200': description: Response @@ -102403,7 +102729,7 @@ paths: example: 3782 views: type: array - items: *742 + items: *746 required: - uniques - count @@ -102480,8 +102806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *441 - - *442 + - *445 + - *446 requestBody: required: true content: @@ -102517,7 +102843,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *253 examples: default: value: @@ -102755,8 +103081,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -102779,8 +103105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -102802,8 +103128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -102829,8 +103155,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *441 - - *442 + - *445 + - *446 - name: ref in: path required: true @@ -102922,9 +103248,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -102965,7 +103291,7 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: default: value: @@ -103075,7 +103401,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &750 + - &754 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -103084,7 +103410,7 @@ paths: schema: type: string example: members - - &755 + - &759 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -103095,7 +103421,7 @@ paths: default: 1 format: int32 example: 1 - - &756 + - &760 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -103137,7 +103463,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &745 + items: &749 allOf: - type: object required: @@ -103212,7 +103538,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: &757 + meta: &761 type: object description: The metadata associated with the creation/updates to the user. @@ -103272,30 +103598,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &746 + '400': &750 description: Bad request content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '401': *744 - '403': &747 + schema: *747 + '401': *748 + '403': &751 description: Permission denied - '429': &748 + '429': &752 description: Too many requests content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '500': &749 + schema: *747 + '500': &753 description: Internal server error content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 + schema: *747 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103319,7 +103645,7 @@ paths: required: true content: application/json: - schema: &753 + schema: &757 type: object required: - schemas @@ -103379,9 +103705,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *745 + schema: *749 examples: - group: &751 + group: &755 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -103400,13 +103726,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': *746 - '401': *744 - '403': *747 - '409': &754 + '400': *750 + '401': *748 + '403': *751 + '409': &758 description: Duplicate record detected - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103423,7 +103749,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: - - &752 + - &756 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -103431,22 +103757,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *750 + - *754 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *745 + schema: *749 examples: - default: *751 - '400': *746 - '401': *744 - '403': *747 + default: *755 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103465,13 +103791,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: - - *752 + - *756 - *41 requestBody: required: true content: application/json: - schema: *753 + schema: *757 examples: group: summary: Group @@ -103497,17 +103823,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *745 + schema: *749 examples: - group: *751 - groupWithMembers: *751 - '400': *746 - '401': *744 - '403': *747 + group: *755 + groupWithMembers: *755 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103531,13 +103857,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: - - *752 + - *756 - *41 requestBody: required: true content: application/json: - schema: &764 + schema: &768 type: object required: - Operations @@ -103597,17 +103923,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *745 + schema: *749 examples: - updateGroup: *751 - addMembers: *751 - '400': *746 - '401': *744 - '403': *747 + updateGroup: *755 + addMembers: *755 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103623,17 +103949,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: - - *752 + - *756 - *41 responses: '204': description: Group was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103667,8 +103993,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *755 - - *756 + - *759 + - *760 - *41 responses: '200': @@ -103701,7 +104027,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &759 + items: &763 allOf: - type: object required: @@ -103780,7 +104106,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &758 + roles: &762 type: array description: The roles assigned to the user. items: @@ -103836,7 +104162,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *757 + meta: *761 startIndex: type: integer description: A starting index for the returned page @@ -103873,11 +104199,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *746 - '401': *744 - '403': *747 - '429': *748 - '500': *749 + '400': *750 + '401': *748 + '403': *751 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -103901,7 +104227,7 @@ paths: required: true content: application/json: - schema: &762 + schema: &766 type: object required: - schemas @@ -103983,9 +104309,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *758 + roles: *762 examples: - user: &763 + user: &767 summary: User value: schemas: @@ -104032,9 +104358,9 @@ paths: description: User has been created content: application/scim+json: - schema: *759 + schema: *763 examples: - user: &760 + user: &764 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -104060,13 +104386,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: *760 - '400': *746 - '401': *744 - '403': *747 - '409': *754 - '429': *748 - '500': *749 + enterpriseOwner: *764 + '400': *750 + '401': *748 + '403': *751 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104083,7 +104409,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: - - &761 + - &765 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -104096,15 +104422,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *759 + schema: *763 examples: - default: *760 - '400': *746 - '401': *744 - '403': *747 + default: *764 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104126,30 +104452,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: - - *761 + - *765 - *41 requestBody: required: true content: application/json: - schema: *762 + schema: *766 examples: - user: *763 + user: *767 responses: '200': description: User was updated content: application/scim+json: - schema: *759 + schema: *763 examples: - user: *760 - '400': *746 - '401': *744 - '403': *747 + user: *764 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104184,13 +104510,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: - - *761 + - *765 - *41 requestBody: required: true content: application/json: - schema: *764 + schema: *768 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -104230,18 +104556,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *759 + schema: *763 examples: - userMultiValuedProperties: *760 - userSingleValuedProperties: *760 - disableUser: *760 - '400': *746 - '401': *744 - '403': *747 + userMultiValuedProperties: *764 + userSingleValuedProperties: *764 + disableUser: *764 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '409': *754 - '429': *748 - '500': *749 + '409': *758 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104261,17 +104587,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: - - *761 + - *765 - *41 responses: '204': description: User was deleted, no content - '400': *746 - '401': *744 - '403': *747 + '400': *750 + '401': *748 + '403': *751 '404': *6 - '429': *748 - '500': *749 + '429': *752 + '500': *753 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -104358,7 +104684,7 @@ paths: example: 1 Resources: type: array - items: &765 + items: &769 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -104589,22 +104915,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': &766 + '404': &770 description: Resource not found content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '403': &767 + schema: *747 + '403': &771 description: Forbidden content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '400': *746 - '429': *748 + schema: *747 + '400': *750 + '429': *752 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -104630,9 +104956,9 @@ paths: description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: &768 + default: &772 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -104655,17 +104981,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': *766 - '403': *767 - '500': *749 + '404': *770 + '403': *771 + '500': *753 '409': description: Conflict content: application/json: - schema: *743 + schema: *747 application/scim+json: - schema: *743 - '400': *746 + schema: *747 + '400': *750 requestBody: required: true content: @@ -104763,17 +105089,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *78 - - *761 + - *765 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: *768 - '404': *766 - '403': *767 + default: *772 + '404': *770 + '403': *771 '304': *37 x-github: githubCloudOnly: true @@ -104797,18 +105123,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *78 - - *761 + - *765 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: *768 + default: *772 '304': *37 - '404': *766 - '403': *767 + '404': *770 + '403': *771 requestBody: required: true content: @@ -104921,19 +105247,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *78 - - *761 + - *765 responses: '200': description: Response content: application/scim+json: - schema: *765 + schema: *769 examples: - default: *768 + default: *772 '304': *37 - '404': *766 - '403': *767 - '400': *746 + '404': *770 + '403': *771 + '400': *750 '429': description: Response content: @@ -105024,12 +105350,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *78 - - *761 + - *765 responses: '204': description: Response - '404': *766 - '403': *767 + '404': *770 + '403': *771 '304': *37 x-github: githubCloudOnly: true @@ -105144,7 +105470,7 @@ paths: html_url: type: string format: uri - repository: *249 + repository: *253 score: type: number file_size: @@ -105162,7 +105488,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &769 + text_matches: &773 title: Search Result Text Matches type: array items: @@ -105325,7 +105651,7 @@ paths: enum: - author-date - committer-date - - &770 + - &774 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 @@ -105396,7 +105722,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *498 + properties: *502 nullable: true comment_count: type: integer @@ -105416,7 +105742,7 @@ paths: url: type: string format: uri - verification: *619 + verification: *623 required: - author - committer @@ -105435,7 +105761,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *498 + properties: *502 nullable: true parents: type: array @@ -105448,12 +105774,12 @@ paths: type: string sha: type: string - repository: *249 + repository: *253 score: type: number node_id: type: string - text_matches: *769 + text_matches: *773 required: - sha - node_id @@ -105636,7 +105962,7 @@ paths: - interactions - created - updated - - *770 + - *774 - *17 - *19 - name: advanced_search @@ -105742,11 +106068,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: type: string state_reason: @@ -105763,8 +106089,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *375 - required: *376 + properties: *379 + required: *380 nullable: true comments: type: integer @@ -105778,7 +106104,7 @@ paths: type: string format: date-time nullable: true - text_matches: *769 + text_matches: *773 pull_request: type: object properties: @@ -105811,7 +106137,7 @@ paths: type: string score: type: number - author_association: *186 + author_association: *188 draft: type: boolean repository: *69 @@ -105822,7 +106148,7 @@ paths: timeline_url: type: string format: uri - type: *337 + type: *341 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -105832,9 +106158,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 - reactions: *187 + properties: *186 + required: *187 + reactions: *189 required: - assignee - closed_at @@ -106006,7 +106332,7 @@ paths: enum: - created - updated - - *770 + - *774 - *17 - *19 responses: @@ -106050,7 +106376,7 @@ paths: nullable: true score: type: number - text_matches: *769 + text_matches: *773 required: - id - node_id @@ -106136,7 +106462,7 @@ paths: - forks - help-wanted-issues - updated - - *770 + - *774 - *17 - *19 responses: @@ -106355,8 +106681,8 @@ paths: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true permissions: type: object @@ -106375,7 +106701,7 @@ paths: - admin - pull - push - text_matches: *769 + text_matches: *773 temp_clone_token: type: string allow_merge_commit: @@ -106676,7 +107002,7 @@ paths: type: string format: uri nullable: true - text_matches: *769 + text_matches: *773 related: type: array nullable: true @@ -106869,7 +107195,7 @@ paths: - followers - repositories - joined - - *770 + - *774 - *17 - *19 responses: @@ -106973,7 +107299,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *769 + text_matches: *773 blog: type: string nullable: true @@ -107052,7 +107378,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &774 + - &778 name: team_id description: The unique identifier of the team. in: path @@ -107064,9 +107390,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 x-github: githubCloudOnly: false @@ -107093,7 +107419,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *774 + - *778 requestBody: required: true content: @@ -107156,16 +107482,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '201': description: Response content: application/json: - schema: *422 + schema: *426 examples: - default: *423 + default: *427 '404': *6 '422': *15 '403': *29 @@ -107193,7 +107519,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *774 + - *778 responses: '204': description: Response @@ -107224,7 +107550,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *774 + - *778 - *101 - *17 - *19 @@ -107235,9 +107561,9 @@ paths: application/json: schema: type: array - items: *424 + items: *428 examples: - default: *775 + default: *779 headers: Link: *43 x-github: @@ -107266,7 +107592,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *774 + - *778 requestBody: required: true content: @@ -107300,9 +107626,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *425 + default: *429 x-github: triggersNotification: true githubCloudOnly: false @@ -107329,16 +107655,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *774 - - *426 + - *778 + - *430 responses: '200': description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *425 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107363,8 +107689,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *774 - - *426 + - *778 + - *430 requestBody: required: false content: @@ -107387,9 +107713,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *428 examples: - default: *776 + default: *780 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107414,8 +107740,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *774 - - *426 + - *778 + - *430 responses: '204': description: Response @@ -107444,8 +107770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *774 - - *426 + - *778 + - *430 - *101 - *17 - *19 @@ -107456,9 +107782,9 @@ paths: application/json: schema: type: array - items: *427 + items: *431 examples: - default: *777 + default: *781 headers: Link: *43 x-github: @@ -107487,8 +107813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *774 - - *426 + - *778 + - *430 requestBody: required: true content: @@ -107510,9 +107836,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: triggersNotification: true githubCloudOnly: false @@ -107539,17 +107865,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 responses: '200': description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107574,9 +107900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 requestBody: required: true content: @@ -107598,9 +107924,9 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *778 + default: *782 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107625,9 +107951,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 responses: '204': description: Response @@ -107656,9 +107982,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: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 - 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. @@ -107684,9 +108010,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 x-github: @@ -107715,9 +108041,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: - - *774 - - *426 - - *429 + - *778 + - *430 + - *433 requestBody: required: true content: @@ -107749,9 +108075,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -107777,8 +108103,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: - - *774 - - *426 + - *778 + - *430 - 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. @@ -107804,9 +108130,9 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: - default: *432 + default: *436 headers: Link: *43 x-github: @@ -107835,8 +108161,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: - - *774 - - *426 + - *778 + - *430 requestBody: required: true content: @@ -107868,9 +108194,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -107894,7 +108220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -107904,9 +108230,9 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: - default: *335 + default: *339 headers: Link: *43 x-github: @@ -107932,7 +108258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *774 + - *778 - name: role description: Filters members returned by their role in the team. in: query @@ -107955,7 +108281,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '404': *6 @@ -107983,8 +108309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *774 - - *180 + - *778 + - *182 responses: '204': description: if user is a member @@ -108020,8 +108346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *774 - - *180 + - *778 + - *182 responses: '204': description: Response @@ -108060,8 +108386,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *774 - - *180 + - *778 + - *182 responses: '204': description: Response @@ -108097,16 +108423,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: - - *774 - - *180 + - *778 + - *182 responses: '200': description: Response content: application/json: - schema: *438 + schema: *442 examples: - response-if-user-is-a-team-maintainer: *779 + response-if-user-is-a-team-maintainer: *783 '404': *6 x-github: githubCloudOnly: false @@ -108139,8 +108465,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: - - *774 - - *180 + - *778 + - *182 requestBody: required: false content: @@ -108165,9 +108491,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - response-if-users-membership-with-team-is-now-pending: *780 + response-if-users-membership-with-team-is-now-pending: *784 '403': description: Forbidden if team synchronization is set up '422': @@ -108201,8 +108527,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: - - *774 - - *180 + - *778 + - *182 responses: '204': description: Response @@ -108230,7 +108556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -108240,9 +108566,9 @@ paths: application/json: schema: type: array - items: *439 + items: *443 examples: - default: *781 + default: *785 headers: Link: *43 '404': *6 @@ -108268,16 +108594,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: - - *774 - - *440 + - *778 + - *444 responses: '200': description: Response content: application/json: - schema: *439 + schema: *443 examples: - default: *782 + default: *786 '404': description: Not Found if project is not managed by this team x-github: @@ -108301,8 +108627,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: - - *774 - - *440 + - *778 + - *444 requestBody: required: false content: @@ -108369,8 +108695,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: - - *774 - - *440 + - *778 + - *444 responses: '204': description: Response @@ -108397,7 +108723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -108407,9 +108733,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 '404': *6 @@ -108439,15 +108765,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: - - *774 - - *441 - - *442 + - *778 + - *445 + - *446 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *783 + schema: *787 examples: alternative-response-with-extra-repository-information: value: @@ -108598,9 +108924,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: - - *774 - - *441 - - *442 + - *778 + - *445 + - *446 requestBody: required: false content: @@ -108650,9 +108976,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: - - *774 - - *441 - - *442 + - *778 + - *445 + - *446 responses: '204': description: Response @@ -108681,15 +109007,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: - - *774 + - *778 responses: '200': description: Response content: application/json: - schema: *443 + schema: *447 examples: - default: *444 + default: *448 '403': *29 '404': *6 x-github: @@ -108716,7 +109042,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: - - *774 + - *778 requestBody: required: true content: @@ -108773,7 +109099,7 @@ paths: description: Response content: application/json: - schema: *443 + schema: *447 examples: default: value: @@ -108804,7 +109130,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *774 + - *778 - *17 - *19 responses: @@ -108814,9 +109140,9 @@ paths: application/json: schema: type: array - items: *276 + items: *280 examples: - response-if-child-teams-exist: *784 + response-if-child-teams-exist: *788 headers: Link: *43 '404': *6 @@ -108849,7 +109175,7 @@ paths: application/json: schema: oneOf: - - &786 + - &790 title: Private User description: Private User type: object @@ -109052,7 +109378,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *785 + - *789 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -109205,7 +109531,7 @@ paths: description: Response content: application/json: - schema: *786 + schema: *790 examples: default: value: @@ -109284,7 +109610,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 '304': *37 '404': *6 '403': *29 @@ -109307,7 +109633,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: - - *180 + - *182 responses: '204': description: If the user is blocked @@ -109335,7 +109661,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -109359,7 +109685,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -109408,9 +109734,9 @@ paths: type: integer codespaces: type: array - items: *342 + items: *346 examples: - default: *343 + default: *347 '304': *37 '500': *40 '401': *25 @@ -109549,17 +109875,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '401': *25 '403': *29 '404': *6 @@ -109603,7 +109929,7 @@ paths: type: integer secrets: type: array - items: &787 + items: &791 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -109643,7 +109969,7 @@ paths: - visibility - selected_repositories_url examples: - default: *552 + default: *556 headers: Link: *43 x-github: @@ -109713,13 +110039,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: - - *259 + - *263 responses: '200': description: Response content: application/json: - schema: *787 + schema: *791 examples: default: value: @@ -109749,7 +110075,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: - - *259 + - *263 requestBody: required: true content: @@ -109794,7 +110120,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -109822,7 +110148,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: - - *259 + - *263 responses: '204': description: Response @@ -109847,7 +110173,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: - - *259 + - *263 responses: '200': description: Response @@ -109863,9 +110189,9 @@ paths: type: integer repositories: type: array - items: *249 + items: *253 examples: - default: *788 + default: *792 '401': *25 '403': *29 '404': *6 @@ -109890,7 +110216,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: - - *259 + - *263 requestBody: required: true content: @@ -109944,7 +110270,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: - - *259 + - *263 - name: repository_id in: path required: true @@ -109977,7 +110303,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: - - *259 + - *263 - name: repository_id in: path required: true @@ -110009,15 +110335,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: - - *344 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '304': *37 '500': *40 '401': *25 @@ -110043,7 +110369,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: - - *344 + - *348 requestBody: required: false content: @@ -110073,9 +110399,9 @@ paths: description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '401': *25 '403': *29 '404': *6 @@ -110097,7 +110423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *344 + - *348 responses: '202': *39 '304': *37 @@ -110126,13 +110452,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: - - *344 + - *348 responses: '202': description: Response content: application/json: - schema: &789 + schema: &793 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -110173,7 +110499,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &790 + default: &794 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -110205,7 +110531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *344 + - *348 - name: export_id in: path required: true @@ -110218,9 +110544,9 @@ paths: description: Response content: application/json: - schema: *789 + schema: *793 examples: - default: *790 + default: *794 '404': *6 x-github: githubCloudOnly: false @@ -110241,7 +110567,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *344 + - *348 responses: '200': description: Response @@ -110257,9 +110583,9 @@ paths: type: integer machines: type: array - items: *791 + items: *795 examples: - default: *792 + default: *796 '304': *37 '500': *40 '401': *25 @@ -110288,7 +110614,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: - - *344 + - *348 requestBody: required: true content: @@ -110338,13 +110664,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *454 + repository: *458 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *550 - required: *551 + properties: *554 + required: *555 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -111118,15 +111444,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: - - *344 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '304': *37 '500': *40 '400': *14 @@ -111158,15 +111484,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: - - *344 + - *348 responses: '200': description: Response content: application/json: - schema: *342 + schema: *346 examples: - default: *549 + default: *553 '500': *40 '401': *25 '403': *29 @@ -111196,9 +111522,9 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: &804 + default: &808 value: - id: 197 name: hello_docker @@ -111299,7 +111625,7 @@ paths: application/json: schema: type: array - items: &793 + items: &797 title: Email description: Email type: object @@ -111364,9 +111690,9 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: - default: &806 + default: &810 value: - email: octocat@github.com verified: true @@ -111441,7 +111767,7 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: default: value: @@ -111551,7 +111877,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '304': *37 @@ -111584,7 +111910,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 '304': *37 @@ -111606,7 +111932,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: - - *180 + - *182 responses: '204': description: if the person is followed by the authenticated user @@ -111636,7 +111962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -111661,7 +111987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *180 + - *182 responses: '204': description: Response @@ -111697,7 +112023,7 @@ paths: application/json: schema: type: array - items: &794 + items: &798 title: GPG Key description: A unique encryption key type: object @@ -111828,7 +112154,7 @@ paths: - subkeys - revoked examples: - default: &820 + default: &824 value: - id: 3 name: Octocat's GPG Key @@ -111913,9 +112239,9 @@ paths: description: Response content: application/json: - schema: *794 + schema: *798 examples: - default: &795 + default: &799 value: id: 3 name: Octocat's GPG Key @@ -111972,7 +112298,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: - - &796 + - &800 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -111984,9 +112310,9 @@ paths: description: Response content: application/json: - schema: *794 + schema: *798 examples: - default: *795 + default: *799 '404': *6 '304': *37 '403': *29 @@ -112009,7 +112335,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: - - *796 + - *800 responses: '204': description: Response @@ -112200,7 +112526,7 @@ paths: type: array items: *69 examples: - default: *244 + default: *248 headers: Link: *43 '404': *6 @@ -112225,7 +112551,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *243 + - *247 responses: '204': description: Response @@ -112251,7 +112577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *243 + - *247 responses: '204': description: Response @@ -112285,12 +112611,12 @@ paths: application/json: schema: anyOf: - - *332 + - *336 - type: object properties: {} additionalProperties: false examples: - default: *333 + default: *337 '204': description: Response when there are no restrictions x-github: @@ -112314,7 +112640,7 @@ paths: required: true content: application/json: - schema: *630 + schema: *634 examples: default: value: @@ -112325,7 +112651,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *336 examples: default: value: @@ -112406,7 +112732,7 @@ paths: - closed - all default: open - - *340 + - *344 - name: sort description: What to sort results by. in: query @@ -112419,7 +112745,7 @@ paths: - comments default: created - *101 - - *189 + - *191 - *17 - *19 responses: @@ -112429,9 +112755,9 @@ paths: application/json: schema: type: array - items: *199 + items: *201 examples: - default: *341 + default: *345 headers: Link: *43 '404': *6 @@ -112464,7 +112790,7 @@ paths: application/json: schema: type: array - items: &797 + items: &801 title: Key description: Key type: object @@ -112565,9 +112891,9 @@ paths: description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: &798 + default: &802 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -112600,15 +112926,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: - - *659 + - *663 responses: '200': description: Response content: application/json: - schema: *797 + schema: *801 examples: - default: *798 + default: *802 '404': *6 '304': *37 '403': *29 @@ -112631,7 +112957,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: - - *659 + - *663 responses: '204': description: Response @@ -112664,7 +112990,7 @@ paths: application/json: schema: type: array - items: &799 + items: &803 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -112721,7 +113047,7 @@ paths: - id - type - login - plan: *203 + plan: *205 required: - billing_cycle - next_billing_date @@ -112732,7 +113058,7 @@ paths: - account - plan examples: - default: &800 + default: &804 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -112794,9 +113120,9 @@ paths: application/json: schema: type: array - items: *799 + items: *803 examples: - default: *800 + default: *804 headers: Link: *43 '304': *37 @@ -112836,7 +113162,7 @@ paths: application/json: schema: type: array - items: *345 + items: *349 examples: default: value: @@ -112944,7 +113270,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -113027,7 +113353,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -113095,7 +113421,7 @@ paths: application/json: schema: type: array - items: *347 + items: *351 examples: default: value: @@ -113348,7 +113674,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -113528,7 +113854,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *348 + - *352 - name: exclude in: query required: false @@ -113541,7 +113867,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *351 examples: default: value: @@ -113735,7 +114061,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *348 + - *352 responses: '302': description: Response @@ -113761,7 +114087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *348 + - *352 responses: '204': description: Response @@ -113790,8 +114116,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *348 - - *801 + - *352 + - *805 responses: '204': description: Response @@ -113815,7 +114141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *348 + - *352 - *17 - *19 responses: @@ -113825,9 +114151,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 '404': *6 @@ -113864,7 +114190,7 @@ paths: type: array items: *64 examples: - default: *802 + default: *806 headers: Link: *43 '304': *37 @@ -113906,7 +114232,7 @@ paths: - docker - nuget - container - - *803 + - *807 - *19 - *17 responses: @@ -113916,10 +114242,10 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *804 - '400': *805 + default: *808 + '400': *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -113939,16 +114265,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: - - *355 - - *356 + - *359 + - *360 responses: '200': description: Response content: application/json: - schema: *353 + schema: *357 examples: - default: &821 + default: &825 value: id: 40201 name: octo-name @@ -114061,8 +114387,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: - - *355 - - *356 + - *359 + - *360 responses: '204': description: Response @@ -114092,8 +114418,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: - - *355 - - *356 + - *359 + - *360 - name: token description: package token schema: @@ -114125,8 +114451,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: - - *355 - - *356 + - *359 + - *360 - *19 - *17 - name: state @@ -114146,7 +114472,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -114195,15 +114521,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: - - *355 - - *356 - - *358 + - *359 + - *360 + - *362 responses: '200': description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -114239,9 +114565,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: - - *355 - - *356 - - *358 + - *359 + - *360 + - *362 responses: '204': description: Response @@ -114271,9 +114597,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: - - *355 - - *356 - - *358 + - *359 + - *360 + - *362 responses: '204': description: Response @@ -114329,7 +114655,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *373 examples: default: value: @@ -114401,9 +114727,9 @@ paths: application/json: schema: type: array - items: *793 + items: *797 examples: - default: *806 + default: *810 headers: Link: *43 '304': *37 @@ -114516,7 +114842,7 @@ paths: type: array items: *69 examples: - default: &813 + default: &817 summary: Default response value: - id: 1296269 @@ -114820,9 +115146,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *456 + default: *460 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -114860,9 +115186,9 @@ paths: application/json: schema: type: array - items: *632 + items: *636 examples: - default: *807 + default: *811 headers: Link: *43 '304': *37 @@ -114885,7 +115211,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *336 + - *340 responses: '204': description: Response @@ -114908,7 +115234,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *336 + - *340 responses: '204': description: Response @@ -114941,7 +115267,7 @@ paths: application/json: schema: type: array - items: &808 + items: &812 title: Social account description: Social media account type: object @@ -114956,7 +115282,7 @@ paths: - provider - url examples: - default: &809 + default: &813 value: - provider: twitter url: https://twitter.com/github @@ -115018,9 +115344,9 @@ paths: application/json: schema: type: array - items: *808 + items: *812 examples: - default: *809 + default: *813 '422': *15 '304': *37 '404': *6 @@ -115107,7 +115433,7 @@ paths: application/json: schema: type: array - items: &810 + items: &814 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -115127,7 +115453,7 @@ paths: - title - created_at examples: - default: &824 + default: &828 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115193,9 +115519,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *814 examples: - default: &811 + default: &815 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115226,7 +115552,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: - - &812 + - &816 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -115238,9 +115564,9 @@ paths: description: Response content: application/json: - schema: *810 + schema: *814 examples: - default: *811 + default: *815 '404': *6 '304': *37 '403': *29 @@ -115263,7 +115589,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: - - *812 + - *816 responses: '204': description: Response @@ -115292,7 +115618,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: - - &825 + - &829 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 @@ -115317,11 +115643,11 @@ paths: type: array items: *69 examples: - default-response: *813 + default-response: *817 application/vnd.github.v3.star+json: schema: type: array - items: &826 + items: &830 title: Starred Repository description: Starred Repository type: object @@ -115477,8 +115803,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response if this repository is starred by you @@ -115506,8 +115832,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -115531,8 +115857,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: - - *441 - - *442 + - *445 + - *446 responses: '204': description: Response @@ -115565,9 +115891,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 '304': *37 @@ -115604,7 +115930,7 @@ paths: application/json: schema: type: array - items: *422 + items: *426 examples: default: value: @@ -115682,7 +116008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *205 + - *207 responses: '200': description: Response @@ -115690,10 +116016,10 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *790 + - *789 examples: - default-response: &815 + default-response: &819 summary: Default response value: login: octocat @@ -115728,7 +116054,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &816 + response-with-git-hub-plan-information: &820 summary: Response with GitHub plan information value: login: octocat @@ -115788,7 +116114,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *814 + - *818 - *17 responses: '200': @@ -115799,7 +116125,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: example: ; rel="next" @@ -115829,7 +116155,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *180 + - *182 responses: '200': description: Response @@ -115837,11 +116163,11 @@ paths: application/json: schema: oneOf: - - *786 - - *785 + - *790 + - *789 examples: - default-response: *815 - response-with-git-hub-plan-information: *816 + default-response: *819 + response-with-git-hub-plan-information: *820 '404': *6 x-github: githubCloudOnly: false @@ -115867,7 +116193,7 @@ paths: - *17 - *99 - *100 - - *180 + - *182 requestBody: required: true content: @@ -115890,8 +116216,8 @@ paths: required: - subject_digests examples: - default: *817 - withPredicateType: *818 + default: *821 + withPredicateType: *822 responses: '200': description: Response @@ -115944,7 +116270,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *819 + default: *823 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -115962,7 +116288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *180 + - *182 requestBody: required: true content: @@ -116027,7 +116353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *180 + - *182 - name: subject_digest description: Subject Digest in: path @@ -116058,7 +116384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *180 + - *182 - name: attestation_id description: Attestation ID in: path @@ -116096,7 +116422,7 @@ paths: - *17 - *99 - *100 - - *180 + - *182 - name: subject_digest description: Subject Digest in: path @@ -116148,12 +116474,12 @@ paths: initiator: type: string examples: - default: *494 + default: *498 '201': description: Response content: application/json: - schema: *260 + schema: *264 examples: default: value: @@ -116179,7 +116505,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: - - *180 + - *182 responses: '200': description: Response @@ -116187,9 +116513,9 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *804 + default: *808 '403': *29 '401': *25 x-github: @@ -116212,7 +116538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116222,7 +116548,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -116293,7 +116619,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *180 + - *182 - *78 - *17 - *19 @@ -116304,7 +116630,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -116383,7 +116709,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116393,7 +116719,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -116460,7 +116786,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116472,7 +116798,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -116491,7 +116817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116503,7 +116829,7 @@ paths: type: array items: *4 examples: - default: *179 + default: *181 headers: Link: *43 x-github: @@ -116522,7 +116848,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: - - *180 + - *182 - name: target_user in: path required: true @@ -116549,8 +116875,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *180 - - *189 + - *182 + - *191 - *17 - *19 responses: @@ -116560,9 +116886,9 @@ paths: application/json: schema: type: array - items: *190 + items: *192 examples: - default: *191 + default: *193 headers: Link: *43 '422': *15 @@ -116583,7 +116909,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: - - *180 + - *182 - *17 - *19 responses: @@ -116593,9 +116919,9 @@ paths: application/json: schema: type: array - items: *794 + items: *798 examples: - default: *820 + default: *824 headers: Link: *43 x-github: @@ -116619,7 +116945,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *180 + - *182 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -116691,7 +117017,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: - - *180 + - *182 responses: '200': description: Response @@ -116699,7 +117025,7 @@ paths: application/json: schema: *22 examples: - default: *629 + default: *633 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116717,7 +117043,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116772,7 +117098,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -116784,7 +117110,7 @@ paths: type: array items: *64 examples: - default: *802 + default: *806 headers: Link: *43 x-github: @@ -116823,8 +117149,8 @@ paths: - docker - nuget - container - - *803 - - *180 + - *807 + - *182 - *19 - *17 responses: @@ -116834,12 +117160,12 @@ paths: application/json: schema: type: array - items: *353 + items: *357 examples: - default: *804 + default: *808 '403': *29 '401': *25 - '400': *805 + '400': *809 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116859,17 +117185,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 responses: '200': description: Response content: application/json: - schema: *353 + schema: *357 examples: - default: *821 + default: *825 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116890,9 +117216,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 responses: '204': description: Response @@ -116924,9 +117250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 - name: token description: package token schema: @@ -116958,9 +117284,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: - - *355 - - *356 - - *180 + - *359 + - *360 + - *182 responses: '200': description: Response @@ -116968,7 +117294,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -117026,16 +117352,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: - - *355 - - *356 - - *358 - - *180 + - *359 + - *360 + - *362 + - *182 responses: '200': description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -117070,10 +117396,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *355 - - *356 - - *180 - - *358 + - *359 + - *360 + - *182 + - *362 responses: '204': description: Response @@ -117105,10 +117431,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *355 - - *356 - - *180 - - *358 + - *359 + - *360 + - *182 + - *362 responses: '204': description: Response @@ -117134,7 +117460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *180 + - *182 - name: state description: Indicates the state of the projects to return. in: query @@ -117155,7 +117481,7 @@ paths: application/json: schema: type: array - items: *369 + items: *373 examples: default: value: @@ -117213,7 +117539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *180 + - *182 - name: q description: Limit results to projects of the specified type. in: query @@ -117230,9 +117556,9 @@ paths: application/json: schema: type: array - items: *370 + items: *374 examples: - default: *371 + default: *375 headers: Link: *43 '304': *37 @@ -117254,16 +117580,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *372 - - *180 + - *376 + - *182 responses: '200': description: Response content: application/json: - schema: *370 + schema: *374 examples: - default: *371 + default: *375 headers: Link: *43 '304': *37 @@ -117285,8 +117611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *372 - - *180 + - *376 + - *182 - *17 - *99 - *100 @@ -117297,9 +117623,9 @@ paths: application/json: schema: type: array - items: *373 + items: *377 examples: - default: *374 + default: *378 headers: Link: *43 '304': *37 @@ -117321,17 +117647,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *372 - - *822 - - *180 + - *376 + - *826 + - *182 responses: '200': description: Response content: application/json: - schema: *373 + schema: *377 examples: - default: *374 + default: *378 headers: Link: *43 '304': *37 @@ -117354,8 +117680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *372 - - *180 + - *376 + - *182 - *99 - *100 - *17 @@ -117384,9 +117710,9 @@ paths: application/json: schema: type: array - items: *380 + items: *384 examples: - default: *381 + default: *385 headers: Link: *43 '304': *37 @@ -117407,8 +117733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *180 - - *372 + - *182 + - *376 requestBody: required: true description: Details of the item to add to the project. @@ -117445,10 +117771,10 @@ paths: description: Response content: application/json: - schema: *823 + schema: *827 examples: - issue: *379 - pull_request: *379 + issue: *383 + pull_request: *383 '304': *37 '403': *29 '401': *25 @@ -117468,9 +117794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *372 - - *180 - - *382 + - *376 + - *182 + - *386 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -117487,9 +117813,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - default: *381 + default: *385 headers: Link: *43 '304': *37 @@ -117510,9 +117836,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *372 - - *180 - - *382 + - *376 + - *182 + - *386 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -117582,13 +117908,13 @@ paths: description: Response content: application/json: - schema: *380 + schema: *384 examples: - text_field: *381 - number_field: *381 - date_field: *381 - single_select_field: *381 - iteration_field: *381 + text_field: *385 + number_field: *385 + date_field: *385 + single_select_field: *385 + iteration_field: *385 '401': *25 '403': *29 '404': *6 @@ -117608,9 +117934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *372 - - *180 - - *382 + - *376 + - *182 + - *386 responses: '204': description: Response @@ -117637,7 +117963,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: - - *180 + - *182 - *17 - *19 responses: @@ -117647,7 +117973,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -117726,7 +118052,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: - - *180 + - *182 - *17 - *19 responses: @@ -117736,7 +118062,7 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: default: value: @@ -117813,7 +118139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *180 + - *182 - name: type description: Limit results to repositories of the specified type. in: query @@ -117856,9 +118182,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -117882,15 +118208,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: - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: *409 + schema: *413 examples: - default: *410 + default: *414 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117912,20 +118238,150 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *182 + - *173 + - *220 + - *174 + - *222 + - *223 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *29 + '404': *6 + '500': *40 + '503': *167 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -117942,15 +118398,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: - - *180 + - *182 responses: '200': description: Response content: application/json: - schema: *416 + schema: *420 examples: - default: *417 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -117970,11 +118426,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *180 - - *218 - - *219 - - *220 - - *221 + - *182 + - *173 + - *224 + - *174 + - *225 responses: '200': description: Response when getting a billing usage report @@ -118063,7 +118519,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: - - *180 + - *182 - *17 - *19 responses: @@ -118073,9 +118529,9 @@ paths: application/json: schema: type: array - items: *808 + items: *812 examples: - default: *809 + default: *813 headers: Link: *43 x-github: @@ -118095,7 +118551,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: - - *180 + - *182 - *17 - *19 responses: @@ -118105,9 +118561,9 @@ paths: application/json: schema: type: array - items: *810 + items: *814 examples: - default: *824 + default: *828 headers: Link: *43 x-github: @@ -118131,8 +118587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *180 - - *825 + - *182 + - *829 - *101 - *17 - *19 @@ -118144,11 +118600,11 @@ paths: schema: anyOf: - type: array - items: *826 + items: *830 - type: array items: *69 examples: - default-response: *813 + default-response: *817 headers: Link: *43 x-github: @@ -118167,7 +118623,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *180 + - *182 - *17 - *19 responses: @@ -118177,9 +118633,9 @@ paths: application/json: schema: type: array - items: *249 + items: *253 examples: - default: *359 + default: *363 headers: Link: *43 x-github: @@ -118307,7 +118763,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &827 + enterprise: &831 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -118365,7 +118821,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &828 + installation: &832 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -118384,7 +118840,7 @@ x-webhooks: required: - id - node_id - organization: &829 + organization: &833 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -118444,13 +118900,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &830 + repository: &834 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: &867 + properties: &871 id: description: Unique identifier of the repository example: 42 @@ -118470,8 +118926,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *200 - required: *201 + properties: *202 + required: *203 nullable: true organization: title: Simple User @@ -119133,7 +119589,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &868 + required: &872 - archive_url - assignees_url - blobs_url @@ -119284,10 +119740,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -119363,11 +119819,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - rule: &831 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: &835 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) @@ -119590,11 +120046,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - rule: *831 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -119777,11 +120233,11 @@ x-webhooks: - everyone required: - from - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - rule: *831 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + rule: *835 sender: *4 required: - action @@ -119852,7 +120308,7 @@ x-webhooks: required: true content: application/json: - schema: &834 + schema: &838 title: Exemption request cancellation event type: object properties: @@ -119860,11 +120316,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: &832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: &836 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -120097,7 +120553,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &833 + items: &837 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -120205,7 +120661,7 @@ x-webhooks: required: true content: application/json: - schema: &835 + schema: &839 title: Exemption request completed event type: object properties: @@ -120213,11 +120669,11 @@ x-webhooks: type: string enum: - completed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 sender: *4 required: - action @@ -120287,7 +120743,7 @@ x-webhooks: required: true content: application/json: - schema: &836 + schema: &840 title: Exemption request created event type: object properties: @@ -120295,11 +120751,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 sender: *4 required: - action @@ -120369,7 +120825,7 @@ x-webhooks: required: true content: application/json: - schema: &837 + schema: &841 title: Exemption response dismissed event type: object properties: @@ -120377,12 +120833,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 - exemption_response: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 sender: *4 required: - action @@ -120454,7 +120910,7 @@ x-webhooks: required: true content: application/json: - schema: &838 + schema: &842 title: Exemption response submitted event type: object properties: @@ -120462,12 +120918,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - exemption_request: *832 - exemption_response: *833 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + exemption_request: *836 + exemption_response: *837 sender: *4 required: - action @@ -120540,7 +120996,7 @@ x-webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120607,7 +121063,7 @@ x-webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120674,7 +121130,7 @@ x-webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120741,7 +121197,7 @@ x-webhooks: required: true content: application/json: - schema: *837 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120809,7 +121265,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -120887,7 +121343,7 @@ x-webhooks: type: string enum: - completed - check_run: &840 + check_run: &844 title: CheckRun description: A check performed on the code of a given code change type: object @@ -120940,8 +121396,8 @@ x-webhooks: type: string pull_requests: type: array - items: *511 - repository: *249 + items: *515 + repository: *253 status: example: completed type: string @@ -120978,7 +121434,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *839 + deployment: *843 details_url: example: https://example.com type: string @@ -121028,7 +121484,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *511 + items: *515 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -121063,10 +121519,10 @@ x-webhooks: - output - app - pull_requests - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -121459,11 +121915,11 @@ x-webhooks: type: string enum: - created - check_run: *840 - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + check_run: *844 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -121859,11 +122315,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *840 - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + check_run: *844 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 requested_action: description: The action requested by the user. type: object @@ -122268,11 +122724,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *840 - installation: *828 - enterprise: *827 - organization: *829 - repository: *830 + check_run: *844 + installation: *832 + enterprise: *831 + organization: *833 + repository: *834 sender: *4 required: - check_run @@ -123249,10 +123705,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -123922,10 +124378,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -124589,10 +125045,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -124758,7 +125214,7 @@ x-webhooks: required: - login - id - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -124903,20 +125359,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &841 + commit_oid: &845 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: *827 - installation: *828 - organization: *829 - ref: &842 + enterprise: *831 + installation: *832 + organization: *833 + ref: &846 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: *830 + repository: *834 sender: *4 required: - action @@ -125081,7 +125537,7 @@ x-webhooks: required: - login - id - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125311,12 +125767,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -125411,7 +125867,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -125582,12 +126038,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -125753,7 +126209,7 @@ x-webhooks: required: - login - id - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -125919,12 +126375,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -126024,7 +126480,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126192,16 +126648,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 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: *830 + repository: *834 sender: *4 required: - action @@ -126298,7 +126754,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *524 + dismissed_comment: *528 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -126438,12 +126894,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *841 - enterprise: *827 - installation: *828 - organization: *829 - ref: *842 - repository: *830 + commit_oid: *845 + enterprise: *831 + installation: *832 + organization: *833 + ref: *846 + repository: *834 sender: *4 required: - action @@ -126700,10 +127156,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -126783,18 +127239,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *829 - pusher_type: &843 + organization: *833 + pusher_type: &847 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &844 + ref: &848 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -126804,7 +127260,7 @@ x-webhooks: enum: - tag - branch - repository: *830 + repository: *834 sender: *4 required: - ref @@ -126887,9 +127343,9 @@ x-webhooks: enum: - created definition: *129 - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -126974,9 +127430,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -127054,9 +127510,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *129 - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -127134,9 +127590,9 @@ x-webhooks: enum: - updated definition: *129 - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -127213,19 +127669,19 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - repository: *830 - organization: *829 + enterprise: *831 + installation: *832 + repository: *834 + organization: *833 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *384 + items: *388 old_property_values: type: array description: The old custom property values for the repository. - items: *384 + items: *388 required: - action - repository @@ -127301,18 +127757,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - pusher_type: *843 - ref: *844 + enterprise: *831 + installation: *832 + organization: *833 + pusher_type: *847 + ref: *848 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *830 + repository: *834 sender: *4 required: - ref @@ -127396,11 +127852,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127484,11 +127940,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127572,11 +128028,11 @@ x-webhooks: type: string enum: - created - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127658,11 +128114,11 @@ x-webhooks: type: string enum: - dismissed - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127744,11 +128200,11 @@ x-webhooks: type: string enum: - fixed - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127831,11 +128287,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127917,11 +128373,11 @@ x-webhooks: type: string enum: - reopened - alert: *579 - installation: *828 - organization: *829 - enterprise: *827 - repository: *830 + alert: *583 + installation: *832 + organization: *833 + enterprise: *831 + repository: *834 sender: *4 required: - action @@ -127998,9 +128454,9 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - key: &845 + enterprise: *831 + installation: *832 + key: &849 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -128036,8 +128492,8 @@ x-webhooks: - verified - created_at - read_only - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -128114,11 +128570,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - key: *845 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + key: *849 + organization: *833 + repository: *834 sender: *4 required: - action @@ -128679,12 +129135,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: &849 + workflow: &853 title: Workflow type: object nullable: true @@ -129410,13 +129866,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *585 + deployment: *589 pull_requests: type: array - items: *678 - repository: *830 - organization: *829 - installation: *828 + items: *682 + repository: *834 + organization: *833 + installation: *832 sender: *4 responses: '200': @@ -129487,7 +129943,7 @@ x-webhooks: type: string enum: - approved - approver: &846 + approver: &850 type: object properties: avatar_url: @@ -129530,11 +129986,11 @@ x-webhooks: type: string comment: type: string - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - reviewers: &847 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: &851 type: array items: type: object @@ -129613,7 +130069,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &848 + workflow_job_run: &852 type: object properties: conclusion: @@ -130344,18 +130800,18 @@ x-webhooks: type: string enum: - rejected - approver: *846 + approver: *850 comment: type: string - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - reviewers: *847 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + reviewers: *851 sender: *4 since: type: string - workflow_job_run: *848 + workflow_job_run: *852 workflow_job_runs: type: array items: @@ -131059,13 +131515,13 @@ x-webhooks: type: string enum: - requested - enterprise: *827 + enterprise: *831 environment: type: string - installation: *828 - organization: *829 - repository: *830 - requestor: &854 + installation: *832 + organization: *833 + repository: *834 + requestor: &858 title: User type: object nullable: true @@ -132964,12 +133420,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 workflow_run: title: Deployment Workflow Run type: object @@ -133649,7 +134105,7 @@ x-webhooks: type: string enum: - answered - answer: &852 + answer: &856 type: object properties: author_association: @@ -133806,7 +134262,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &850 + discussion: &854 title: Discussion description: A Discussion in a repository. type: object @@ -134092,7 +134548,7 @@ x-webhooks: - id labels: type: array - items: *642 + items: *646 required: - repository_url - category @@ -134114,10 +134570,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134244,11 +134700,11 @@ x-webhooks: - from required: - category - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134331,11 +134787,11 @@ x-webhooks: type: string enum: - closed - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134417,7 +134873,7 @@ x-webhooks: type: string enum: - created - comment: &851 + comment: &855 type: object properties: author_association: @@ -134574,11 +135030,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134661,12 +135117,12 @@ x-webhooks: type: string enum: - deleted - comment: *851 - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + comment: *855 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134761,12 +135217,12 @@ x-webhooks: - from required: - body - comment: *851 - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + comment: *855 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134850,11 +135306,11 @@ x-webhooks: type: string enum: - created - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -134936,11 +135392,11 @@ x-webhooks: type: string enum: - deleted - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135040,11 +135496,11 @@ x-webhooks: type: string required: - from - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135126,10 +135582,10 @@ x-webhooks: type: string enum: - labeled - discussion: *850 - enterprise: *827 - installation: *828 - label: &853 + discussion: *854 + enterprise: *831 + installation: *832 + label: &857 title: Label type: object properties: @@ -135161,8 +135617,8 @@ x-webhooks: - color - default - description - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135245,11 +135701,11 @@ x-webhooks: type: string enum: - locked - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135331,11 +135787,11 @@ x-webhooks: type: string enum: - pinned - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135417,11 +135873,11 @@ x-webhooks: type: string enum: - reopened - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135506,16 +135962,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *850 - new_repository: *830 + new_discussion: *854 + new_repository: *834 required: - new_discussion - new_repository - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135598,10 +136054,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *850 - old_answer: *852 - organization: *829 - repository: *830 + discussion: *854 + old_answer: *856 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135683,12 +136139,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *850 - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135771,11 +136227,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135857,11 +136313,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *850 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + discussion: *854 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -135930,7 +136386,7 @@ x-webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -135993,7 +136449,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136059,7 +136515,7 @@ x-webhooks: required: true content: application/json: - schema: *834 + schema: *838 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136125,7 +136581,7 @@ x-webhooks: required: true content: application/json: - schema: *835 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136191,7 +136647,7 @@ x-webhooks: required: true content: application/json: - schema: *836 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136257,7 +136713,7 @@ x-webhooks: required: true content: application/json: - schema: *837 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136323,7 +136779,7 @@ x-webhooks: required: true content: application/json: - schema: *838 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -136390,7 +136846,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *827 + enterprise: *831 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -137050,9 +137506,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - forkee @@ -137198,9 +137654,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pages: description: The pages that were updated. type: array @@ -137237,7 +137693,7 @@ x-webhooks: - action - sha - html_url - repository: *830 + repository: *834 sender: *4 required: - pages @@ -137313,10 +137769,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: &855 + organization: *833 + repositories: &859 description: An array of repository objects that the installation can access. type: array @@ -137342,8 +137798,8 @@ x-webhooks: - name - full_name - private - repository: *830 - requester: *854 + repository: *834 + requester: *858 sender: *4 required: - action @@ -137418,11 +137874,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -137498,11 +137954,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -137578,10 +138034,10 @@ x-webhooks: type: string enum: - added - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories_added: &856 + organization: *833 + repositories_added: &860 description: An array of repository objects, which were added to the installation. type: array @@ -137627,15 +138083,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *830 - repository_selection: &857 + repository: *834 + repository_selection: &861 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *854 + requester: *858 sender: *4 required: - action @@ -137714,10 +138170,10 @@ x-webhooks: type: string enum: - removed - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories_added: *856 + organization: *833 + repositories_added: *860 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -137744,9 +138200,9 @@ x-webhooks: - name - full_name - private - repository: *830 - repository_selection: *857 - requester: *854 + repository: *834 + repository_selection: *861 + requester: *858 sender: *4 required: - action @@ -137825,11 +138281,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -138008,10 +138464,10 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 target_type: type: string @@ -138090,11 +138546,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *827 + enterprise: *831 installation: *22 - organization: *829 - repositories: *855 - repository: *830 + organization: *833 + repositories: *859 + repository: *834 requester: nullable: true sender: *4 @@ -138218,8 +138674,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *184 - required: *185 + properties: *186 + required: *187 reactions: title: Reactions type: object @@ -138346,8 +138802,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -139141,8 +139597,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139158,7 +139614,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -139491,8 +139947,8 @@ x-webhooks: - state - locked - assignee - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -139572,7 +140028,7 @@ x-webhooks: type: string enum: - deleted - comment: &858 + comment: &862 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -139737,8 +140193,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -140528,8 +140984,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 state: description: State of the issue; either 'open' or 'closed' type: string @@ -140545,7 +141001,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -140880,8 +141336,8 @@ x-webhooks: - state - locked - assignee - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -140961,7 +141417,7 @@ x-webhooks: type: string enum: - edited - changes: &887 + changes: &891 description: The changes to the comment. type: object properties: @@ -140973,9 +141429,9 @@ x-webhooks: type: string required: - from - comment: *858 - enterprise: *827 - installation: *828 + comment: *862 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -141768,8 +142224,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141785,7 +142241,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -142118,8 +142574,8 @@ x-webhooks: - state - locked - assignee - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142203,15 +142659,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 + blocking_issue: *201 blocking_issue_repo: *69 - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142299,15 +142755,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 + blocking_issue: *201 blocking_issue_repo: *69 - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142394,15 +142850,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 - installation: *828 - organization: *829 - repository: *830 + blocking_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142490,15 +142946,15 @@ x-webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *199 + blocked_issue: *201 blocked_issue_repo: *69 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *199 - installation: *828 - organization: *829 - repository: *830 + blocking_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -142583,10 +143039,10 @@ x-webhooks: type: string enum: - assigned - assignee: *854 - enterprise: *827 - installation: *828 - issue: &861 + assignee: *858 + enterprise: *831 + installation: *832 + issue: &865 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -143375,11 +143831,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143395,7 +143851,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -143496,8 +143952,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -143577,8 +144033,8 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -144372,11 +144828,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144392,7 +144848,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -144628,8 +145084,8 @@ x-webhooks: required: - state - closed_at - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -144708,8 +145164,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145494,11 +145950,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145514,7 +145970,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -145614,8 +146070,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -145694,8 +146150,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -146502,11 +146958,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146522,7 +146978,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -146601,7 +147057,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &859 + milestone: &863 title: Milestone description: A collection of related issues and pull requests. type: object @@ -146739,8 +147195,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -146839,8 +147295,8 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -147629,11 +148085,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147646,7 +148102,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *337 + type: *341 title: description: Title of the issue type: string @@ -147750,9 +148206,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *829 - repository: *830 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -147832,8 +148288,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148621,11 +149077,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148638,7 +149094,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *337 + type: *341 title: description: Title of the issue type: string @@ -148742,9 +149198,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *853 - organization: *829 - repository: *830 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -148824,8 +149280,8 @@ x-webhooks: type: string enum: - locked - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149637,11 +150093,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149654,7 +150110,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *337 + type: *341 title: description: Title of the issue type: string @@ -149735,8 +150191,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -149815,8 +150271,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150622,11 +151078,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150642,7 +151098,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -150720,9 +151176,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *859 - organization: *829 - repository: *830 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -151590,11 +152046,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151687,7 +152143,7 @@ x-webhooks: required: - login - id - type: *337 + type: *341 required: - id - number @@ -152156,8 +152612,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152946,11 +153402,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152966,7 +153422,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -153066,8 +153522,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -153147,9 +153603,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *827 - installation: *828 - issue: &860 + enterprise: *831 + installation: *832 + issue: &864 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -153932,11 +154388,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153952,7 +154408,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -154052,8 +154508,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -154132,8 +154588,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154943,11 +155399,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155041,9 +155497,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *337 - organization: *829 - repository: *830 + type: *341 + organization: *833 + repository: *834 sender: *4 required: - action @@ -155909,11 +156365,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155929,7 +156385,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -156497,11 +156953,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *827 - installation: *828 - issue: *860 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156581,12 +157037,12 @@ x-webhooks: type: string enum: - typed - enterprise: *827 - installation: *828 - issue: *861 - type: *337 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + type: *341 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156667,7 +157123,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &890 + assignee: &894 title: User type: object nullable: true @@ -156737,11 +157193,11 @@ x-webhooks: required: - login - id - enterprise: *827 - installation: *828 - issue: *861 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156820,12 +157276,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *827 - installation: *828 - issue: *861 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -156905,8 +157361,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157716,11 +158172,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *771 - issue_dependencies_summary: *772 + sub_issues_summary: *775 + issue_dependencies_summary: *776 issue_field_values: type: array - items: *773 + items: *777 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157736,7 +158192,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *337 + type: *341 updated_at: type: string format: date-time @@ -157814,8 +158270,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -157895,11 +158351,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *827 - installation: *828 - issue: *860 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *864 + organization: *833 + repository: *834 sender: *4 required: - action @@ -157978,12 +158434,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *827 - installation: *828 - issue: *861 - type: *337 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + issue: *865 + type: *341 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158063,11 +158519,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158145,11 +158601,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158259,11 +158715,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - label: *853 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + label: *857 + organization: *833 + repository: *834 sender: *4 required: - action @@ -158345,9 +158801,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: &862 + enterprise: *831 + installation: *832 + marketplace_purchase: &866 title: Marketplace Purchase type: object required: @@ -158430,8 +158886,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *829 - previous_marketplace_purchase: &863 + organization: *833 + previous_marketplace_purchase: &867 title: Marketplace Purchase type: object properties: @@ -158511,7 +158967,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *830 + repository: *834 sender: *4 required: - action @@ -158591,10 +159047,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: *862 - organization: *829 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158677,7 +159133,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *830 + repository: *834 sender: *4 required: - action @@ -158759,10 +159215,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: *862 - organization: *829 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -158844,7 +159300,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *830 + repository: *834 sender: *4 required: - action @@ -158925,8 +159381,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 marketplace_purchase: title: Marketplace Purchase type: object @@ -159008,9 +159464,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *829 - previous_marketplace_purchase: *863 - repository: *830 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -159090,12 +159546,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *827 - installation: *828 - marketplace_purchase: *862 - organization: *829 - previous_marketplace_purchase: *863 - repository: *830 + enterprise: *831 + installation: *832 + marketplace_purchase: *866 + organization: *833 + previous_marketplace_purchase: *867 + repository: *834 sender: *4 required: - action @@ -159197,11 +159653,11 @@ x-webhooks: type: string required: - to - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159301,11 +159757,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159384,11 +159840,11 @@ x-webhooks: type: string enum: - removed - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 sender: *4 required: - action @@ -159466,11 +159922,11 @@ x-webhooks: type: string enum: - added - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159546,7 +160002,7 @@ x-webhooks: required: - login - id - team: &864 + team: &868 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -159769,11 +160225,11 @@ x-webhooks: type: string enum: - removed - enterprise: *827 - installation: *828 - member: *854 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + member: *858 + organization: *833 + repository: *834 scope: description: The scope of the membership. Currently, can only be `team`. @@ -159850,7 +160306,7 @@ x-webhooks: required: - login - id - team: *864 + team: *868 required: - action - scope @@ -159932,8 +160388,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *828 - merge_group: &866 + installation: *832 + merge_group: &870 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -159952,15 +160408,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *865 + head_commit: *869 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160046,10 +160502,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *828 - merge_group: *866 - organization: *829 - repository: *830 + installation: *832 + merge_group: *870 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160122,7 +160578,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 + enterprise: *831 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -160231,16 +160687,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *828 - organization: *829 + installation: *832 + organization: *833 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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -160321,11 +160777,11 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 - milestone: *859 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160404,9 +160860,9 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - milestone: &869 + enterprise: *831 + installation: *832 + milestone: &873 title: Milestone description: A collection of related issues and pull requests. type: object @@ -160543,8 +160999,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160623,11 +161079,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - milestone: *859 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160737,11 +161193,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - milestone: *859 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *863 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160821,11 +161277,11 @@ x-webhooks: type: string enum: - opened - enterprise: *827 - installation: *828 - milestone: *869 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + milestone: *873 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160904,11 +161360,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *854 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -160987,11 +161443,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *854 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + blocked_user: *858 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161070,9 +161526,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - membership: &870 + enterprise: *831 + installation: *832 + membership: &874 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -161179,8 +161635,8 @@ x-webhooks: - role - organization_url - user - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161258,11 +161714,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *827 - installation: *828 - membership: *870 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + membership: *874 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161341,8 +161797,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -161458,10 +161914,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 - user: *854 + user: *858 required: - action - invitation @@ -161539,11 +161995,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *827 - installation: *828 - membership: *870 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + membership: *874 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161630,11 +162086,11 @@ x-webhooks: properties: from: type: string - enterprise: *827 - installation: *828 - membership: *870 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + membership: *874 + organization: *833 + repository: *834 sender: *4 required: - action @@ -161710,9 +162166,9 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -162211,7 +162667,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &871 + items: &875 title: Ruby Gems metadata type: object properties: @@ -162306,7 +162762,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -162382,9 +162838,9 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 package: description: Information about the package. type: object @@ -162737,7 +163193,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *871 + items: *875 source_url: type: string format: uri @@ -162807,7 +163263,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -162984,12 +163440,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *827 + enterprise: *831 id: type: integer - installation: *828 - organization: *829 - repository: *830 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - id @@ -163066,7 +163522,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &872 + personal_access_token_request: &876 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -163212,10 +163668,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *827 - organization: *829 + enterprise: *831 + organization: *833 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163292,11 +163748,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *872 - enterprise: *827 - organization: *829 + personal_access_token_request: *876 + enterprise: *831 + organization: *833 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163372,11 +163828,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *872 - enterprise: *827 - organization: *829 + personal_access_token_request: *876 + enterprise: *831 + organization: *833 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163451,11 +163907,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *872 - organization: *829 - enterprise: *827 + personal_access_token_request: *876 + organization: *833 + enterprise: *831 sender: *4 - installation: *828 + installation: *832 required: - action - personal_access_token_request @@ -163560,7 +164016,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *873 + last_response: *877 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -163592,8 +164048,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 zen: description: Random string of GitHub zen. @@ -163838,10 +164294,10 @@ x-webhooks: - from required: - note - enterprise: *827 - installation: *828 - organization: *829 - project_card: &874 + enterprise: *831 + installation: *832 + organization: *833 + project_card: &878 title: Project Card type: object properties: @@ -163960,7 +164416,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *830 + repository: *834 sender: *4 required: - action @@ -164041,11 +164497,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - project_card: *874 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *878 + repository: *834 sender: *4 required: - action @@ -164125,9 +164581,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 project_card: title: Project Card type: object @@ -164255,8 +164711,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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -164350,11 +164806,11 @@ x-webhooks: - from required: - note - enterprise: *827 - installation: *828 - organization: *829 - project_card: *874 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_card: *878 + repository: *834 sender: *4 required: - action @@ -164448,9 +164904,9 @@ x-webhooks: - from required: - column_id - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 project_card: allOf: - title: Project Card @@ -164640,7 +165096,7 @@ x-webhooks: type: string required: - after_id - repository: *830 + repository: *834 sender: *4 required: - action @@ -164720,10 +165176,10 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 - organization: *829 - project: &876 + enterprise: *831 + installation: *832 + organization: *833 + project: &880 title: Project type: object properties: @@ -164847,7 +165303,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *830 + repository: *834 sender: *4 required: - action @@ -164927,10 +165383,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - project_column: &875 + enterprise: *831 + installation: *832 + organization: *833 + project_column: &879 title: Project Column type: object properties: @@ -164969,7 +165425,7 @@ x-webhooks: - name - created_at - updated_at - repository: *830 + repository: *834 sender: *4 required: - action @@ -165048,18 +165504,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - project_column: *875 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *879 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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -165149,11 +165605,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - project_column: *875 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *879 + repository: *834 sender: *4 required: - action @@ -165233,11 +165689,11 @@ x-webhooks: type: string enum: - moved - enterprise: *827 - installation: *828 - organization: *829 - project_column: *875 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project_column: *879 + repository: *834 sender: *4 required: - action @@ -165317,11 +165773,11 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - project: *876 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 + repository: *834 sender: *4 required: - action @@ -165401,18 +165857,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - project: *876 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 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: *867 - required: *868 + properties: *871 + required: *872 nullable: true sender: *4 required: @@ -165514,11 +165970,11 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - project: *876 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 + repository: *834 sender: *4 required: - action @@ -165597,11 +166053,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *827 - installation: *828 - organization: *829 - project: *876 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + project: *880 + repository: *834 sender: *4 required: - action @@ -165682,9 +166138,9 @@ x-webhooks: type: string enum: - closed - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -165765,9 +166221,9 @@ x-webhooks: type: string enum: - created - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -165848,9 +166304,9 @@ x-webhooks: type: string enum: - deleted - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -165967,9 +166423,9 @@ x-webhooks: type: string to: type: string - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -166052,7 +166508,7 @@ x-webhooks: type: string enum: - archived - changes: &880 + changes: &884 type: object properties: archived_at: @@ -166066,9 +166522,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *828 - organization: *829 - projects_v2_item: &877 + installation: *832 + organization: *833 + projects_v2_item: &881 title: Projects v2 Item description: An item belonging to a project type: object @@ -166086,7 +166542,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *378 + content_type: *382 creator: *4 created_at: type: string @@ -166203,9 +166659,9 @@ x-webhooks: nullable: true to: type: string - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166287,9 +166743,9 @@ x-webhooks: type: string enum: - created - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166370,9 +166826,9 @@ x-webhooks: type: string enum: - deleted - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166478,7 +166934,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &878 + - &882 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -166500,7 +166956,7 @@ x-webhooks: required: - id - name - - &879 + - &883 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -166534,8 +166990,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *878 - - *879 + - *882 + - *883 required: - field_value - type: object @@ -166551,9 +167007,9 @@ x-webhooks: nullable: true required: - body - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166648,9 +167104,9 @@ x-webhooks: to: type: string nullable: true - installation: *828 - organization: *829 - projects_v2_item: *877 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166733,10 +167189,10 @@ x-webhooks: type: string enum: - restored - changes: *880 - installation: *828 - organization: *829 - projects_v2_item: *877 + changes: *884 + installation: *832 + organization: *833 + projects_v2_item: *881 sender: *4 required: - action @@ -166818,9 +167274,9 @@ x-webhooks: type: string enum: - reopened - installation: *828 - organization: *829 - projects_v2: *370 + installation: *832 + organization: *833 + projects_v2: *374 sender: *4 required: - action @@ -166901,14 +167357,14 @@ x-webhooks: type: string enum: - created - installation: *828 - organization: *829 - projects_v2_status_update: &883 + installation: *832 + organization: *833 + projects_v2_status_update: &887 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *881 - required: *882 + properties: *885 + required: *886 sender: *4 required: - action @@ -166989,9 +167445,9 @@ x-webhooks: type: string enum: - deleted - installation: *828 - organization: *829 - projects_v2_status_update: *883 + installation: *832 + organization: *833 + projects_v2_status_update: *887 sender: *4 required: - action @@ -167127,9 +167583,9 @@ x-webhooks: type: string format: date nullable: true - installation: *828 - organization: *829 - projects_v2_status_update: *883 + installation: *832 + organization: *833 + projects_v2_status_update: *887 sender: *4 required: - action @@ -167200,10 +167656,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - repository @@ -167280,13 +167736,13 @@ x-webhooks: type: string enum: - assigned - assignee: *854 - enterprise: *827 - installation: *828 - number: &884 + assignee: *858 + enterprise: *831 + installation: *832 + number: &888 description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -169569,7 +170025,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -169651,11 +170107,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -171933,7 +172389,7 @@ x-webhooks: - draft reason: type: string - repository: *830 + repository: *834 sender: *4 required: - action @@ -172015,11 +172471,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -174297,7 +174753,7 @@ x-webhooks: - draft reason: type: string - repository: *830 + repository: *834 sender: *4 required: - action @@ -174379,13 +174835,13 @@ x-webhooks: type: string enum: - closed - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: &885 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: &889 allOf: - - *678 + - *682 - type: object properties: allow_auto_merge: @@ -174447,7 +174903,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *830 + repository: *834 sender: *4 required: - action @@ -174528,12 +174984,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -174613,11 +175069,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *827 - milestone: *662 - number: *884 - organization: *829 - pull_request: &886 + enterprise: *831 + milestone: *666 + number: *888 + organization: *833 + pull_request: &890 title: Pull Request type: object properties: @@ -176880,7 +177336,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -176959,11 +177415,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -179245,7 +179701,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *830 + repository: *834 sender: *4 required: - action @@ -179369,12 +179825,12 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -179454,11 +179910,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -181725,7 +182181,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -181805,11 +182261,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *827 - installation: *828 - label: *853 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + label: *857 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -184091,7 +184547,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -184172,10 +184628,10 @@ x-webhooks: type: string enum: - locked - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -186455,7 +186911,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -186535,12 +186991,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *827 - milestone: *662 - number: *884 - organization: *829 - pull_request: *886 - repository: *830 + enterprise: *831 + milestone: *666 + number: *888 + organization: *833 + pull_request: *890 + repository: *834 sender: *4 required: - action @@ -186619,12 +187075,12 @@ x-webhooks: type: string enum: - opened - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -186705,12 +187161,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -186790,12 +187246,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *827 - installation: *828 - number: *884 - organization: *829 - pull_request: *885 - repository: *830 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 + pull_request: *889 + repository: *834 sender: *4 required: - action @@ -187161,9 +187617,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -189333,7 +189789,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *830 + repository: *834 sender: *4 required: - action @@ -189413,7 +189869,7 @@ x-webhooks: type: string enum: - deleted - comment: &888 + comment: &892 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. @@ -189698,9 +190154,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -191858,7 +192314,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *830 + repository: *834 sender: *4 required: - action @@ -191938,11 +192394,11 @@ x-webhooks: type: string enum: - edited - changes: *887 - comment: *888 - enterprise: *827 - installation: *828 - organization: *829 + changes: *891 + comment: *892 + enterprise: *831 + installation: *832 + organization: *833 pull_request: type: object properties: @@ -194103,7 +194559,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *830 + repository: *834 sender: *4 required: - action @@ -194184,9 +194640,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -196359,7 +196815,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 + repository: *834 review: description: The review that was affected. type: object @@ -196606,9 +197062,9 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -198662,8 +199118,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 - review: &889 + repository: *834 + review: &893 description: The review that was affected. type: object properties: @@ -198896,12 +199352,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -201184,7 +201640,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_reviewer: title: User type: object @@ -201268,12 +201724,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -203563,7 +204019,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -203755,12 +204211,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -206045,7 +206501,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_reviewer: title: User type: object @@ -206130,12 +206586,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *827 - installation: *828 + enterprise: *831 + installation: *832 number: description: The pull request number. type: integer - organization: *829 + organization: *833 pull_request: title: Pull Request type: object @@ -208411,7 +208867,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208592,9 +209048,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -210769,8 +211225,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 - review: *889 + repository: *834 + review: *893 sender: *4 required: - action @@ -210850,9 +211306,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -212922,7 +213378,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 + repository: *834 sender: *4 thread: type: object @@ -213309,9 +213765,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 pull_request: title: Simple Pull Request type: object @@ -215367,7 +215823,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *830 + repository: *834 sender: *4 thread: type: object @@ -215757,10 +216213,10 @@ x-webhooks: type: string before: type: string - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -218031,7 +218487,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -218113,11 +218569,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *890 - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + assignee: *894 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -220400,7 +220856,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -220479,11 +220935,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *827 - installation: *828 - label: *853 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + label: *857 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -222756,7 +223212,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -222837,10 +223293,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *827 - installation: *828 - number: *884 - organization: *829 + enterprise: *831 + installation: *832 + number: *888 + organization: *833 pull_request: title: Pull Request type: object @@ -225105,7 +225561,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *830 + repository: *834 sender: *4 required: - action @@ -225305,7 +225761,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *827 + enterprise: *831 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -225397,8 +225853,8 @@ x-webhooks: - url - author - committer - installation: *828 - organization: *829 + installation: *832 + organization: *833 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -225973,9 +226429,9 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -226421,7 +226877,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *871 + items: *875 summary: type: string tag_name: @@ -226475,7 +226931,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -226553,9 +227009,9 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 registry_package: type: object properties: @@ -226863,7 +227319,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *871 + items: *875 summary: type: string tag_name: @@ -226912,7 +227368,7 @@ x-webhooks: - owner - package_version - registry - repository: *830 + repository: *834 sender: *4 required: - action @@ -226989,10 +227445,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - release: &891 + enterprise: *831 + installation: *832 + organization: *833 + release: &895 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -227310,7 +227766,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *830 + repository: *834 sender: *4 required: - action @@ -227387,11 +227843,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - release: *891 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *895 + repository: *834 sender: *4 required: - action @@ -227508,11 +227964,11 @@ x-webhooks: type: boolean required: - to - enterprise: *827 - installation: *828 - organization: *829 - release: *891 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *895 + repository: *834 sender: *4 required: - action @@ -227590,9 +228046,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -227914,7 +228370,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *830 + repository: *834 sender: *4 required: - action @@ -227990,10 +228446,10 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 - release: &892 + enterprise: *831 + installation: *832 + organization: *833 + release: &896 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -228312,7 +228768,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *830 + repository: *834 sender: *4 required: - action @@ -228388,11 +228844,11 @@ x-webhooks: type: string enum: - released - enterprise: *827 - installation: *828 - organization: *829 - release: *891 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *895 + repository: *834 sender: *4 required: - action @@ -228468,11 +228924,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *827 - installation: *828 - organization: *829 - release: *892 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + release: *896 + repository: *834 sender: *4 required: - action @@ -228548,11 +229004,11 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - repository_advisory: *731 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *735 sender: *4 required: - action @@ -228628,11 +229084,11 @@ x-webhooks: type: string enum: - reported - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - repository_advisory: *731 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + repository_advisory: *735 sender: *4 required: - action @@ -228708,10 +229164,10 @@ x-webhooks: type: string enum: - archived - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -228788,10 +229244,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -228869,10 +229325,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -228956,10 +229412,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229071,10 +229527,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229146,10 +229602,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 status: type: string @@ -229230,10 +229686,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229310,10 +229766,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229407,10 +229863,10 @@ x-webhooks: - name required: - repository - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -229490,10 +229946,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *162 sender: *4 required: @@ -229572,10 +230028,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *162 sender: *4 required: @@ -229654,10 +230110,10 @@ x-webhooks: type: string enum: - edited - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 repository_ruleset: *162 changes: type: object @@ -229719,16 +230175,16 @@ x-webhooks: properties: added: type: array - items: *699 + items: *703 deleted: type: array - items: *699 + items: *703 updated: type: array items: type: object properties: - rule: *699 + rule: *703 changes: type: object properties: @@ -229962,10 +230418,10 @@ x-webhooks: - from required: - owner - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230043,10 +230499,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230124,7 +230580,7 @@ x-webhooks: type: string enum: - create - alert: &893 + alert: &897 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -230245,10 +230701,10 @@ x-webhooks: type: string enum: - open - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230454,10 +230910,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230535,11 +230991,11 @@ x-webhooks: type: string enum: - reopen - alert: *893 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *897 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230738,10 +231194,10 @@ x-webhooks: enum: - fixed - open - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -230819,7 +231275,7 @@ x-webhooks: type: string enum: - created - alert: &894 + alert: &898 type: object properties: number: *113 @@ -230930,10 +231386,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231014,11 +231470,11 @@ x-webhooks: type: string enum: - created - alert: *894 - installation: *828 - location: *895 - organization: *829 - repository: *830 + alert: *898 + installation: *832 + location: *899 + organization: *833 + repository: *834 sender: *4 required: - location @@ -231256,11 +231712,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231338,11 +231794,11 @@ x-webhooks: type: string enum: - reopened - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231420,11 +231876,11 @@ x-webhooks: type: string enum: - resolved - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231502,11 +231958,11 @@ x-webhooks: type: string enum: - validated - alert: *894 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + alert: *898 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -231632,10 +232088,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *830 - enterprise: *827 - installation: *828 - organization: *829 + repository: *834 + enterprise: *831 + installation: *832 + organization: *833 sender: *4 required: - action @@ -231713,11 +232169,11 @@ x-webhooks: type: string enum: - published - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - security_advisory: &896 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: &900 description: The details of the security advisory, including summary, description, and severity. type: object @@ -231900,11 +232356,11 @@ x-webhooks: type: string enum: - updated - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 - security_advisory: *896 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 + security_advisory: *900 sender: *4 required: - action @@ -231977,10 +232433,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -232164,11 +232620,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *387 - enterprise: *827 - installation: *828 - organization: *829 - repository: *454 + security_and_analysis: *391 + enterprise: *831 + installation: *832 + organization: *833 + repository: *458 sender: *4 required: - changes @@ -232246,12 +232702,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: &897 + sponsorship: &901 type: object properties: created_at: @@ -232552,12 +233008,12 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - sponsorship @@ -232645,12 +233101,12 @@ x-webhooks: type: string required: - from - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - changes @@ -232727,17 +233183,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &898 + effective_date: &902 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: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - sponsorship @@ -232811,7 +233267,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &899 + changes: &903 type: object properties: tier: @@ -232855,13 +233311,13 @@ x-webhooks: - from required: - tier - effective_date: *898 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + effective_date: *902 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - changes @@ -232938,13 +233394,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *899 - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + changes: *903 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - sponsorship: *897 + sponsorship: *901 required: - action - changes @@ -233018,10 +233474,10 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -233104,10 +233560,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -233527,15 +233983,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *827 + enterprise: *831 id: description: The unique identifier of the status. type: integer - installation: *828 + installation: *832 name: type: string - organization: *829 - repository: *830 + organization: *833 + repository: *834 sender: *4 sha: description: The Commit SHA. @@ -233644,15 +234100,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 + parent_issue: *201 parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 - installation: *828 - organization: *829 - repository: *830 + sub_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -233736,15 +234192,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 + parent_issue: *201 parent_issue_repo: *69 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 - installation: *828 - organization: *829 - repository: *830 + sub_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -233828,15 +234284,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 + sub_issue: *201 sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 - installation: *828 - organization: *829 - repository: *830 + parent_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -233920,15 +234376,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *199 + sub_issue: *201 sub_issue_repo: *69 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *199 - installation: *828 - organization: *829 - repository: *830 + parent_issue: *201 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -234005,12 +234461,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - team: &900 + team: &904 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -234233,9 +234689,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -234693,7 +235149,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -234769,9 +235225,9 @@ x-webhooks: type: string enum: - created - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -235229,7 +235685,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -235306,9 +235762,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -235766,7 +236222,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -235910,9 +236366,9 @@ x-webhooks: - from required: - permissions - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -236370,7 +236826,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - changes @@ -236448,9 +236904,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *827 - installation: *828 - organization: *829 + enterprise: *831 + installation: *832 + organization: *833 repository: title: Repository description: A git repository @@ -236908,7 +237364,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *900 + team: *904 required: - action - team @@ -236984,10 +237440,10 @@ x-webhooks: type: string enum: - started - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 required: - action @@ -237060,16 +237516,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *827 + enterprise: *831 inputs: type: object nullable: true additionalProperties: true - installation: *828 - organization: *829 + installation: *832 + organization: *833 ref: type: string - repository: *830 + repository: *834 sender: *4 workflow: type: string @@ -237151,10 +237607,10 @@ x-webhooks: type: string enum: - completed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -237391,7 +237847,7 @@ x-webhooks: type: string required: - conclusion - deployment: *585 + deployment: *589 required: - action - repository @@ -237470,10 +237926,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: allOf: @@ -237733,7 +238189,7 @@ x-webhooks: required: - status - steps - deployment: *585 + deployment: *589 required: - action - repository @@ -237812,10 +238268,10 @@ x-webhooks: type: string enum: - queued - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -237950,7 +238406,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *585 + deployment: *589 required: - action - repository @@ -238029,10 +238485,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 workflow_job: type: object @@ -238168,7 +238624,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *585 + deployment: *589 required: - action - repository @@ -238248,12 +238704,12 @@ x-webhooks: type: string enum: - completed - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 workflow_run: title: Workflow Run type: object @@ -239252,12 +239708,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 workflow_run: title: Workflow Run type: object @@ -240241,12 +240697,12 @@ x-webhooks: type: string enum: - requested - enterprise: *827 - installation: *828 - organization: *829 - repository: *830 + enterprise: *831 + installation: *832 + organization: *833 + repository: *834 sender: *4 - workflow: *849 + workflow: *853 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 4fee80f6d..515023b6c 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -11106,6 +11106,81 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -15320,6 +15395,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -88688,6 +88826,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -125363,6 +125561,138 @@ "included_gigabytes_bandwidth" ] }, + "billing-premium-request-usage-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, "combined-billing-usage": { "type": "object", "properties": { @@ -128859,6 +129189,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "organization-full": { "title": "Organization Full", "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", @@ -153925,6 +154366,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -299626,6 +300174,29 @@ "included_gigabytes_bandwidth": 10 } }, + "billing-premium-request-usage-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "combined-billing-usage": { "value": { "days_left_in_billing_cycle": 20, @@ -301383,6 +301954,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -326805,6 +327399,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -329069,9 +329686,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -329087,6 +329704,51 @@ "type": "integer" } }, + "billing-usage-report-organization": { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -331005,6 +331667,21 @@ } } }, + "billing_premium_request_usage_report_ghe": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" + } + } + } + } + }, "billing_usage_report": { "description": "Response when getting a billing usage report", "content": { @@ -331063,6 +331740,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -331305,6 +331997,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 4827df422..efb7d8d5a 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -7839,6 +7839,51 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -10819,6 +10864,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -63999,6 +64082,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -91046,6 +91164,104 @@ components: - total_gigabytes_bandwidth_used - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth + billing-premium-request-usage-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems combined-billing-usage: type: object properties: @@ -93756,6 +93972,89 @@ components: items: "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: |- @@ -113101,6 +113400,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -223630,6 +224009,23 @@ components: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 included_gigabytes_bandwidth: 10 + billing-premium-request-usage-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 combined-billing-usage: value: days_left_in_billing_cycle: 20 @@ -225203,6 +225599,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 organization-full: value: login: github @@ -246963,6 +247376,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -249010,11 +249440,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -249028,6 +249458,44 @@ components: required: false schema: type: integer + billing-usage-report-organization: + name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -250583,6 +251051,15 @@ components: default: value: message: Resources successfully removed from the cost center. + billing_premium_request_usage_report_ghe: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" billing_usage_report: description: Response when getting a billing usage report content: @@ -250619,6 +251096,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -250771,6 +251257,15 @@ components: application/scim+json: schema: "$ref": "#/components/schemas/scim-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 4fee80f6d..515023b6c 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -11106,6 +11106,81 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -15320,6 +15395,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -88688,6 +88826,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -125363,6 +125561,138 @@ "included_gigabytes_bandwidth" ] }, + "billing-premium-request-usage-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, "combined-billing-usage": { "type": "object", "properties": { @@ -128859,6 +129189,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "organization-full": { "title": "Organization Full", "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", @@ -153925,6 +154366,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -299626,6 +300174,29 @@ "included_gigabytes_bandwidth": 10 } }, + "billing-premium-request-usage-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "combined-billing-usage": { "value": { "days_left_in_billing_cycle": 20, @@ -301383,6 +301954,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -326805,6 +327399,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -329069,9 +329686,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -329087,6 +329704,51 @@ "type": "integer" } }, + "billing-usage-report-organization": { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -331005,6 +331667,21 @@ } } }, + "billing_premium_request_usage_report_ghe": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" + } + } + } + } + }, "billing_usage_report": { "description": "Response when getting a billing usage report", "content": { @@ -331063,6 +331740,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -331305,6 +331997,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 4827df422..efb7d8d5a 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -7839,6 +7839,51 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -10819,6 +10864,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -63999,6 +64082,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -91046,6 +91164,104 @@ components: - total_gigabytes_bandwidth_used - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth + billing-premium-request-usage-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems combined-billing-usage: type: object properties: @@ -93756,6 +93972,89 @@ components: items: "$ref": "#/components/schemas/nullable-simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: |- @@ -113101,6 +113400,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -223630,6 +224009,23 @@ components: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 included_gigabytes_bandwidth: 10 + billing-premium-request-usage-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 combined-billing-usage: value: days_left_in_billing_cycle: 20 @@ -225203,6 +225599,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 organization-full: value: login: github @@ -246963,6 +247376,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -249010,11 +249440,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -249028,6 +249458,44 @@ components: required: false schema: type: integer + billing-usage-report-organization: + name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -250583,6 +251051,15 @@ components: default: value: message: Resources successfully removed from the cost center. + billing_premium_request_usage_report_ghe: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" billing_usage_report: description: Response when getting a billing usage report content: @@ -250619,6 +251096,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -250771,6 +251257,15 @@ components: application/scim+json: schema: "$ref": "#/components/schemas/scim-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: