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 18a9b5e2e..729ba38e5 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 @@ -7634,7 +7634,7 @@ "operationId": "billing/get-all-budgets-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" }, "parameters": [ { @@ -7659,7 +7659,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -7673,7 +7673,7 @@ "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -7707,7 +7707,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -7719,7 +7719,7 @@ "operationId": "billing/update-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" }, "parameters": [ { @@ -7914,13 +7914,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -7941,7 +7941,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -7953,7 +7953,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -7965,7 +7965,7 @@ "operationId": "billing/delete-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization" }, "parameters": [ { @@ -7999,7 +7999,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -8013,7 +8013,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization" }, "parameters": [ { @@ -8062,7 +8062,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8076,7 +8076,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization" }, "parameters": [ { @@ -8113,7 +8113,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8127,7 +8127,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -8173,7 +8173,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -27136,132 +27136,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -76410,90 +76284,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "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", @@ -76504,7 +76294,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user" }, "parameters": [ { @@ -76550,49 +76340,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for a user", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "subcategory": "usage" } } }, @@ -76606,7 +76354,7 @@ "operationId": "billing/get-github-billing-usage-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user" }, "parameters": [ { @@ -76643,7 +76391,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -76657,7 +76405,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -76706,7 +76454,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -118160,6 +117908,25 @@ } } }, + "repository-rule-params-copilot-code-review-analysis-tool": { + "title": "CopilotCodeReviewAnalysisTool", + "description": "A tool that must provide code review results for this rule to pass.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of a code review analysis tool", + "enum": [ + "CodeQL", + "ESLint", + "PMD" + ] + } + }, + "required": [ + "name" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -119602,138 +119369,6 @@ ], "additionalProperties": false }, - "actions-billing-usage": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "packages-billing-usage": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "combined-billing-usage": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, "immutable-releases-organization-settings": { "title": "Check immutable releases organization settings", "description": "Check immutable releases settings for an organization.", @@ -289222,32 +288857,6 @@ } ] }, - "actions-billing-usage": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - }, - "packages-billing-usage": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - }, - "combined-billing-usage": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - }, "network-configurations-paginated": { "value": { "total_count": 2, 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 b890bac80..ba0ae443b 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 @@ -5392,7 +5392,7 @@ paths: operationId: billing/get-all-budgets-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - "$ref": "#/components/parameters/org" responses: @@ -5408,7 +5408,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID for an organization @@ -5422,7 +5422,7 @@ paths: operationId: billing/get-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/budget" @@ -5443,7 +5443,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -5456,7 +5456,7 @@ paths: operationId: billing/update-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/budget" @@ -5601,11 +5601,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': "$ref": "#/components/responses/validation_failed" '500': @@ -5618,12 +5618,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget for an organization description: |- @@ -5636,7 +5636,7 @@ paths: operationId: billing/delete-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/budget" @@ -5657,7 +5657,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization @@ -5670,7 +5670,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -5696,7 +5696,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -5709,7 +5709,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -5730,7 +5730,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage/summary": get: summary: Get billing usage summary for an organization @@ -5746,7 +5746,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -5770,7 +5770,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -19601,102 +19601,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -55351,70 +55255,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - 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 @@ -55427,7 +55267,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -55452,39 +55292,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for a user - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing + subcategory: usage "/users/{username}/settings/billing/usage": get: summary: Get billing usage report for a user @@ -55497,7 +55305,7 @@ paths: operationId: billing/get-github-billing-usage-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -55518,7 +55326,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/settings/billing/usage/summary": get: summary: Get billing usage summary for a user @@ -55534,7 +55342,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -55560,7 +55368,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -86680,6 +86488,20 @@ components: type: boolean description: Copilot automatically reviews each new push to the pull request. + repository-rule-params-copilot-code-review-analysis-tool: + title: CopilotCodeReviewAnalysisTool + description: A tool that must provide code review results for this rule to pass. + type: object + properties: + name: + type: string + description: The name of a code review analysis tool + enum: + - CodeQL + - ESLint + - PMD + required: + - name repository-rule: title: Repository Rule type: object @@ -87758,104 +87580,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - actions-billing-usage: - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - packages-billing-usage: - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - combined-billing-usage: - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) used in billing - cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month immutable-releases-organization-settings: title: Check immutable releases organization settings description: Check immutable releases settings for an organization. @@ -217331,25 +217055,6 @@ components: tags_url: https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/tags teams_url: https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/teams trees_url: https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/trees{/sha} - actions-billing-usage: - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 - packages-billing-usage: - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 - combined-billing-usage: - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 network-configurations-paginated: value: total_count: 2 diff --git a/descriptions/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 18a9b5e2e..729ba38e5 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -7634,7 +7634,7 @@ "operationId": "billing/get-all-budgets-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" }, "parameters": [ { @@ -7659,7 +7659,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -7673,7 +7673,7 @@ "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -7707,7 +7707,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -7719,7 +7719,7 @@ "operationId": "billing/update-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" }, "parameters": [ { @@ -7914,13 +7914,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -7941,7 +7941,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -7953,7 +7953,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -7965,7 +7965,7 @@ "operationId": "billing/delete-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization" }, "parameters": [ { @@ -7999,7 +7999,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -8013,7 +8013,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization" }, "parameters": [ { @@ -8062,7 +8062,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8076,7 +8076,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization" }, "parameters": [ { @@ -8113,7 +8113,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8127,7 +8127,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -8173,7 +8173,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -27136,132 +27136,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -76410,90 +76284,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "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", @@ -76504,7 +76294,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user" }, "parameters": [ { @@ -76550,49 +76340,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for a user", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "subcategory": "usage" } } }, @@ -76606,7 +76354,7 @@ "operationId": "billing/get-github-billing-usage-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user" }, "parameters": [ { @@ -76643,7 +76391,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -76657,7 +76405,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -76706,7 +76454,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -118160,6 +117908,25 @@ } } }, + "repository-rule-params-copilot-code-review-analysis-tool": { + "title": "CopilotCodeReviewAnalysisTool", + "description": "A tool that must provide code review results for this rule to pass.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of a code review analysis tool", + "enum": [ + "CodeQL", + "ESLint", + "PMD" + ] + } + }, + "required": [ + "name" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -119602,138 +119369,6 @@ ], "additionalProperties": false }, - "actions-billing-usage": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "packages-billing-usage": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "combined-billing-usage": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, "immutable-releases-organization-settings": { "title": "Check immutable releases organization settings", "description": "Check immutable releases settings for an organization.", @@ -289222,32 +288857,6 @@ } ] }, - "actions-billing-usage": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - }, - "packages-billing-usage": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - }, - "combined-billing-usage": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - }, "network-configurations-paginated": { "value": { "total_count": 2, diff --git a/descriptions/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index b890bac80..ba0ae443b 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -5392,7 +5392,7 @@ paths: operationId: billing/get-all-budgets-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - "$ref": "#/components/parameters/org" responses: @@ -5408,7 +5408,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID for an organization @@ -5422,7 +5422,7 @@ paths: operationId: billing/get-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/budget" @@ -5443,7 +5443,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -5456,7 +5456,7 @@ paths: operationId: billing/update-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/budget" @@ -5601,11 +5601,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': "$ref": "#/components/responses/validation_failed" '500': @@ -5618,12 +5618,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget for an organization description: |- @@ -5636,7 +5636,7 @@ paths: operationId: billing/delete-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/budget" @@ -5657,7 +5657,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization @@ -5670,7 +5670,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -5696,7 +5696,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -5709,7 +5709,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -5730,7 +5730,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage/summary": get: summary: Get billing usage summary for an organization @@ -5746,7 +5746,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -5770,7 +5770,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -19601,102 +19601,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -55351,70 +55255,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - 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 @@ -55427,7 +55267,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -55452,39 +55292,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for a user - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing + subcategory: usage "/users/{username}/settings/billing/usage": get: summary: Get billing usage report for a user @@ -55497,7 +55305,7 @@ paths: operationId: billing/get-github-billing-usage-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -55518,7 +55326,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/settings/billing/usage/summary": get: summary: Get billing usage summary for a user @@ -55534,7 +55342,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - "$ref": "#/components/parameters/username" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -55560,7 +55368,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -86680,6 +86488,20 @@ components: type: boolean description: Copilot automatically reviews each new push to the pull request. + repository-rule-params-copilot-code-review-analysis-tool: + title: CopilotCodeReviewAnalysisTool + description: A tool that must provide code review results for this rule to pass. + type: object + properties: + name: + type: string + description: The name of a code review analysis tool + enum: + - CodeQL + - ESLint + - PMD + required: + - name repository-rule: title: Repository Rule type: object @@ -87758,104 +87580,6 @@ components: - collaborating_teams - private_fork additionalProperties: false - actions-billing-usage: - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - packages-billing-usage: - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - combined-billing-usage: - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) used in billing - cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month immutable-releases-organization-settings: title: Check immutable releases organization settings description: Check immutable releases settings for an organization. @@ -217331,25 +217055,6 @@ components: tags_url: https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/tags teams_url: https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/teams trees_url: https://api.github.com/repos/octo-org/octo-repo-ghsa-1234-5678-9012/git/trees{/sha} - actions-billing-usage: - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 - packages-billing-usage: - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 - combined-billing-usage: - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 network-configurations-paginated: value: total_count: 2 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 46e15043c..5a35ecf80 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 @@ -53583,7 +53583,7 @@ "operationId": "billing/get-all-budgets-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" }, "parameters": [ { @@ -53830,7 +53830,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -53844,7 +53844,7 @@ "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -54137,7 +54137,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -54149,7 +54149,7 @@ "operationId": "billing/update-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" }, "parameters": [ { @@ -54475,13 +54475,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -54584,7 +54584,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -54596,7 +54596,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -54608,7 +54608,7 @@ "operationId": "billing/delete-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization" }, "parameters": [ { @@ -54827,7 +54827,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -54841,7 +54841,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization" }, "parameters": [ { @@ -55216,7 +55216,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -55230,7 +55230,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization" }, "parameters": [ { @@ -55506,7 +55506,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -55520,7 +55520,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -55863,7 +55863,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -172971,290 +172971,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -615837,219 +615553,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", @@ -616060,7 +615563,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user" }, "parameters": [ { @@ -616422,78 +615925,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for a user", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "subcategory": "usage" } } }, @@ -616507,7 +615939,7 @@ "operationId": "billing/get-github-billing-usage-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user" }, "parameters": [ { @@ -616777,7 +616209,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -616791,7 +616223,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -617160,7 +616592,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, 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 6437679a1..e26d2a991 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 @@ -16205,7 +16205,7 @@ paths: operationId: billing/get-all-budgets-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - *63 responses: @@ -16329,7 +16329,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID for an organization @@ -16343,7 +16343,7 @@ paths: operationId: billing/get-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - *63 - &105 @@ -16445,7 +16445,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -16458,7 +16458,7 @@ paths: operationId: billing/update-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - *63 - *105 @@ -16599,11 +16599,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': *15 '500': description: Internal server error @@ -16614,12 +16614,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget for an organization description: |- @@ -16632,7 +16632,7 @@ paths: operationId: billing/delete-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - *63 - *105 @@ -16667,7 +16667,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization @@ -16680,7 +16680,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - *63 - &106 @@ -16716,7 +16716,7 @@ paths: required: false schema: type: string - - &706 + - &702 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -16845,7 +16845,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -16858,11 +16858,11 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - *63 - *106 - - &709 + - &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 @@ -16952,7 +16952,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage/summary": get: summary: Get billing usage summary for an organization @@ -16968,13 +16968,13 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - *63 - *106 - *108 - *107 - - &710 + - &704 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -16982,7 +16982,7 @@ paths: schema: type: string - *109 - - &711 + - &705 name: sku description: The SKU to query for usage. in: query @@ -17098,7 +17098,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -35943,7 +35943,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &762 + properties: &756 id: type: number description: The unique identifier of the status update. @@ -35991,7 +35991,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &763 + required: &757 - id - node_id - created_at @@ -43509,212 +43509,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - *63 - responses: - '200': - description: Response - content: - application/json: - schema: &702 - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes - used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner - machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner - machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner - machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - examples: - default: &703 - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - *63 - responses: - '200': - description: Response - content: - application/json: - schema: &704 - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub - Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - examples: - default: &705 - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - *63 - responses: - '200': - description: Response - content: - application/json: - schema: &707 - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) - used in billing cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month - examples: - default: &708 - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -58775,7 +58569,7 @@ paths: check. type: array items: *406 - deployment: &720 + deployment: &714 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59687,7 +59481,7 @@ paths: type: string format: date-time nullable: true - head_commit: &746 + head_commit: &740 title: Simple Commit description: A commit. type: object @@ -74227,7 +74021,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &754 + last_response: &748 title: Hook Response type: object properties: @@ -89947,7 +89741,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &776 + items: &770 type: object properties: type: @@ -103299,7 +103093,7 @@ paths: - title - created_at examples: - default: &712 + default: &706 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103461,7 +103255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &713 + - &707 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 @@ -103490,7 +103284,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &714 + items: &708 title: Starred Repository description: Starred Repository type: object @@ -105976,66 +105770,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - *59 - responses: - '200': - description: Response - content: - application/json: - schema: *702 - examples: - default: *703 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - *59 - responses: - '200': - description: Response - content: - application/json: - schema: *704 - examples: - default: *705 - 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 @@ -106048,13 +105782,13 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - *59 - *106 - *108 - *107 - - *706 + - *702 - *109 responses: '200': @@ -106168,37 +105902,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for a user - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - *59 - responses: - '200': - description: Response - content: - application/json: - schema: *707 - examples: - default: *708 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing + subcategory: usage "/users/{username}/settings/billing/usage": get: summary: Get billing usage report for a user @@ -106211,11 +105915,11 @@ paths: operationId: billing/get-github-billing-usage-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - *59 - *106 - - *709 + - *703 - *107 responses: '200': @@ -106292,7 +105996,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/settings/billing/usage/summary": get: summary: Get billing usage summary for a user @@ -106308,15 +106012,15 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - *59 - *106 - *108 - *107 - - *710 + - *704 - *109 - - *711 + - *705 responses: '200': description: Response when getting a billing usage summary @@ -106427,7 +106131,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -106484,7 +106188,7 @@ paths: type: array items: *687 examples: - default: *712 + default: *706 headers: Link: *54 x-github: @@ -106509,7 +106213,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *713 + - *707 - *48 - *17 - *19 @@ -106521,7 +106225,7 @@ paths: schema: anyOf: - type: array - items: *714 + items: *708 - type: array items: *66 examples: @@ -106684,7 +106388,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &715 + enterprise: &709 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106742,7 +106446,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &716 + installation: &710 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106761,7 +106465,7 @@ x-webhooks: required: - id - node_id - organization: &717 + organization: &711 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106821,13 +106525,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &718 + repository: &712 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: &748 + properties: &742 id: description: Unique identifier of the repository example: 42 @@ -107510,7 +107214,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &749 + required: &743 - archive_url - assignees_url - blobs_url @@ -107661,10 +107365,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -107740,11 +107444,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: &719 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + rule: &713 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) @@ -107967,11 +107671,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + rule: *713 sender: *4 required: - action @@ -108154,11 +107858,11 @@ x-webhooks: - everyone required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + rule: *713 sender: *4 required: - action @@ -108242,7 +107946,7 @@ x-webhooks: type: string enum: - completed - check_run: &721 + check_run: &715 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108333,7 +108037,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *720 + deployment: *714 details_url: example: https://example.com type: string @@ -108418,10 +108122,10 @@ x-webhooks: - output - app - pull_requests - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 sender: *4 required: - check_run @@ -108814,11 +108518,11 @@ x-webhooks: type: string enum: - created - check_run: *721 - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + check_run: *715 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 sender: *4 required: - check_run @@ -109214,11 +108918,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *721 - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + check_run: *715 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 requested_action: description: The action requested by the user. type: object @@ -109623,11 +109327,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *721 - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + check_run: *715 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 sender: *4 required: - check_run @@ -110604,10 +110308,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -111292,10 +110996,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -111974,10 +111678,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -112288,20 +111992,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &722 + commit_oid: &716 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: *715 - installation: *716 - organization: *717 - ref: &723 + enterprise: *709 + installation: *710 + organization: *711 + ref: &717 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: *718 + repository: *712 sender: *4 required: - action @@ -112696,12 +112400,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -112967,12 +112671,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -113304,12 +113008,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -113577,16 +113281,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 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: *718 + repository: *712 sender: *4 required: - action @@ -113823,12 +113527,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -114085,10 +113789,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -114168,18 +113872,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *717 - pusher_type: &724 + organization: *711 + pusher_type: &718 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &725 + ref: &719 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114189,7 +113893,7 @@ x-webhooks: enum: - tag - branch - repository: *718 + repository: *712 sender: *4 required: - ref @@ -114272,9 +113976,9 @@ x-webhooks: enum: - created definition: *266 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114359,9 +114063,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114439,9 +114143,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *266 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114519,9 +114223,9 @@ x-webhooks: enum: - updated definition: *266 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114598,10 +114302,10 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - repository: *718 - organization: *717 + enterprise: *709 + installation: *710 + repository: *712 + organization: *711 sender: *4 new_property_values: type: array @@ -114686,18 +114390,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - pusher_type: *724 - ref: *725 + enterprise: *709 + installation: *710 + organization: *711 + pusher_type: *718 + ref: *719 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *718 + repository: *712 sender: *4 required: - ref @@ -114782,10 +114486,10 @@ x-webhooks: enum: - auto_dismissed alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -114870,10 +114574,10 @@ x-webhooks: enum: - auto_reopened alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -114958,10 +114662,10 @@ x-webhooks: enum: - created alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115044,10 +114748,10 @@ x-webhooks: enum: - dismissed alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115130,10 +114834,10 @@ x-webhooks: enum: - fixed alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115217,10 +114921,10 @@ x-webhooks: enum: - reintroduced alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115303,10 +115007,10 @@ x-webhooks: enum: - reopened alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115383,9 +115087,9 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - key: &726 + enterprise: *709 + installation: *710 + key: &720 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115421,8 +115125,8 @@ x-webhooks: - verified - created_at - read_only - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -115499,11 +115203,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - key: *726 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + key: *720 + organization: *711 + repository: *712 sender: *4 required: - action @@ -116064,12 +115768,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: &730 + workflow: &724 title: Workflow type: object nullable: true @@ -116799,9 +116503,9 @@ x-webhooks: pull_requests: type: array items: *571 - repository: *718 - organization: *717 - installation: *716 + repository: *712 + organization: *711 + installation: *710 sender: *4 responses: '200': @@ -116872,7 +116576,7 @@ x-webhooks: type: string enum: - approved - approver: &727 + approver: &721 type: object properties: avatar_url: @@ -116915,11 +116619,11 @@ x-webhooks: type: string comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: &728 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + reviewers: &722 type: array items: type: object @@ -116998,7 +116702,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &729 + workflow_job_run: &723 type: object properties: conclusion: @@ -117729,18 +117433,18 @@ x-webhooks: type: string enum: - rejected - approver: *727 + approver: *721 comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: *728 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + reviewers: *722 sender: *4 since: type: string - workflow_job_run: *729 + workflow_job_run: *723 workflow_job_runs: type: array items: @@ -118444,13 +118148,13 @@ x-webhooks: type: string enum: - requested - enterprise: *715 + enterprise: *709 environment: type: string - installation: *716 - organization: *717 - repository: *718 - requestor: &735 + installation: *710 + organization: *711 + repository: *712 + requestor: &729 title: User type: object nullable: true @@ -120349,12 +120053,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 workflow_run: title: Deployment Workflow Run type: object @@ -121034,7 +120738,7 @@ x-webhooks: type: string enum: - answered - answer: &733 + answer: &727 type: object properties: author_association: @@ -121191,7 +120895,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &731 + discussion: &725 title: Discussion description: A Discussion in a repository. type: object @@ -121499,10 +121203,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -121629,11 +121333,11 @@ x-webhooks: - from required: - category - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -121716,11 +121420,11 @@ x-webhooks: type: string enum: - closed - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -121802,7 +121506,7 @@ x-webhooks: type: string enum: - created - comment: &732 + comment: &726 type: object properties: author_association: @@ -121959,11 +121663,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122046,12 +121750,12 @@ x-webhooks: type: string enum: - deleted - comment: *732 - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *726 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122146,12 +121850,12 @@ x-webhooks: - from required: - body - comment: *732 - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *726 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122235,11 +121939,11 @@ x-webhooks: type: string enum: - created - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122321,11 +122025,11 @@ x-webhooks: type: string enum: - deleted - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122425,11 +122129,11 @@ x-webhooks: type: string required: - from - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122511,10 +122215,10 @@ x-webhooks: type: string enum: - labeled - discussion: *731 - enterprise: *715 - installation: *716 - label: &734 + discussion: *725 + enterprise: *709 + installation: *710 + label: &728 title: Label type: object properties: @@ -122546,8 +122250,8 @@ x-webhooks: - color - default - description - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122630,11 +122334,11 @@ x-webhooks: type: string enum: - locked - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122716,11 +122420,11 @@ x-webhooks: type: string enum: - pinned - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122802,11 +122506,11 @@ x-webhooks: type: string enum: - reopened - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122891,16 +122595,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *731 - new_repository: *718 + new_discussion: *725 + new_repository: *712 required: - new_discussion - new_repository - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122983,10 +122687,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *731 - old_answer: *733 - organization: *717 - repository: *718 + discussion: *725 + old_answer: *727 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123068,12 +122772,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *731 - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123156,11 +122860,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123242,11 +122946,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123319,7 +123023,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *715 + enterprise: *709 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123979,9 +123683,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - forkee @@ -124127,9 +123831,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pages: description: The pages that were updated. type: array @@ -124166,7 +123870,7 @@ x-webhooks: - action - sha - html_url - repository: *718 + repository: *712 sender: *4 required: - pages @@ -124242,10 +123946,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: &736 + organization: *711 + repositories: &730 description: An array of repository objects that the installation can access. type: array @@ -124271,8 +123975,8 @@ x-webhooks: - name - full_name - private - repository: *718 - requester: *735 + repository: *712 + requester: *729 sender: *4 required: - action @@ -124347,11 +124051,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -124427,11 +124131,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -124507,10 +124211,10 @@ x-webhooks: type: string enum: - added - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories_added: &737 + organization: *711 + repositories_added: &731 description: An array of repository objects, which were added to the installation. type: array @@ -124556,15 +124260,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *718 - repository_selection: &738 + repository: *712 + repository_selection: &732 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *735 + requester: *729 sender: *4 required: - action @@ -124643,10 +124347,10 @@ x-webhooks: type: string enum: - removed - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories_added: *737 + organization: *711 + repositories_added: *731 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124673,9 +124377,9 @@ x-webhooks: - name - full_name - private - repository: *718 - repository_selection: *738 - requester: *735 + repository: *712 + repository_selection: *732 + requester: *729 sender: *4 required: - action @@ -124754,11 +124458,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -124936,10 +124640,10 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 target_type: type: string @@ -125018,11 +124722,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -125274,8 +124978,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126419,8 +126123,8 @@ x-webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -126500,7 +126204,7 @@ x-webhooks: type: string enum: - deleted - comment: &739 + comment: &733 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126665,8 +126369,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127808,8 +127512,8 @@ x-webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -127889,7 +127593,7 @@ x-webhooks: type: string enum: - edited - changes: &768 + changes: &762 description: The changes to the comment. type: object properties: @@ -127901,9 +127605,9 @@ x-webhooks: type: string required: - from - comment: *739 - enterprise: *715 - installation: *716 + comment: *733 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129046,8 +128750,8 @@ x-webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129137,9 +128841,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129233,9 +128937,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129328,9 +129032,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129424,9 +129128,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129511,10 +129215,10 @@ x-webhooks: type: string enum: - assigned - assignee: *735 - enterprise: *715 - installation: *716 - issue: &742 + assignee: *729 + enterprise: *709 + installation: *710 + issue: &736 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130424,8 +130128,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -130505,8 +130209,8 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131556,8 +131260,8 @@ x-webhooks: required: - state - closed_at - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -131636,8 +131340,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132542,8 +132246,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -132622,8 +132326,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133529,7 +133233,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &740 + milestone: &734 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133667,8 +133371,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -133767,8 +133471,8 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134678,9 +134382,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *734 - organization: *717 - repository: *718 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -134760,8 +134464,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135670,9 +135374,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *734 - organization: *717 - repository: *718 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -135752,8 +135456,8 @@ x-webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136663,8 +136367,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -136743,8 +136447,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137648,9 +137352,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *740 - organization: *717 - repository: *718 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -139084,8 +138788,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139994,8 +139698,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -140075,9 +139779,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *715 - installation: *716 - issue: &741 + enterprise: *709 + installation: *710 + issue: &735 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140980,8 +140684,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -141060,8 +140764,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141970,8 +141674,8 @@ x-webhooks: user_view_type: type: string type: *219 - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143425,11 +143129,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *715 - installation: *716 - issue: *741 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *735 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143509,12 +143213,12 @@ x-webhooks: type: string enum: - typed - enterprise: *715 - installation: *716 - issue: *742 + enterprise: *709 + installation: *710 + issue: *736 type: *219 - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143595,7 +143299,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &771 + assignee: &765 title: User type: object nullable: true @@ -143665,11 +143369,11 @@ x-webhooks: required: - login - id - enterprise: *715 - installation: *716 - issue: *742 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *736 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143748,12 +143452,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - issue: *742 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *736 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143833,8 +143537,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144742,8 +144446,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -144823,11 +144527,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *715 - installation: *716 - issue: *741 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *735 + organization: *711 + repository: *712 sender: *4 required: - action @@ -144906,12 +144610,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *715 - installation: *716 - issue: *742 + enterprise: *709 + installation: *710 + issue: *736 type: *219 - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -144991,11 +144695,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -145073,11 +144777,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -145187,11 +144891,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -145273,9 +144977,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: &743 + enterprise: *709 + installation: *710 + marketplace_purchase: &737 title: Marketplace Purchase type: object required: @@ -145358,8 +145062,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: &744 + organization: *711 + previous_marketplace_purchase: &738 title: Marketplace Purchase type: object properties: @@ -145439,7 +145143,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *712 sender: *4 required: - action @@ -145519,10 +145223,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *743 - organization: *717 + enterprise: *709 + installation: *710 + marketplace_purchase: *737 + organization: *711 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145605,7 +145309,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *712 sender: *4 required: - action @@ -145687,10 +145391,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *743 - organization: *717 + enterprise: *709 + installation: *710 + marketplace_purchase: *737 + organization: *711 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145772,7 +145476,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *712 sender: *4 required: - action @@ -145853,8 +145557,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 marketplace_purchase: title: Marketplace Purchase type: object @@ -145936,9 +145640,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: *744 - repository: *718 + organization: *711 + previous_marketplace_purchase: *738 + repository: *712 sender: *4 required: - action @@ -146018,12 +145722,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *743 - organization: *717 - previous_marketplace_purchase: *744 - repository: *718 + enterprise: *709 + installation: *710 + marketplace_purchase: *737 + organization: *711 + previous_marketplace_purchase: *738 + repository: *712 sender: *4 required: - action @@ -146125,11 +145829,11 @@ x-webhooks: type: string required: - to - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146229,11 +145933,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146312,11 +146016,11 @@ x-webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146394,11 +146098,11 @@ x-webhooks: type: string enum: - added - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146474,7 +146178,7 @@ x-webhooks: required: - login - id - team: &745 + team: &739 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146697,11 +146401,11 @@ x-webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146778,7 +146482,7 @@ x-webhooks: required: - login - id - team: *745 + team: *739 required: - action - scope @@ -146860,8 +146564,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *716 - merge_group: &747 + installation: *710 + merge_group: &741 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146880,15 +146584,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *746 + head_commit: *740 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146974,10 +146678,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *716 - merge_group: *747 - organization: *717 - repository: *718 + installation: *710 + merge_group: *741 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147050,7 +146754,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *709 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147159,16 +146863,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *716 - organization: *717 + installation: *710 + organization: *711 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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -147249,11 +146953,11 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - milestone: *740 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147332,9 +147036,9 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - milestone: &750 + enterprise: *709 + installation: *710 + milestone: &744 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147471,8 +147175,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147551,11 +147255,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - milestone: *740 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147665,11 +147369,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - milestone: *740 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147749,11 +147453,11 @@ x-webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - milestone: *750 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *744 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147832,11 +147536,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *735 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *729 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147915,11 +147619,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *735 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *729 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147998,9 +147702,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - membership: &751 + enterprise: *709 + installation: *710 + membership: &745 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148107,8 +147811,8 @@ x-webhooks: - role - organization_url - user - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148186,11 +147890,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *715 - installation: *716 - membership: *751 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + membership: *745 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148269,8 +147973,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148386,10 +148090,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 - user: *735 + user: *729 required: - action - invitation @@ -148467,11 +148171,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *715 - installation: *716 - membership: *751 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + membership: *745 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148558,11 +148262,11 @@ x-webhooks: properties: from: type: string - enterprise: *715 - installation: *716 - membership: *751 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + membership: *745 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148638,9 +148342,9 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 package: description: Information about the package. type: object @@ -149139,7 +148843,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &752 + items: &746 title: Ruby Gems metadata type: object properties: @@ -149234,7 +148938,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -149310,9 +149014,9 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 package: description: Information about the package. type: object @@ -149665,7 +149369,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *752 + items: *746 source_url: type: string format: uri @@ -149735,7 +149439,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -149912,12 +149616,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *715 + enterprise: *709 id: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - id @@ -149994,7 +149698,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &753 + personal_access_token_request: &747 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150140,10 +149844,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *715 - organization: *717 + enterprise: *709 + organization: *711 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150220,11 +149924,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *753 - enterprise: *715 - organization: *717 + personal_access_token_request: *747 + enterprise: *709 + organization: *711 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150300,11 +150004,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *753 - enterprise: *715 - organization: *717 + personal_access_token_request: *747 + enterprise: *709 + organization: *711 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150379,11 +150083,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *753 - organization: *717 - enterprise: *715 + personal_access_token_request: *747 + organization: *711 + enterprise: *709 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150488,7 +150192,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *754 + last_response: *748 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150520,8 +150224,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 zen: description: Random string of GitHub zen. @@ -150766,10 +150470,10 @@ x-webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: &755 + enterprise: *709 + installation: *710 + organization: *711 + project_card: &749 title: Project Card type: object properties: @@ -150888,7 +150592,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *718 + repository: *712 sender: *4 required: - action @@ -150969,11 +150673,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_card: *755 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_card: *749 + repository: *712 sender: *4 required: - action @@ -151053,9 +150757,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 project_card: title: Project Card type: object @@ -151183,8 +150887,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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -151278,11 +150982,11 @@ x-webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: *755 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_card: *749 + repository: *712 sender: *4 required: - action @@ -151376,9 +151080,9 @@ x-webhooks: - from required: - column_id - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 project_card: allOf: - title: Project Card @@ -151568,7 +151272,7 @@ x-webhooks: type: string required: - after_id - repository: *718 + repository: *712 sender: *4 required: - action @@ -151648,10 +151352,10 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - organization: *717 - project: &757 + enterprise: *709 + installation: *710 + organization: *711 + project: &751 title: Project type: object properties: @@ -151775,7 +151479,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *718 + repository: *712 sender: *4 required: - action @@ -151855,10 +151559,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_column: &756 + enterprise: *709 + installation: *710 + organization: *711 + project_column: &750 title: Project Column type: object properties: @@ -151897,7 +151601,7 @@ x-webhooks: - name - created_at - updated_at - repository: *718 + repository: *712 sender: *4 required: - action @@ -151976,18 +151680,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project_column: *756 + enterprise: *709 + installation: *710 + organization: *711 + project_column: *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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -152077,11 +151781,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project_column: *756 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_column: *750 + repository: *712 sender: *4 required: - action @@ -152161,11 +151865,11 @@ x-webhooks: type: string enum: - moved - enterprise: *715 - installation: *716 - organization: *717 - project_column: *756 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_column: *750 + repository: *712 sender: *4 required: - action @@ -152245,11 +151949,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project: *757 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 + repository: *712 sender: *4 required: - action @@ -152329,18 +152033,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project: *757 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -152442,11 +152146,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project: *757 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 + repository: *712 sender: *4 required: - action @@ -152525,11 +152229,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - organization: *717 - project: *757 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 + repository: *712 sender: *4 required: - action @@ -152610,8 +152314,8 @@ x-webhooks: type: string enum: - closed - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152693,8 +152397,8 @@ x-webhooks: type: string enum: - created - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152776,8 +152480,8 @@ x-webhooks: type: string enum: - deleted - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152895,8 +152599,8 @@ x-webhooks: type: string to: type: string - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152980,7 +152684,7 @@ x-webhooks: type: string enum: - archived - changes: &761 + changes: &755 type: object properties: archived_at: @@ -152994,9 +152698,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *716 - organization: *717 - projects_v2_item: &758 + installation: *710 + organization: *711 + projects_v2_item: &752 title: Projects v2 Item description: An item belonging to a project type: object @@ -153131,9 +152835,9 @@ x-webhooks: nullable: true to: type: string - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153215,9 +152919,9 @@ x-webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153298,9 +153002,9 @@ x-webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153406,7 +153110,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &759 + - &753 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153428,7 +153132,7 @@ x-webhooks: required: - id - name - - &760 + - &754 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153462,8 +153166,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *759 - - *760 + - *753 + - *754 required: - field_value - type: object @@ -153479,9 +153183,9 @@ x-webhooks: nullable: true required: - body - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153576,9 +153280,9 @@ x-webhooks: to: type: string nullable: true - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153661,10 +153365,10 @@ x-webhooks: type: string enum: - restored - changes: *761 - installation: *716 - organization: *717 - projects_v2_item: *758 + changes: *755 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153746,8 +153450,8 @@ x-webhooks: type: string enum: - reopened - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -153829,14 +153533,14 @@ x-webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_status_update: &764 + installation: *710 + organization: *711 + projects_v2_status_update: &758 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *762 - required: *763 + properties: *756 + required: *757 sender: *4 required: - action @@ -153917,9 +153621,9 @@ x-webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_status_update: *764 + installation: *710 + organization: *711 + projects_v2_status_update: *758 sender: *4 required: - action @@ -154055,9 +153759,9 @@ x-webhooks: type: string format: date nullable: true - installation: *716 - organization: *717 - projects_v2_status_update: *764 + installation: *710 + organization: *711 + projects_v2_status_update: *758 sender: *4 required: - action @@ -154128,10 +153832,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - repository @@ -154208,13 +153912,13 @@ x-webhooks: type: string enum: - assigned - assignee: *735 - enterprise: *715 - installation: *716 - number: &765 + assignee: *729 + enterprise: *709 + installation: *710 + number: &759 description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -156497,7 +156201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -156579,11 +156283,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -158861,7 +158565,7 @@ x-webhooks: - draft reason: type: string - repository: *718 + repository: *712 sender: *4 required: - action @@ -158943,11 +158647,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -161225,7 +160929,7 @@ x-webhooks: - draft reason: type: string - repository: *718 + repository: *712 sender: *4 required: - action @@ -161307,11 +161011,11 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: &766 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: &760 allOf: - *571 - type: object @@ -161375,7 +161079,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *718 + repository: *712 sender: *4 required: - action @@ -161456,12 +161160,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -161541,11 +161245,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *715 + enterprise: *709 milestone: *553 - number: *765 - organization: *717 - pull_request: &767 + number: *759 + organization: *711 + pull_request: &761 title: Pull Request type: object properties: @@ -163808,7 +163512,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -163887,11 +163591,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -166173,7 +165877,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *718 + repository: *712 sender: *4 required: - action @@ -166297,12 +166001,12 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -166382,11 +166086,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -168653,7 +168357,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -168733,11 +168437,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 - label: *734 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + label: *728 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -171019,7 +170723,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -171100,10 +170804,10 @@ x-webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -173383,7 +173087,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -173463,12 +173167,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *715 + enterprise: *709 milestone: *553 - number: *765 - organization: *717 - pull_request: *767 - repository: *718 + number: *759 + organization: *711 + pull_request: *761 + repository: *712 sender: *4 required: - action @@ -173547,12 +173251,12 @@ x-webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -173633,12 +173337,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -173718,12 +173422,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -174089,9 +173793,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: type: object properties: @@ -176261,7 +175965,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *712 sender: *4 required: - action @@ -176341,7 +176045,7 @@ x-webhooks: type: string enum: - deleted - comment: &769 + comment: &763 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176626,9 +176330,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: type: object properties: @@ -178786,7 +178490,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *712 sender: *4 required: - action @@ -178866,11 +178570,11 @@ x-webhooks: type: string enum: - edited - changes: *768 - comment: *769 - enterprise: *715 - installation: *716 - organization: *717 + changes: *762 + comment: *763 + enterprise: *709 + installation: *710 + organization: *711 pull_request: type: object properties: @@ -181031,7 +180735,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *712 sender: *4 required: - action @@ -181112,9 +180816,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -183287,7 +182991,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *712 review: description: The review that was affected. type: object @@ -183534,9 +183238,9 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -185590,8 +185294,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: &770 + repository: *712 + review: &764 description: The review that was affected. type: object properties: @@ -185824,12 +185528,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -188112,7 +187816,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_reviewer: title: User type: object @@ -188196,12 +187900,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -190491,7 +190195,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190683,12 +190387,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -192973,7 +192677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_reviewer: title: User type: object @@ -193058,12 +192762,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -195339,7 +195043,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195520,9 +195224,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -197697,8 +197401,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: *770 + repository: *712 + review: *764 sender: *4 required: - action @@ -197778,9 +197482,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -199850,7 +199554,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *712 sender: *4 thread: type: object @@ -200237,9 +199941,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -202295,7 +201999,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *712 sender: *4 thread: type: object @@ -202685,10 +202389,10 @@ x-webhooks: type: string before: type: string - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -204959,7 +204663,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -205041,11 +204745,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *771 - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + assignee: *765 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -207328,7 +207032,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -207407,11 +207111,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - label: *734 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + label: *728 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -209684,7 +209388,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -209765,10 +209469,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -212033,7 +211737,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -212233,7 +211937,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *715 + enterprise: *709 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212325,8 +212029,8 @@ x-webhooks: - url - author - committer - installation: *716 - organization: *717 + installation: *710 + organization: *711 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212901,9 +212605,9 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 registry_package: type: object properties: @@ -213349,7 +213053,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *752 + items: *746 summary: type: string tag_name: @@ -213403,7 +213107,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -213481,9 +213185,9 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 registry_package: type: object properties: @@ -213791,7 +213495,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *752 + items: *746 summary: type: string tag_name: @@ -213840,7 +213544,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -213917,10 +213621,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - release: &772 + enterprise: *709 + installation: *710 + organization: *711 + release: &766 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214238,7 +213942,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *718 + repository: *712 sender: *4 required: - action @@ -214315,11 +214019,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - release: *772 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *766 + repository: *712 sender: *4 required: - action @@ -214436,11 +214140,11 @@ x-webhooks: type: boolean required: - to - enterprise: *715 - installation: *716 - organization: *717 - release: *772 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *766 + repository: *712 sender: *4 required: - action @@ -214518,9 +214222,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214842,7 +214546,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *718 + repository: *712 sender: *4 required: - action @@ -214918,10 +214622,10 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - release: &773 + enterprise: *709 + installation: *710 + organization: *711 + release: &767 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -215240,7 +214944,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *718 + repository: *712 sender: *4 required: - action @@ -215316,11 +215020,11 @@ x-webhooks: type: string enum: - released - enterprise: *715 - installation: *716 - organization: *717 - release: *772 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *766 + repository: *712 sender: *4 required: - action @@ -215396,11 +215100,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *715 - installation: *716 - organization: *717 - release: *773 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *767 + repository: *712 sender: *4 required: - action @@ -215476,10 +215180,10 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_advisory: *635 sender: *4 required: @@ -215556,10 +215260,10 @@ x-webhooks: type: string enum: - reported - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_advisory: *635 sender: *4 required: @@ -215636,10 +215340,10 @@ x-webhooks: type: string enum: - archived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215716,10 +215420,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215797,10 +215501,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215884,10 +215588,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215999,10 +215703,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216074,10 +215778,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 status: type: string @@ -216158,10 +215862,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216238,10 +215942,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216335,10 +216039,10 @@ x-webhooks: - name required: - repository - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216418,10 +216122,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_ruleset: *298 sender: *4 required: @@ -216500,10 +216204,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_ruleset: *298 sender: *4 required: @@ -216582,10 +216286,10 @@ x-webhooks: type: string enum: - edited - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_ruleset: *298 changes: type: object @@ -216890,10 +216594,10 @@ x-webhooks: - from required: - owner - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216971,10 +216675,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217052,7 +216756,7 @@ x-webhooks: type: string enum: - create - alert: &774 + alert: &768 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217173,10 +216877,10 @@ x-webhooks: type: string enum: - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217382,10 +217086,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217463,11 +217167,11 @@ x-webhooks: type: string enum: - reopen - alert: *774 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *768 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217666,10 +217370,10 @@ x-webhooks: enum: - fixed - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217747,7 +217451,7 @@ x-webhooks: type: string enum: - created - alert: &775 + alert: &769 type: object properties: number: *161 @@ -217865,10 +217569,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217949,11 +217653,11 @@ x-webhooks: type: string enum: - created - alert: *775 - installation: *716 - location: *776 - organization: *717 - repository: *718 + alert: *769 + installation: *710 + location: *770 + organization: *711 + repository: *712 sender: *4 required: - location @@ -218191,11 +217895,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218273,11 +217977,11 @@ x-webhooks: type: string enum: - reopened - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218355,11 +218059,11 @@ x-webhooks: type: string enum: - resolved - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218437,11 +218141,11 @@ x-webhooks: type: string enum: - validated - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218567,10 +218271,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *718 - enterprise: *715 - installation: *716 - organization: *717 + repository: *712 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -218648,11 +218352,11 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: &777 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + security_advisory: &771 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218835,11 +218539,11 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: *777 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + security_advisory: *771 sender: *4 required: - action @@ -218912,10 +218616,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219100,9 +218804,9 @@ x-webhooks: type: object properties: security_and_analysis: *272 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: *333 sender: *4 required: @@ -219181,12 +218885,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: &778 + sponsorship: &772 type: object properties: created_at: @@ -219487,12 +219191,12 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - sponsorship @@ -219580,12 +219284,12 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - changes @@ -219662,17 +219366,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &779 + effective_date: &773 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: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - sponsorship @@ -219746,7 +219450,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &780 + changes: &774 type: object properties: tier: @@ -219790,13 +219494,13 @@ x-webhooks: - from required: - tier - effective_date: *779 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + effective_date: *773 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - changes @@ -219873,13 +219577,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *780 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + changes: *774 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - changes @@ -219953,10 +219657,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220039,10 +219743,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220462,15 +220166,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *715 + enterprise: *709 id: description: The unique identifier of the status. type: integer - installation: *716 + installation: *710 name: type: string - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 sha: description: The Commit SHA. @@ -220585,9 +220289,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220677,9 +220381,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220769,9 +220473,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220861,9 +220565,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220940,12 +220644,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - team: &781 + team: &775 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221168,9 +220872,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -221628,7 +221332,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -221704,9 +221408,9 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -222164,7 +221868,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -222241,9 +221945,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -222701,7 +222405,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -222845,9 +222549,9 @@ x-webhooks: - from required: - permissions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -223305,7 +223009,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - changes @@ -223383,9 +223087,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -223843,7 +223547,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -223919,10 +223623,10 @@ x-webhooks: type: string enum: - started - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -223995,16 +223699,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *715 + enterprise: *709 inputs: type: object nullable: true additionalProperties: true - installation: *716 - organization: *717 + installation: *710 + organization: *711 ref: type: string - repository: *718 + repository: *712 sender: *4 workflow: type: string @@ -224086,10 +223790,10 @@ x-webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: allOf: @@ -224405,10 +224109,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: allOf: @@ -224747,10 +224451,10 @@ x-webhooks: type: string enum: - queued - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: type: object @@ -224964,10 +224668,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: type: object @@ -225183,12 +224887,12 @@ x-webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 workflow_run: title: Workflow Run type: object @@ -226187,12 +225891,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 workflow_run: title: Workflow Run type: object @@ -227176,12 +226880,12 @@ x-webhooks: type: string enum: - requested - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 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 46e15043c..5a35ecf80 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -53583,7 +53583,7 @@ "operationId": "billing/get-all-budgets-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization" }, "parameters": [ { @@ -53830,7 +53830,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -53844,7 +53844,7 @@ "operationId": "billing/get-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization" }, "parameters": [ { @@ -54137,7 +54137,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -54149,7 +54149,7 @@ "operationId": "billing/update-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization" }, "parameters": [ { @@ -54475,13 +54475,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -54584,7 +54584,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -54596,7 +54596,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -54608,7 +54608,7 @@ "operationId": "billing/delete-budget-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization" + "url": "https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization" }, "parameters": [ { @@ -54827,7 +54827,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -54841,7 +54841,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization" }, "parameters": [ { @@ -55216,7 +55216,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -55230,7 +55230,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization" }, "parameters": [ { @@ -55506,7 +55506,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -55520,7 +55520,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-org", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization" }, "parameters": [ { @@ -55863,7 +55863,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -172971,290 +172971,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -615837,219 +615553,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/users/{username}/settings/billing/premium_request/usage": { "get": { "summary": "Get billing premium request usage report for a user", @@ -616060,7 +615563,7 @@ "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" + "url": "https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user" }, "parameters": [ { @@ -616422,78 +615925,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for a user", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" + "subcategory": "usage" } } }, @@ -616507,7 +615939,7 @@ "operationId": "billing/get-github-billing-usage-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user" }, "parameters": [ { @@ -616777,7 +616209,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -616791,7 +616223,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user" + "url": "https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user" }, "parameters": [ { @@ -617160,7 +616592,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, 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 6437679a1..e26d2a991 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -16205,7 +16205,7 @@ paths: operationId: billing/get-all-budgets-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-all-budgets-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-all-budgets-for-an-organization parameters: - *63 responses: @@ -16329,7 +16329,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID for an organization @@ -16343,7 +16343,7 @@ paths: operationId: billing/get-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization + url: https://docs.github.com/rest/billing/budgets#get-a-budget-by-id-for-an-organization parameters: - *63 - &105 @@ -16445,7 +16445,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -16458,7 +16458,7 @@ paths: operationId: billing/update-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#update-a-budget-for-an-organization parameters: - *63 - *105 @@ -16599,11 +16599,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': *15 '500': description: Internal server error @@ -16614,12 +16614,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget for an organization description: |- @@ -16632,7 +16632,7 @@ paths: operationId: billing/delete-budget-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#delete-a-budget-for-an-organization + url: https://docs.github.com/rest/billing/budgets#delete-a-budget-for-an-organization parameters: - *63 - *105 @@ -16667,7 +16667,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets "/organizations/{org}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an organization @@ -16680,7 +16680,7 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-an-organization parameters: - *63 - &106 @@ -16716,7 +16716,7 @@ paths: required: false schema: type: string - - &706 + - &702 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -16845,7 +16845,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -16858,11 +16858,11 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-an-organization parameters: - *63 - *106 - - &709 + - &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 @@ -16952,7 +16952,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/organizations/{org}/settings/billing/usage/summary": get: summary: Get billing usage summary for an organization @@ -16968,13 +16968,13 @@ paths: operationId: billing/get-github-billing-usage-summary-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-an-organization parameters: - *63 - *106 - *108 - *107 - - &710 + - &704 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -16982,7 +16982,7 @@ paths: schema: type: string - *109 - - &711 + - &705 name: sku description: The SKU to query for usage. in: query @@ -17098,7 +17098,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -35943,7 +35943,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &762 + properties: &756 id: type: number description: The unique identifier of the status update. @@ -35991,7 +35991,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &763 + required: &757 - id - node_id - created_at @@ -43509,212 +43509,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - *63 - responses: - '200': - description: Response - content: - application/json: - schema: &702 - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes - used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner - machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner - machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner - machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - examples: - default: &703 - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - *63 - responses: - '200': - description: Response - content: - application/json: - schema: &704 - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub - Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - examples: - default: &705 - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - *63 - responses: - '200': - description: Response - content: - application/json: - schema: &707 - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) - used in billing cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month - examples: - default: &708 - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -58775,7 +58569,7 @@ paths: check. type: array items: *406 - deployment: &720 + deployment: &714 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -59687,7 +59481,7 @@ paths: type: string format: date-time nullable: true - head_commit: &746 + head_commit: &740 title: Simple Commit description: A commit. type: object @@ -74227,7 +74021,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &754 + last_response: &748 title: Hook Response type: object properties: @@ -89947,7 +89741,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &776 + items: &770 type: object properties: type: @@ -103299,7 +103093,7 @@ paths: - title - created_at examples: - default: &712 + default: &706 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -103461,7 +103255,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &713 + - &707 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 @@ -103490,7 +103284,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &714 + items: &708 title: Starred Repository description: Starred Repository type: object @@ -105976,66 +105770,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - *59 - responses: - '200': - description: Response - content: - application/json: - schema: *702 - examples: - default: *703 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - *59 - responses: - '200': - description: Response - content: - application/json: - schema: *704 - examples: - default: *705 - 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 @@ -106048,13 +105782,13 @@ paths: 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 + url: https://docs.github.com/rest/billing/usage#get-billing-premium-request-usage-report-for-a-user parameters: - *59 - *106 - *108 - *107 - - *706 + - *702 - *109 responses: '200': @@ -106168,37 +105902,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for a user - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - *59 - responses: - '200': - description: Response - content: - application/json: - schema: *707 - examples: - default: *708 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing + subcategory: usage "/users/{username}/settings/billing/usage": get: summary: Get billing usage report for a user @@ -106211,11 +105915,11 @@ paths: operationId: billing/get-github-billing-usage-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-report-for-a-user parameters: - *59 - *106 - - *709 + - *703 - *107 responses: '200': @@ -106292,7 +105996,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/settings/billing/usage/summary": get: summary: Get billing usage summary for a user @@ -106308,15 +106012,15 @@ paths: operationId: billing/get-github-billing-usage-summary-report-user externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user + url: https://docs.github.com/rest/billing/usage#get-billing-usage-summary-for-a-user parameters: - *59 - *106 - *108 - *107 - - *710 + - *704 - *109 - - *711 + - *705 responses: '200': description: Response when getting a billing usage summary @@ -106427,7 +106131,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -106484,7 +106188,7 @@ paths: type: array items: *687 examples: - default: *712 + default: *706 headers: Link: *54 x-github: @@ -106509,7 +106213,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *59 - - *713 + - *707 - *48 - *17 - *19 @@ -106521,7 +106225,7 @@ paths: schema: anyOf: - type: array - items: *714 + items: *708 - type: array items: *66 examples: @@ -106684,7 +106388,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &715 + enterprise: &709 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106742,7 +106446,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &716 + installation: &710 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106761,7 +106465,7 @@ x-webhooks: required: - id - node_id - organization: &717 + organization: &711 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106821,13 +106525,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &718 + repository: &712 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: &748 + properties: &742 id: description: Unique identifier of the repository example: 42 @@ -107510,7 +107214,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &749 + required: &743 - archive_url - assignees_url - blobs_url @@ -107661,10 +107365,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -107740,11 +107444,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: &719 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + rule: &713 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) @@ -107967,11 +107671,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + rule: *713 sender: *4 required: - action @@ -108154,11 +107858,11 @@ x-webhooks: - everyone required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - rule: *719 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + rule: *713 sender: *4 required: - action @@ -108242,7 +107946,7 @@ x-webhooks: type: string enum: - completed - check_run: &721 + check_run: &715 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108333,7 +108037,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *720 + deployment: *714 details_url: example: https://example.com type: string @@ -108418,10 +108122,10 @@ x-webhooks: - output - app - pull_requests - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 sender: *4 required: - check_run @@ -108814,11 +108518,11 @@ x-webhooks: type: string enum: - created - check_run: *721 - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + check_run: *715 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 sender: *4 required: - check_run @@ -109214,11 +108918,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *721 - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + check_run: *715 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 requested_action: description: The action requested by the user. type: object @@ -109623,11 +109327,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *721 - installation: *716 - enterprise: *715 - organization: *717 - repository: *718 + check_run: *715 + installation: *710 + enterprise: *709 + organization: *711 + repository: *712 sender: *4 required: - check_run @@ -110604,10 +110308,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -111292,10 +110996,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -111974,10 +111678,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -112288,20 +111992,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &722 + commit_oid: &716 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: *715 - installation: *716 - organization: *717 - ref: &723 + enterprise: *709 + installation: *710 + organization: *711 + ref: &717 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: *718 + repository: *712 sender: *4 required: - action @@ -112696,12 +112400,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -112967,12 +112671,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -113304,12 +113008,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -113577,16 +113281,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 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: *718 + repository: *712 sender: *4 required: - action @@ -113823,12 +113527,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *722 - enterprise: *715 - installation: *716 - organization: *717 - ref: *723 - repository: *718 + commit_oid: *716 + enterprise: *709 + installation: *710 + organization: *711 + ref: *717 + repository: *712 sender: *4 required: - action @@ -114085,10 +113789,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -114168,18 +113872,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *717 - pusher_type: &724 + organization: *711 + pusher_type: &718 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &725 + ref: &719 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114189,7 +113893,7 @@ x-webhooks: enum: - tag - branch - repository: *718 + repository: *712 sender: *4 required: - ref @@ -114272,9 +113976,9 @@ x-webhooks: enum: - created definition: *266 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114359,9 +114063,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114439,9 +114143,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *266 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114519,9 +114223,9 @@ x-webhooks: enum: - updated definition: *266 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -114598,10 +114302,10 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - repository: *718 - organization: *717 + enterprise: *709 + installation: *710 + repository: *712 + organization: *711 sender: *4 new_property_values: type: array @@ -114686,18 +114390,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - pusher_type: *724 - ref: *725 + enterprise: *709 + installation: *710 + organization: *711 + pusher_type: *718 + ref: *719 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *718 + repository: *712 sender: *4 required: - ref @@ -114782,10 +114486,10 @@ x-webhooks: enum: - auto_dismissed alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -114870,10 +114574,10 @@ x-webhooks: enum: - auto_reopened alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -114958,10 +114662,10 @@ x-webhooks: enum: - created alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115044,10 +114748,10 @@ x-webhooks: enum: - dismissed alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115130,10 +114834,10 @@ x-webhooks: enum: - fixed alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115217,10 +114921,10 @@ x-webhooks: enum: - reintroduced alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115303,10 +115007,10 @@ x-webhooks: enum: - reopened alert: *478 - installation: *716 - organization: *717 - enterprise: *715 - repository: *718 + installation: *710 + organization: *711 + enterprise: *709 + repository: *712 sender: *4 required: - action @@ -115383,9 +115087,9 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - key: &726 + enterprise: *709 + installation: *710 + key: &720 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115421,8 +115125,8 @@ x-webhooks: - verified - created_at - read_only - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -115499,11 +115203,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - key: *726 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + key: *720 + organization: *711 + repository: *712 sender: *4 required: - action @@ -116064,12 +115768,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: &730 + workflow: &724 title: Workflow type: object nullable: true @@ -116799,9 +116503,9 @@ x-webhooks: pull_requests: type: array items: *571 - repository: *718 - organization: *717 - installation: *716 + repository: *712 + organization: *711 + installation: *710 sender: *4 responses: '200': @@ -116872,7 +116576,7 @@ x-webhooks: type: string enum: - approved - approver: &727 + approver: &721 type: object properties: avatar_url: @@ -116915,11 +116619,11 @@ x-webhooks: type: string comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: &728 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + reviewers: &722 type: array items: type: object @@ -116998,7 +116702,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &729 + workflow_job_run: &723 type: object properties: conclusion: @@ -117729,18 +117433,18 @@ x-webhooks: type: string enum: - rejected - approver: *727 + approver: *721 comment: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - reviewers: *728 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + reviewers: *722 sender: *4 since: type: string - workflow_job_run: *729 + workflow_job_run: *723 workflow_job_runs: type: array items: @@ -118444,13 +118148,13 @@ x-webhooks: type: string enum: - requested - enterprise: *715 + enterprise: *709 environment: type: string - installation: *716 - organization: *717 - repository: *718 - requestor: &735 + installation: *710 + organization: *711 + repository: *712 + requestor: &729 title: User type: object nullable: true @@ -120349,12 +120053,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 workflow_run: title: Deployment Workflow Run type: object @@ -121034,7 +120738,7 @@ x-webhooks: type: string enum: - answered - answer: &733 + answer: &727 type: object properties: author_association: @@ -121191,7 +120895,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &731 + discussion: &725 title: Discussion description: A Discussion in a repository. type: object @@ -121499,10 +121203,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -121629,11 +121333,11 @@ x-webhooks: - from required: - category - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -121716,11 +121420,11 @@ x-webhooks: type: string enum: - closed - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -121802,7 +121506,7 @@ x-webhooks: type: string enum: - created - comment: &732 + comment: &726 type: object properties: author_association: @@ -121959,11 +121663,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122046,12 +121750,12 @@ x-webhooks: type: string enum: - deleted - comment: *732 - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *726 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122146,12 +121850,12 @@ x-webhooks: - from required: - body - comment: *732 - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + comment: *726 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122235,11 +121939,11 @@ x-webhooks: type: string enum: - created - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122321,11 +122025,11 @@ x-webhooks: type: string enum: - deleted - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122425,11 +122129,11 @@ x-webhooks: type: string required: - from - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122511,10 +122215,10 @@ x-webhooks: type: string enum: - labeled - discussion: *731 - enterprise: *715 - installation: *716 - label: &734 + discussion: *725 + enterprise: *709 + installation: *710 + label: &728 title: Label type: object properties: @@ -122546,8 +122250,8 @@ x-webhooks: - color - default - description - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122630,11 +122334,11 @@ x-webhooks: type: string enum: - locked - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122716,11 +122420,11 @@ x-webhooks: type: string enum: - pinned - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122802,11 +122506,11 @@ x-webhooks: type: string enum: - reopened - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122891,16 +122595,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *731 - new_repository: *718 + new_discussion: *725 + new_repository: *712 required: - new_discussion - new_repository - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -122983,10 +122687,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *731 - old_answer: *733 - organization: *717 - repository: *718 + discussion: *725 + old_answer: *727 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123068,12 +122772,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *731 - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123156,11 +122860,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123242,11 +122946,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *731 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + discussion: *725 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -123319,7 +123023,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *715 + enterprise: *709 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -123979,9 +123683,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - forkee @@ -124127,9 +123831,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pages: description: The pages that were updated. type: array @@ -124166,7 +123870,7 @@ x-webhooks: - action - sha - html_url - repository: *718 + repository: *712 sender: *4 required: - pages @@ -124242,10 +123946,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: &736 + organization: *711 + repositories: &730 description: An array of repository objects that the installation can access. type: array @@ -124271,8 +123975,8 @@ x-webhooks: - name - full_name - private - repository: *718 - requester: *735 + repository: *712 + requester: *729 sender: *4 required: - action @@ -124347,11 +124051,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -124427,11 +124131,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -124507,10 +124211,10 @@ x-webhooks: type: string enum: - added - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories_added: &737 + organization: *711 + repositories_added: &731 description: An array of repository objects, which were added to the installation. type: array @@ -124556,15 +124260,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *718 - repository_selection: &738 + repository: *712 + repository_selection: &732 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *735 + requester: *729 sender: *4 required: - action @@ -124643,10 +124347,10 @@ x-webhooks: type: string enum: - removed - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories_added: *737 + organization: *711 + repositories_added: *731 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -124673,9 +124377,9 @@ x-webhooks: - name - full_name - private - repository: *718 - repository_selection: *738 - requester: *735 + repository: *712 + repository_selection: *732 + requester: *729 sender: *4 required: - action @@ -124754,11 +124458,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -124936,10 +124640,10 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 target_type: type: string @@ -125018,11 +124722,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *715 + enterprise: *709 installation: *22 - organization: *717 - repositories: *736 - repository: *718 + organization: *711 + repositories: *730 + repository: *712 requester: nullable: true sender: *4 @@ -125274,8 +124978,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126419,8 +126123,8 @@ x-webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -126500,7 +126204,7 @@ x-webhooks: type: string enum: - deleted - comment: &739 + comment: &733 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -126665,8 +126369,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -127808,8 +127512,8 @@ x-webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -127889,7 +127593,7 @@ x-webhooks: type: string enum: - edited - changes: &768 + changes: &762 description: The changes to the comment. type: object properties: @@ -127901,9 +127605,9 @@ x-webhooks: type: string required: - from - comment: *739 - enterprise: *715 - installation: *716 + comment: *733 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129046,8 +128750,8 @@ x-webhooks: - state - locked - assignee - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129137,9 +128841,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129233,9 +128937,9 @@ x-webhooks: type: number blocking_issue: *82 blocking_issue_repo: *66 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129328,9 +129032,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129424,9 +129128,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -129511,10 +129215,10 @@ x-webhooks: type: string enum: - assigned - assignee: *735 - enterprise: *715 - installation: *716 - issue: &742 + assignee: *729 + enterprise: *709 + installation: *710 + issue: &736 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130424,8 +130128,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -130505,8 +130209,8 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131556,8 +131260,8 @@ x-webhooks: required: - state - closed_at - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -131636,8 +131340,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132542,8 +132246,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -132622,8 +132326,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133529,7 +133233,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &740 + milestone: &734 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133667,8 +133371,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -133767,8 +133471,8 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134678,9 +134382,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *734 - organization: *717 - repository: *718 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -134760,8 +134464,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135670,9 +135374,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *734 - organization: *717 - repository: *718 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -135752,8 +135456,8 @@ x-webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136663,8 +136367,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -136743,8 +136447,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137648,9 +137352,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *740 - organization: *717 - repository: *718 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -139084,8 +138788,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139994,8 +139698,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -140075,9 +139779,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *715 - installation: *716 - issue: &741 + enterprise: *709 + installation: *710 + issue: &735 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -140980,8 +140684,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -141060,8 +140764,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141970,8 +141674,8 @@ x-webhooks: user_view_type: type: string type: *219 - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143425,11 +143129,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *715 - installation: *716 - issue: *741 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *735 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143509,12 +143213,12 @@ x-webhooks: type: string enum: - typed - enterprise: *715 - installation: *716 - issue: *742 + enterprise: *709 + installation: *710 + issue: *736 type: *219 - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143595,7 +143299,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &771 + assignee: &765 title: User type: object nullable: true @@ -143665,11 +143369,11 @@ x-webhooks: required: - login - id - enterprise: *715 - installation: *716 - issue: *742 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *736 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143748,12 +143452,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - issue: *742 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *736 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -143833,8 +143537,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -144742,8 +144446,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -144823,11 +144527,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *715 - installation: *716 - issue: *741 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + issue: *735 + organization: *711 + repository: *712 sender: *4 required: - action @@ -144906,12 +144610,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *715 - installation: *716 - issue: *742 + enterprise: *709 + installation: *710 + issue: *736 type: *219 - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -144991,11 +144695,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -145073,11 +144777,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -145187,11 +144891,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - label: *734 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + label: *728 + organization: *711 + repository: *712 sender: *4 required: - action @@ -145273,9 +144977,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: &743 + enterprise: *709 + installation: *710 + marketplace_purchase: &737 title: Marketplace Purchase type: object required: @@ -145358,8 +145062,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: &744 + organization: *711 + previous_marketplace_purchase: &738 title: Marketplace Purchase type: object properties: @@ -145439,7 +145143,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *712 sender: *4 required: - action @@ -145519,10 +145223,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *743 - organization: *717 + enterprise: *709 + installation: *710 + marketplace_purchase: *737 + organization: *711 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145605,7 +145309,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *712 sender: *4 required: - action @@ -145687,10 +145391,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *743 - organization: *717 + enterprise: *709 + installation: *710 + marketplace_purchase: *737 + organization: *711 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145772,7 +145476,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *718 + repository: *712 sender: *4 required: - action @@ -145853,8 +145557,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 marketplace_purchase: title: Marketplace Purchase type: object @@ -145936,9 +145640,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *717 - previous_marketplace_purchase: *744 - repository: *718 + organization: *711 + previous_marketplace_purchase: *738 + repository: *712 sender: *4 required: - action @@ -146018,12 +145722,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *715 - installation: *716 - marketplace_purchase: *743 - organization: *717 - previous_marketplace_purchase: *744 - repository: *718 + enterprise: *709 + installation: *710 + marketplace_purchase: *737 + organization: *711 + previous_marketplace_purchase: *738 + repository: *712 sender: *4 required: - action @@ -146125,11 +145829,11 @@ x-webhooks: type: string required: - to - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146229,11 +145933,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146312,11 +146016,11 @@ x-webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146394,11 +146098,11 @@ x-webhooks: type: string enum: - added - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146474,7 +146178,7 @@ x-webhooks: required: - login - id - team: &745 + team: &739 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146697,11 +146401,11 @@ x-webhooks: type: string enum: - removed - enterprise: *715 - installation: *716 - member: *735 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + member: *729 + organization: *711 + repository: *712 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146778,7 +146482,7 @@ x-webhooks: required: - login - id - team: *745 + team: *739 required: - action - scope @@ -146860,8 +146564,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *716 - merge_group: &747 + installation: *710 + merge_group: &741 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -146880,15 +146584,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *746 + head_commit: *740 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -146974,10 +146678,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *716 - merge_group: *747 - organization: *717 - repository: *718 + installation: *710 + merge_group: *741 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147050,7 +146754,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 + enterprise: *709 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147159,16 +146863,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *716 - organization: *717 + installation: *710 + organization: *711 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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -147249,11 +146953,11 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - milestone: *740 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147332,9 +147036,9 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - milestone: &750 + enterprise: *709 + installation: *710 + milestone: &744 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147471,8 +147175,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147551,11 +147255,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - milestone: *740 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147665,11 +147369,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - milestone: *740 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *734 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147749,11 +147453,11 @@ x-webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - milestone: *750 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + milestone: *744 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147832,11 +147536,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *735 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *729 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147915,11 +147619,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *735 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + blocked_user: *729 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -147998,9 +147702,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - membership: &751 + enterprise: *709 + installation: *710 + membership: &745 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148107,8 +147811,8 @@ x-webhooks: - role - organization_url - user - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148186,11 +147890,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *715 - installation: *716 - membership: *751 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + membership: *745 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148269,8 +147973,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148386,10 +148090,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 - user: *735 + user: *729 required: - action - invitation @@ -148467,11 +148171,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *715 - installation: *716 - membership: *751 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + membership: *745 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148558,11 +148262,11 @@ x-webhooks: properties: from: type: string - enterprise: *715 - installation: *716 - membership: *751 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + membership: *745 + organization: *711 + repository: *712 sender: *4 required: - action @@ -148638,9 +148342,9 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 package: description: Information about the package. type: object @@ -149139,7 +148843,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &752 + items: &746 title: Ruby Gems metadata type: object properties: @@ -149234,7 +148938,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -149310,9 +149014,9 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 package: description: Information about the package. type: object @@ -149665,7 +149369,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *752 + items: *746 source_url: type: string format: uri @@ -149735,7 +149439,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -149912,12 +149616,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *715 + enterprise: *709 id: type: integer - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - id @@ -149994,7 +149698,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &753 + personal_access_token_request: &747 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150140,10 +149844,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *715 - organization: *717 + enterprise: *709 + organization: *711 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150220,11 +149924,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *753 - enterprise: *715 - organization: *717 + personal_access_token_request: *747 + enterprise: *709 + organization: *711 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150300,11 +150004,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *753 - enterprise: *715 - organization: *717 + personal_access_token_request: *747 + enterprise: *709 + organization: *711 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150379,11 +150083,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *753 - organization: *717 - enterprise: *715 + personal_access_token_request: *747 + organization: *711 + enterprise: *709 sender: *4 - installation: *716 + installation: *710 required: - action - personal_access_token_request @@ -150488,7 +150192,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *754 + last_response: *748 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150520,8 +150224,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 zen: description: Random string of GitHub zen. @@ -150766,10 +150470,10 @@ x-webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: &755 + enterprise: *709 + installation: *710 + organization: *711 + project_card: &749 title: Project Card type: object properties: @@ -150888,7 +150592,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *718 + repository: *712 sender: *4 required: - action @@ -150969,11 +150673,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_card: *755 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_card: *749 + repository: *712 sender: *4 required: - action @@ -151053,9 +150757,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 project_card: title: Project Card type: object @@ -151183,8 +150887,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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -151278,11 +150982,11 @@ x-webhooks: - from required: - note - enterprise: *715 - installation: *716 - organization: *717 - project_card: *755 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_card: *749 + repository: *712 sender: *4 required: - action @@ -151376,9 +151080,9 @@ x-webhooks: - from required: - column_id - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 project_card: allOf: - title: Project Card @@ -151568,7 +151272,7 @@ x-webhooks: type: string required: - after_id - repository: *718 + repository: *712 sender: *4 required: - action @@ -151648,10 +151352,10 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - organization: *717 - project: &757 + enterprise: *709 + installation: *710 + organization: *711 + project: &751 title: Project type: object properties: @@ -151775,7 +151479,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *718 + repository: *712 sender: *4 required: - action @@ -151855,10 +151559,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project_column: &756 + enterprise: *709 + installation: *710 + organization: *711 + project_column: &750 title: Project Column type: object properties: @@ -151897,7 +151601,7 @@ x-webhooks: - name - created_at - updated_at - repository: *718 + repository: *712 sender: *4 required: - action @@ -151976,18 +151680,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project_column: *756 + enterprise: *709 + installation: *710 + organization: *711 + project_column: *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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -152077,11 +151781,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project_column: *756 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_column: *750 + repository: *712 sender: *4 required: - action @@ -152161,11 +151865,11 @@ x-webhooks: type: string enum: - moved - enterprise: *715 - installation: *716 - organization: *717 - project_column: *756 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project_column: *750 + repository: *712 sender: *4 required: - action @@ -152245,11 +151949,11 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - project: *757 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 + repository: *712 sender: *4 required: - action @@ -152329,18 +152033,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - project: *757 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 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: *748 - required: *749 + properties: *742 + required: *743 nullable: true sender: *4 required: @@ -152442,11 +152146,11 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - project: *757 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 + repository: *712 sender: *4 required: - action @@ -152525,11 +152229,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - organization: *717 - project: *757 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + project: *751 + repository: *712 sender: *4 required: - action @@ -152610,8 +152314,8 @@ x-webhooks: type: string enum: - closed - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152693,8 +152397,8 @@ x-webhooks: type: string enum: - created - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152776,8 +152480,8 @@ x-webhooks: type: string enum: - deleted - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152895,8 +152599,8 @@ x-webhooks: type: string to: type: string - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -152980,7 +152684,7 @@ x-webhooks: type: string enum: - archived - changes: &761 + changes: &755 type: object properties: archived_at: @@ -152994,9 +152698,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *716 - organization: *717 - projects_v2_item: &758 + installation: *710 + organization: *711 + projects_v2_item: &752 title: Projects v2 Item description: An item belonging to a project type: object @@ -153131,9 +152835,9 @@ x-webhooks: nullable: true to: type: string - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153215,9 +152919,9 @@ x-webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153298,9 +153002,9 @@ x-webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153406,7 +153110,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &759 + - &753 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153428,7 +153132,7 @@ x-webhooks: required: - id - name - - &760 + - &754 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153462,8 +153166,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *759 - - *760 + - *753 + - *754 required: - field_value - type: object @@ -153479,9 +153183,9 @@ x-webhooks: nullable: true required: - body - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153576,9 +153280,9 @@ x-webhooks: to: type: string nullable: true - installation: *716 - organization: *717 - projects_v2_item: *758 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153661,10 +153365,10 @@ x-webhooks: type: string enum: - restored - changes: *761 - installation: *716 - organization: *717 - projects_v2_item: *758 + changes: *755 + installation: *710 + organization: *711 + projects_v2_item: *752 sender: *4 required: - action @@ -153746,8 +153450,8 @@ x-webhooks: type: string enum: - reopened - installation: *716 - organization: *717 + installation: *710 + organization: *711 projects_v2: *253 sender: *4 required: @@ -153829,14 +153533,14 @@ x-webhooks: type: string enum: - created - installation: *716 - organization: *717 - projects_v2_status_update: &764 + installation: *710 + organization: *711 + projects_v2_status_update: &758 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *762 - required: *763 + properties: *756 + required: *757 sender: *4 required: - action @@ -153917,9 +153621,9 @@ x-webhooks: type: string enum: - deleted - installation: *716 - organization: *717 - projects_v2_status_update: *764 + installation: *710 + organization: *711 + projects_v2_status_update: *758 sender: *4 required: - action @@ -154055,9 +153759,9 @@ x-webhooks: type: string format: date nullable: true - installation: *716 - organization: *717 - projects_v2_status_update: *764 + installation: *710 + organization: *711 + projects_v2_status_update: *758 sender: *4 required: - action @@ -154128,10 +153832,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - repository @@ -154208,13 +153912,13 @@ x-webhooks: type: string enum: - assigned - assignee: *735 - enterprise: *715 - installation: *716 - number: &765 + assignee: *729 + enterprise: *709 + installation: *710 + number: &759 description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -156497,7 +156201,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -156579,11 +156283,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -158861,7 +158565,7 @@ x-webhooks: - draft reason: type: string - repository: *718 + repository: *712 sender: *4 required: - action @@ -158943,11 +158647,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -161225,7 +160929,7 @@ x-webhooks: - draft reason: type: string - repository: *718 + repository: *712 sender: *4 required: - action @@ -161307,11 +161011,11 @@ x-webhooks: type: string enum: - closed - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: &766 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: &760 allOf: - *571 - type: object @@ -161375,7 +161079,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *718 + repository: *712 sender: *4 required: - action @@ -161456,12 +161160,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -161541,11 +161245,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *715 + enterprise: *709 milestone: *553 - number: *765 - organization: *717 - pull_request: &767 + number: *759 + organization: *711 + pull_request: &761 title: Pull Request type: object properties: @@ -163808,7 +163512,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -163887,11 +163591,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -166173,7 +165877,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *718 + repository: *712 sender: *4 required: - action @@ -166297,12 +166001,12 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -166382,11 +166086,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -168653,7 +168357,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -168733,11 +168437,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *715 - installation: *716 - label: *734 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + label: *728 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -171019,7 +170723,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -171100,10 +170804,10 @@ x-webhooks: type: string enum: - locked - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -173383,7 +173087,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -173463,12 +173167,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *715 + enterprise: *709 milestone: *553 - number: *765 - organization: *717 - pull_request: *767 - repository: *718 + number: *759 + organization: *711 + pull_request: *761 + repository: *712 sender: *4 required: - action @@ -173547,12 +173251,12 @@ x-webhooks: type: string enum: - opened - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -173633,12 +173337,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -173718,12 +173422,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *715 - installation: *716 - number: *765 - organization: *717 - pull_request: *766 - repository: *718 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 + pull_request: *760 + repository: *712 sender: *4 required: - action @@ -174089,9 +173793,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: type: object properties: @@ -176261,7 +175965,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *712 sender: *4 required: - action @@ -176341,7 +176045,7 @@ x-webhooks: type: string enum: - deleted - comment: &769 + comment: &763 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -176626,9 +176330,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: type: object properties: @@ -178786,7 +178490,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *712 sender: *4 required: - action @@ -178866,11 +178570,11 @@ x-webhooks: type: string enum: - edited - changes: *768 - comment: *769 - enterprise: *715 - installation: *716 - organization: *717 + changes: *762 + comment: *763 + enterprise: *709 + installation: *710 + organization: *711 pull_request: type: object properties: @@ -181031,7 +180735,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *718 + repository: *712 sender: *4 required: - action @@ -181112,9 +180816,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -183287,7 +182991,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *712 review: description: The review that was affected. type: object @@ -183534,9 +183238,9 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -185590,8 +185294,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: &770 + repository: *712 + review: &764 description: The review that was affected. type: object properties: @@ -185824,12 +185528,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -188112,7 +187816,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_reviewer: title: User type: object @@ -188196,12 +187900,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -190491,7 +190195,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_team: title: Team description: Groups of organization members that gives permissions @@ -190683,12 +190387,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -192973,7 +192677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_reviewer: title: User type: object @@ -193058,12 +192762,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *715 - installation: *716 + enterprise: *709 + installation: *710 number: description: The pull request number. type: integer - organization: *717 + organization: *711 pull_request: title: Pull Request type: object @@ -195339,7 +195043,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195520,9 +195224,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -197697,8 +197401,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 - review: *770 + repository: *712 + review: *764 sender: *4 required: - action @@ -197778,9 +197482,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -199850,7 +199554,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *712 sender: *4 thread: type: object @@ -200237,9 +199941,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 pull_request: title: Simple Pull Request type: object @@ -202295,7 +201999,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *718 + repository: *712 sender: *4 thread: type: object @@ -202685,10 +202389,10 @@ x-webhooks: type: string before: type: string - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -204959,7 +204663,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -205041,11 +204745,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *771 - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + assignee: *765 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -207328,7 +207032,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -207407,11 +207111,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *715 - installation: *716 - label: *734 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + label: *728 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -209684,7 +209388,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -209765,10 +209469,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *715 - installation: *716 - number: *765 - organization: *717 + enterprise: *709 + installation: *710 + number: *759 + organization: *711 pull_request: title: Pull Request type: object @@ -212033,7 +211737,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *718 + repository: *712 sender: *4 required: - action @@ -212233,7 +211937,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *715 + enterprise: *709 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -212325,8 +212029,8 @@ x-webhooks: - url - author - committer - installation: *716 - organization: *717 + installation: *710 + organization: *711 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -212901,9 +212605,9 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 registry_package: type: object properties: @@ -213349,7 +213053,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *752 + items: *746 summary: type: string tag_name: @@ -213403,7 +213107,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -213481,9 +213185,9 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 registry_package: type: object properties: @@ -213791,7 +213495,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *752 + items: *746 summary: type: string tag_name: @@ -213840,7 +213544,7 @@ x-webhooks: - owner - package_version - registry - repository: *718 + repository: *712 sender: *4 required: - action @@ -213917,10 +213621,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - release: &772 + enterprise: *709 + installation: *710 + organization: *711 + release: &766 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -214238,7 +213942,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *718 + repository: *712 sender: *4 required: - action @@ -214315,11 +214019,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - release: *772 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *766 + repository: *712 sender: *4 required: - action @@ -214436,11 +214140,11 @@ x-webhooks: type: boolean required: - to - enterprise: *715 - installation: *716 - organization: *717 - release: *772 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *766 + repository: *712 sender: *4 required: - action @@ -214518,9 +214222,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -214842,7 +214546,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *718 + repository: *712 sender: *4 required: - action @@ -214918,10 +214622,10 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - release: &773 + enterprise: *709 + installation: *710 + organization: *711 + release: &767 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -215240,7 +214944,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *718 + repository: *712 sender: *4 required: - action @@ -215316,11 +215020,11 @@ x-webhooks: type: string enum: - released - enterprise: *715 - installation: *716 - organization: *717 - release: *772 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *766 + repository: *712 sender: *4 required: - action @@ -215396,11 +215100,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *715 - installation: *716 - organization: *717 - release: *773 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + release: *767 + repository: *712 sender: *4 required: - action @@ -215476,10 +215180,10 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_advisory: *635 sender: *4 required: @@ -215556,10 +215260,10 @@ x-webhooks: type: string enum: - reported - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_advisory: *635 sender: *4 required: @@ -215636,10 +215340,10 @@ x-webhooks: type: string enum: - archived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215716,10 +215420,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215797,10 +215501,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215884,10 +215588,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -215999,10 +215703,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216074,10 +215778,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 status: type: string @@ -216158,10 +215862,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216238,10 +215942,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216335,10 +216039,10 @@ x-webhooks: - name required: - repository - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216418,10 +216122,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_ruleset: *298 sender: *4 required: @@ -216500,10 +216204,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_ruleset: *298 sender: *4 required: @@ -216582,10 +216286,10 @@ x-webhooks: type: string enum: - edited - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 repository_ruleset: *298 changes: type: object @@ -216890,10 +216594,10 @@ x-webhooks: - from required: - owner - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -216971,10 +216675,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217052,7 +216756,7 @@ x-webhooks: type: string enum: - create - alert: &774 + alert: &768 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -217173,10 +216877,10 @@ x-webhooks: type: string enum: - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217382,10 +217086,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217463,11 +217167,11 @@ x-webhooks: type: string enum: - reopen - alert: *774 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *768 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217666,10 +217370,10 @@ x-webhooks: enum: - fixed - open - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217747,7 +217451,7 @@ x-webhooks: type: string enum: - created - alert: &775 + alert: &769 type: object properties: number: *161 @@ -217865,10 +217569,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -217949,11 +217653,11 @@ x-webhooks: type: string enum: - created - alert: *775 - installation: *716 - location: *776 - organization: *717 - repository: *718 + alert: *769 + installation: *710 + location: *770 + organization: *711 + repository: *712 sender: *4 required: - location @@ -218191,11 +217895,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218273,11 +217977,11 @@ x-webhooks: type: string enum: - reopened - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218355,11 +218059,11 @@ x-webhooks: type: string enum: - resolved - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218437,11 +218141,11 @@ x-webhooks: type: string enum: - validated - alert: *775 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + alert: *769 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -218567,10 +218271,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *718 - enterprise: *715 - installation: *716 - organization: *717 + repository: *712 + enterprise: *709 + installation: *710 + organization: *711 sender: *4 required: - action @@ -218648,11 +218352,11 @@ x-webhooks: type: string enum: - published - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: &777 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + security_advisory: &771 description: The details of the security advisory, including summary, description, and severity. type: object @@ -218835,11 +218539,11 @@ x-webhooks: type: string enum: - updated - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 - security_advisory: *777 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 + security_advisory: *771 sender: *4 required: - action @@ -218912,10 +218616,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -219100,9 +218804,9 @@ x-webhooks: type: object properties: security_and_analysis: *272 - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: *333 sender: *4 required: @@ -219181,12 +218885,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: &778 + sponsorship: &772 type: object properties: created_at: @@ -219487,12 +219191,12 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - sponsorship @@ -219580,12 +219284,12 @@ x-webhooks: type: string required: - from - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - changes @@ -219662,17 +219366,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &779 + effective_date: &773 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: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - sponsorship @@ -219746,7 +219450,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &780 + changes: &774 type: object properties: tier: @@ -219790,13 +219494,13 @@ x-webhooks: - from required: - tier - effective_date: *779 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + effective_date: *773 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - changes @@ -219873,13 +219577,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *780 - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + changes: *774 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - sponsorship: *778 + sponsorship: *772 required: - action - changes @@ -219953,10 +219657,10 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220039,10 +219743,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -220462,15 +220166,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *715 + enterprise: *709 id: description: The unique identifier of the status. type: integer - installation: *716 + installation: *710 name: type: string - organization: *717 - repository: *718 + organization: *711 + repository: *712 sender: *4 sha: description: The Commit SHA. @@ -220585,9 +220289,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220677,9 +220381,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220769,9 +220473,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220861,9 +220565,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *82 - installation: *716 - organization: *717 - repository: *718 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -220940,12 +220644,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - team: &781 + team: &775 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -221168,9 +220872,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -221628,7 +221332,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -221704,9 +221408,9 @@ x-webhooks: type: string enum: - created - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -222164,7 +221868,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -222241,9 +221945,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -222701,7 +222405,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -222845,9 +222549,9 @@ x-webhooks: - from required: - permissions - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -223305,7 +223009,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - changes @@ -223383,9 +223087,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *715 - installation: *716 - organization: *717 + enterprise: *709 + installation: *710 + organization: *711 repository: title: Repository description: A git repository @@ -223843,7 +223547,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *781 + team: *775 required: - action - team @@ -223919,10 +223623,10 @@ x-webhooks: type: string enum: - started - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 required: - action @@ -223995,16 +223699,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *715 + enterprise: *709 inputs: type: object nullable: true additionalProperties: true - installation: *716 - organization: *717 + installation: *710 + organization: *711 ref: type: string - repository: *718 + repository: *712 sender: *4 workflow: type: string @@ -224086,10 +223790,10 @@ x-webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: allOf: @@ -224405,10 +224109,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: allOf: @@ -224747,10 +224451,10 @@ x-webhooks: type: string enum: - queued - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: type: object @@ -224964,10 +224668,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 workflow_job: type: object @@ -225183,12 +224887,12 @@ x-webhooks: type: string enum: - completed - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 workflow_run: title: Workflow Run type: object @@ -226187,12 +225891,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 workflow_run: title: Workflow Run type: object @@ -227176,12 +226880,12 @@ x-webhooks: type: string enum: - requested - enterprise: *715 - installation: *716 - organization: *717 - repository: *718 + enterprise: *709 + installation: *710 + organization: *711 + repository: *712 sender: *4 - workflow: *730 + workflow: *724 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 55b39d4ad..cf7f65190 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -39703,7 +39703,7 @@ "operationId": "enterprise-admin/get-consumed-licenses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses" }, "parameters": [ { @@ -39926,7 +39926,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -46400,7 +46400,7 @@ "operationId": "enterprise-admin/get-license-sync-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status" }, "parameters": [ { @@ -46487,7 +46487,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -61686,148 +61686,6 @@ } } }, - "/enterprises/{enterprise}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-actions-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, "/enterprises/{enterprise}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an enterprise", @@ -61838,7 +61696,7 @@ "operationId": "billing/get-github-advanced-security-billing-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise" }, "parameters": [ { @@ -62005,7 +61863,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, @@ -62019,7 +61877,7 @@ "operationId": "billing/get-all-budgets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets" }, "parameters": [ { @@ -62240,7 +62098,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "post": { @@ -62252,7 +62110,7 @@ "operationId": "billing/create-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget" }, "parameters": [ { @@ -62595,7 +62453,7 @@ "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -62698,7 +62556,7 @@ "server-error": { "value": { "message": "Unable to create budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -62710,7 +62568,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -62724,7 +62582,7 @@ "operationId": "billing/get-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id" }, "parameters": [ { @@ -63017,7 +62875,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -63029,7 +62887,7 @@ "operationId": "billing/update-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget" }, "parameters": [ { @@ -63366,13 +63224,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -63475,7 +63333,7 @@ "server-error": { "value": { "message": "Unable to retrieve budget.", - "documentation_url": "https://docs.github.com/rest/enterprise-admin/billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -63509,7 +63367,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -63521,7 +63379,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -63533,7 +63391,7 @@ "operationId": "billing/delete-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget" }, "parameters": [ { @@ -63752,7 +63610,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -63766,7 +63624,7 @@ "operationId": "billing/get-all-cost-centers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise" }, "parameters": [ { @@ -64031,8 +63889,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "post": { @@ -64044,7 +63902,7 @@ "operationId": "billing/create-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center" }, "parameters": [ { @@ -64200,8 +64058,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -64215,7 +64073,7 @@ "operationId": "billing/get-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id" }, "parameters": [ { @@ -64453,8 +64311,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "patch": { @@ -64466,7 +64324,7 @@ "operationId": "billing/update-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name" }, "parameters": [ { @@ -64783,8 +64641,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -64796,7 +64654,7 @@ "operationId": "billing/delete-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center" }, "parameters": [ { @@ -65029,8 +64887,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -65044,7 +64902,7 @@ "operationId": "billing/add-resource-to-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center" }, "parameters": [ { @@ -65333,8 +65191,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -65346,7 +65204,7 @@ "operationId": "billing/remove-resource-from-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center" }, "parameters": [ { @@ -65571,79 +65429,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, - "/enterprises/{enterprise}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-packages-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -65657,7 +65444,7 @@ "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise" }, "parameters": [ { @@ -66070,22 +65857,22 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, - "/enterprises/{enterprise}/settings/billing/shared-storage": { + "/enterprises/{enterprise}/settings/billing/usage": { "get": { - "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-shared-storage-billing-ghe", + "summary": "Get billing usage report for an enterprise", + "description": "Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default this endpoint will return usage that does not have a cost center.\n\n**Note:** This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform for enterprises](https://docs.github.com/enterprise-cloud@latest//billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform).\"", "tags": [ "billing" ], + "operationId": "billing/get-github-billing-usage-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise" }, "parameters": [ { @@ -66096,41 +65883,269 @@ "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`. 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": "cost_center_id", + "description": "The ID corresponding to a cost center. The default value is no cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Response", + "description": "Response when getting a billing usage report", "content": { "application/json": { "schema": { "type": "object", "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] + } }, "examples": { "default": { "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" } } } @@ -66141,321 +66156,22 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, - "/enterprises/{enterprise}/settings/billing/usage": { + "/enterprises/{enterprise}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage report for an enterprise", - "description": "Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default this endpoint will return usage that does not have a cost center.\n\n**Note:** This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform for enterprises](https://docs.github.com/enterprise-cloud@latest//billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform).\"", + "summary": "Get billing usage summary for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], - "operationId": "billing/get-github-billing-usage-report-ghe", + "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-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`. 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": "cost_center_id", - "description": "The ID corresponding to a cost center. The default value is no cost center.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage report", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "usageItems": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "organizationName": "GitHub", - "repositoryName": "github/example" - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, - "/enterprises/{enterprise}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-ghe", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -66836,8 +66552,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -99029,2300 +98745,6 @@ } } }, - "/organizations/{org}/settings/billing/budgets": { - "get": { - "summary": "Get all budgets for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-all-budgets-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting all budgets", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" - ] - }, - "budget_amount": { - "type": "integer", - "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "The type of limit enforcement for the budget", - "example": true - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "example": "enterprise" - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "example": "octocat/hello-world" - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to." - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] - } - }, - "required": [ - "will_alert", - "alert_recipients" - ] - } - }, - "required": [ - "id", - "budget_type", - "budget_product_sku", - "budget_scope", - "budget_amount", - "prevent_further_usage", - "budget_alerting" - ] - }, - "description": "Array of budget objects for the enterprise" - } - }, - "required": [ - "budgets" - ] - }, - "examples": { - "default": { - "value": { - "budgets": [ - { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "actions" - ], - "budget_scope": "enterprise", - "budget_amount": 1000.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "enterprise-admin", - "billing-manager" - ] - } - }, - { - "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", - "budget_type": "SkuPricing", - "budget_product_skus": [ - "actions_linux" - ], - "budget_scope": "organization", - "budget_amount": 500.0, - "prevent_further_usage": false, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "org-owner" - ] - } - }, - { - "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "packages" - ], - "budget_scope": "cost_center", - "budget_amount": 250.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - ] - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/budgets/{budget_id}": { - "get": { - "summary": "Get a budget by ID for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when updating a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "example": "enterprise", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "example": "octocat/hello-world" - }, - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded", - "example": true - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to.", - "example": "actions_linux" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] - } - } - } - }, - "required": [ - "id", - "budget_amount", - "prevent_further_usage", - "budget_product_sku", - "budget_type", - "budget_alerting", - "budget_scope", - "budget_entity_name" - ] - }, - "examples": { - "default": { - "value": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "patch": { - "summary": "Update a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/update-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - }, - "examples": { - "update-budget": { - "summary": "Update budget example", - "value": { - "prevent_further_usage": false, - "budget_amount": 10, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Budget updated successfully", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "example": "Budget successfully updated." - }, - "budget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_amount": { - "type": "number", - "format": "float", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "required": [ - "will_alert", - "alert_recipients" - ], - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "default": "" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - } - } - }, - "examples": { - "update-budget": { - "value": { - "message": "Budget successfully updated.", - "id": "550e8400-e29b-41d4-a716-446655440000" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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" - } - } - } - } - } - }, - "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": "Budget not found or feature not enabled", - "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" - } - } - }, - "examples": { - "budget-not-found": { - "value": { - "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - }, - "feature-not-enabled": { - "value": { - "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "500": { - "description": "Internal server 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" - } - } - }, - "examples": { - "server-error": { - "value": { - "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "delete": { - "summary": "Delete a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/delete-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when deleting a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "A message indicating the result of the deletion operation" - }, - "id": { - "type": "string", - "description": "The ID of the deleted budget" - } - }, - "required": [ - "message", - "id" - ] - }, - "examples": { - "default": { - "value": { - "message": "Budget successfully deleted.", - "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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", - "description": "Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform](https://docs.github.com/enterprise-cloud@latest//billing/using-the-new-billing-platform).\"", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "year", - "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `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`. 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" - } - } - ], - "responses": { - "200": { - "description": "Billing usage report response for an organization", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "usageItems": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "organizationName": "GitHub", - "repositoryName": "github/example" - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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": "repository", - "description": "The repository name to query for usage in the format owner/repository.", - "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": "sku", - "description": "The SKU to query for usage.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage summary", - "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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "organization", - "usageItems" - ] - }, - "examples": { - "default": { - "value": { - "timePeriod": { - "year": 2025 - }, - "organization": "GitHub", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.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" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -225562,148 +222984,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an organization", @@ -225885,148 +223165,6 @@ } } }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -687053,1333 +684191,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/usage": { - "get": { - "summary": "Get billing usage report for a user", - "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-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`. 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" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage report", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "usageItems": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "repositoryName": "user/example" - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for a user", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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": "repository", - "description": "The repository name to query for usage in the format owner/repository.", - "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": "sku", - "description": "The SKU to query for usage.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage summary", - "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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "user", - "usageItems" - ] - }, - "examples": { - "default": { - "value": { - "timePeriod": { - "year": 2025 - }, - "user": "monalisa", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.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}/social_accounts": { "get": { "summary": "List social accounts 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 434047188..e891ea64d 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &438 + type: &428 type: string description: The type of credit the user is receiving. enum: @@ -998,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &260 + schema: &250 title: Validation Error Simple description: Validation Error Simple type: object @@ -1031,7 +1031,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: - - &766 + - &750 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1587,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &348 + - &338 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 @@ -1603,7 +1603,7 @@ paths: application/json: schema: type: array - items: &349 + items: &339 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1683,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &350 + default: &340 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &776 + schema: &760 title: Scim Error description: Scim Error type: object @@ -1742,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &259 + schema: &249 title: Validation Error description: Validation Error type: object @@ -1811,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &341 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1925,7 +1925,7 @@ paths: - request - response examples: - default: &352 + default: &342 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2913,7 +2913,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &416 + properties: &406 id: description: Unique identifier of the repository example: 42 @@ -3351,7 +3351,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &417 + required: &407 - archive_url - assignees_url - blobs_url @@ -7508,7 +7508,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &251 type: object properties: total_active_caches_count: @@ -7523,7 +7523,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &262 + default: &252 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7716,7 +7716,7 @@ paths: - public_ip_enabled - platform examples: - default: &263 + default: &253 value: total_count: 2 runners: @@ -8011,7 +8011,7 @@ paths: application/json: schema: *45 examples: - default: &264 + default: &254 value: id: 1 platform: linux-x64 @@ -8151,7 +8151,7 @@ paths: application/json: schema: *48 examples: - default: &265 + default: &255 value: version: 1.0.0 size_gb: 75 @@ -8315,7 +8315,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &256 type: object properties: public_ips: @@ -8340,7 +8340,7 @@ paths: required: - public_ips examples: - default: &267 + default: &257 value: public_ips: current_usage: 17 @@ -8380,7 +8380,7 @@ paths: type: array items: *52 examples: - default: &268 + default: &258 value: id: 4-core cpu_cores: 4 @@ -8642,7 +8642,7 @@ paths: - all - local_only - selected - selected_actions_url: &271 + selected_actions_url: &261 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` @@ -8722,7 +8722,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &273 + schema: &263 type: object properties: days: @@ -8740,7 +8740,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &777 + '401': &761 description: Authorization failure '404': *6 x-github: @@ -8768,7 +8768,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &264 type: object properties: days: @@ -8817,7 +8817,7 @@ paths: required: - approval_policy examples: - default: &275 + default: &265 value: approval_policy: first_time_contributors '404': *6 @@ -8875,7 +8875,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &266 type: object required: - run_workflows_from_fork_pull_requests @@ -8929,7 +8929,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &267 type: object required: - run_workflows_from_fork_pull_requests @@ -9352,7 +9352,7 @@ paths: description: Success response content: application/json: - schema: &280 + schema: &270 type: object properties: default_workflow_permissions: &63 @@ -9400,7 +9400,7 @@ paths: required: true content: application/json: - schema: &281 + schema: &271 type: object properties: default_workflow_permissions: *63 @@ -10236,7 +10236,7 @@ paths: application/json: schema: type: array - items: &285 + items: &275 title: Runner Application description: Runner Application type: object @@ -10261,7 +10261,7 @@ paths: - download_url - filename examples: - default: &286 + default: &276 value: - os: osx architecture: x64 @@ -10345,7 +10345,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &287 + '201': &277 description: Response content: application/json: @@ -10460,7 +10460,7 @@ paths: - token - expires_at examples: - default: &288 + default: &278 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10500,7 +10500,7 @@ paths: application/json: schema: *75 examples: - default: &289 + default: &279 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10532,7 +10532,7 @@ paths: application/json: schema: *72 examples: - default: &290 + default: &280 value: id: 23 name: MBP @@ -10748,7 +10748,7 @@ paths: - *41 - *71 responses: - '200': &291 + '200': &281 description: Response content: application/json: @@ -10804,7 +10804,7 @@ paths: parameters: - *41 - *71 - - &292 + - &282 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10895,7 +10895,7 @@ paths: required: true content: application/json: - schema: &299 + schema: &289 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11536,7 +11536,7 @@ paths: required: false schema: type: string - - &302 + - &292 name: include description: |- The event types to include: @@ -11554,7 +11554,7 @@ paths: - web - git - all - - &303 + - &293 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. @@ -11562,7 +11562,7 @@ paths: required: false schema: type: string - - &304 + - &294 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. @@ -11570,7 +11570,7 @@ paths: required: false schema: type: string - - &305 + - &295 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11592,7 +11592,7 @@ paths: application/json: schema: type: array - items: &306 + items: &296 type: object properties: "@timestamp": @@ -11714,7 +11714,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &307 + default: &297 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12380,7 +12380,7 @@ paths: application/json: schema: type: array - items: &308 + items: &298 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12541,7 +12541,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &309 + default: &299 value: - id: 21 number: 42 @@ -12646,7 +12646,7 @@ paths: application/json: schema: type: array - items: &311 + items: &301 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12771,7 +12771,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &302 value: - id: 21 number: 42 @@ -12856,7 +12856,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &317 + - &307 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`, @@ -12866,7 +12866,7 @@ paths: schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &318 + - &308 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 @@ -12889,7 +12889,7 @@ paths: be returned. in: query required: false - schema: &319 + schema: &309 type: string description: State of a code scanning alert. enum: @@ -12914,7 +12914,7 @@ paths: application/json: schema: type: array - items: &320 + items: &310 type: object properties: number: &123 @@ -12943,7 +12943,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &551 + instances_url: &535 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12978,7 +12978,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &552 + dismissed_reason: &536 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12987,13 +12987,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &553 + dismissed_comment: &537 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &554 + rule: &538 type: object properties: id: @@ -13046,7 +13046,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &555 + tool: &539 type: object properties: name: *107 @@ -13056,15 +13056,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &556 + most_recent_instance: &540 type: object properties: - ref: &549 + ref: &533 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &566 + analysis_key: &550 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13075,7 +13075,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &567 + category: &551 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13423,7 +13423,7 @@ paths: - most_recent_instance - repository examples: - default: &321 + default: &311 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14076,7 +14076,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &322 + code_scanning_options: &312 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14270,7 +14270,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &314 type: array description: A list of default code security configurations items: @@ -14286,7 +14286,7 @@ paths: default configuration: *110 examples: - default: &325 + default: &315 value: - default_for_new_repos: public configuration: @@ -14740,7 +14740,7 @@ paths: default: value: default_for_new_repos: all - configuration: &323 + configuration: &313 value: id: 1325 target_type: organization @@ -14825,7 +14825,7 @@ paths: application/json: schema: type: array - items: &326 + items: &316 type: object description: Repositories associated with a code security configuration and attachment status @@ -14849,7 +14849,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &327 + repository: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15123,7 +15123,7 @@ paths: operationId: enterprise-admin/get-consumed-licenses externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses parameters: - *41 - *17 @@ -15263,7 +15263,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/copilot/billing/seats": get: summary: List all Copilot seat assignments for an enterprise @@ -15338,7 +15338,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &313 + - &303 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15413,7 +15413,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &383 + properties: &373 id: description: Unique identifier of the team type: integer @@ -15485,7 +15485,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &384 + required: &374 - id - node_id - url @@ -16718,7 +16718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &333 + - &323 name: state in: query description: |- @@ -16727,7 +16727,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &334 + - &324 name: severity in: query description: |- @@ -16736,7 +16736,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &335 + - &325 name: ecosystem in: query description: |- @@ -16745,14 +16745,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &336 + - &326 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 - - &337 + - &327 name: epss_percentage in: query description: |- @@ -16764,7 +16764,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 - - &606 + - &590 name: has in: query description: |- @@ -16778,7 +16778,7 @@ paths: type: string enum: - patch - - &338 + - &328 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16788,7 +16788,7 @@ paths: enum: - development - runtime - - &339 + - &329 name: sort in: query description: |- @@ -16814,7 +16814,7 @@ paths: application/json: schema: type: array - items: &340 + items: &330 type: object description: A Dependabot alert. properties: @@ -16877,7 +16877,7 @@ paths: - unknown - direct - transitive - security_advisory: &607 + security_advisory: &591 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17109,7 +17109,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &608 + auto_dismissed_at: &592 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -17135,7 +17135,7 @@ paths: - repository additionalProperties: false examples: - default: &341 + default: &331 value: - number: 2 state: dismissed @@ -18071,7 +18071,7 @@ paths: operationId: enterprise-admin/get-license-sync-status externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status parameters: - *41 responses: @@ -18123,7 +18123,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/members/{username}/copilot": get: summary: Get Copilot seat assignment details for an enterprise user @@ -18247,7 +18247,7 @@ paths: - name - created_on examples: - default: &449 + default: &433 value: total_count: 2 network_configurations: @@ -18470,7 +18470,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 - - &450 + - &434 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18482,7 +18482,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &435 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18516,7 +18516,7 @@ paths: - subnet_id - region examples: - default: &452 + default: &436 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19310,7 +19310,7 @@ paths: required: true content: application/json: - schema: &415 + schema: &405 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20475,7 +20475,7 @@ paths: nullable: true anyOf: - *157 - - &421 + - &411 title: Organization ruleset conditions type: object description: |- @@ -20522,7 +20522,7 @@ paths: - *160 rules: type: array - items: &732 + items: &716 title: Repository Rule type: object description: A repository rule. @@ -20531,7 +20531,7 @@ paths: - *166 - *167 - *168 - - &729 + - &713 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20625,7 +20625,7 @@ paths: - *182 - *183 - *184 - - &730 + - &714 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20881,7 +20881,7 @@ paths: type: string format: date-time examples: - default: &424 + default: &414 value: - version_id: 3 actor: @@ -20934,7 +20934,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &415 allOf: - *189 - type: object @@ -20989,7 +20989,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &426 + - &416 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21000,7 +21000,7 @@ paths: enum: - open - resolved - - &427 + - &417 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21010,7 +21010,7 @@ paths: required: false schema: type: string - - &428 + - &418 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21019,7 +21019,7 @@ paths: required: false schema: type: string - - &429 + - &419 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. @@ -21035,7 +21035,7 @@ paths: - *17 - *104 - *105 - - &430 + - &420 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21044,7 +21044,7 @@ paths: required: false schema: type: string - - &431 + - &421 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21053,7 +21053,7 @@ paths: schema: type: boolean default: false - - &432 + - &422 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21062,7 +21062,7 @@ paths: schema: type: boolean default: false - - &433 + - &423 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21078,7 +21078,7 @@ paths: application/json: schema: type: array - items: &434 + items: &424 type: object properties: number: *123 @@ -21097,14 +21097,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &744 + state: &728 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: &745 + resolution: &729 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21211,8 +21211,8 @@ paths: pull request. ' - oneOf: &746 - - &748 + oneOf: &730 + - &732 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21264,7 +21264,7 @@ paths: - blob_url - commit_sha - commit_url - - &749 + - &733 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. @@ -21319,7 +21319,7 @@ paths: - page_url - commit_sha - commit_url - - &750 + - &734 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21333,7 +21333,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &751 + - &735 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21347,7 +21347,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &752 + - &736 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21361,7 +21361,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &753 + - &737 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21375,7 +21375,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &754 + - &738 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21389,7 +21389,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &755 + - &739 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21403,7 +21403,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &756 + - &740 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. @@ -21417,7 +21417,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &757 + - &741 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. @@ -21431,7 +21431,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &758 + - &742 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. @@ -21445,7 +21445,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &759 + - &743 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. @@ -21459,7 +21459,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &760 + - &744 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. @@ -21486,7 +21486,7 @@ paths: required: *21 nullable: true examples: - default: &435 + default: &425 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21695,7 +21695,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &426 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21778,7 +21778,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &437 + default: &427 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21897,115 +21897,6 @@ paths: '404': *6 '409': *114 '422': *15 - "/enterprises/{enterprise}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an enterprise - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-actions-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise - parameters: - - *41 - responses: - '200': - description: Response - content: - application/json: - schema: &440 - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes - used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner - machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner - machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner - machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - examples: - default: &441 - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing "/enterprises/{enterprise}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an enterprise @@ -22020,10 +21911,10 @@ paths: operationId: billing/get-github-advanced-security-billing-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &442 + - &430 name: advanced_security_product in: query description: | @@ -22043,7 +21934,7 @@ paths: description: Success content: application/json: - schema: &443 + schema: &431 type: object properties: total_advanced_security_committers: @@ -22098,7 +21989,7 @@ paths: required: - repositories examples: - default: &444 + default: &432 value: total_advanced_security_committers: 2 total_count: 2 @@ -22124,7 +22015,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: enterprise-admin - subcategory: billing + subcategory: licensing "/enterprises/{enterprise}/settings/billing/budgets": get: summary: Get all budgets @@ -22138,11 +22029,11 @@ paths: operationId: billing/get-all-budgets externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets parameters: - *41 responses: - '200': &247 + '200': description: Response when getting all budgets content: application/json: @@ -22261,7 +22152,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets post: summary: Create a budget description: |- @@ -22274,7 +22165,7 @@ paths: operationId: billing/create-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget parameters: - *41 requestBody: @@ -22434,7 +22325,7 @@ paths: feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget '422': *15 '500': description: Internal server error @@ -22445,12 +22336,12 @@ paths: server-error: value: message: Unable to create budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID @@ -22464,7 +22355,7 @@ paths: operationId: billing/get-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - *41 - &193 @@ -22475,7 +22366,7 @@ paths: schema: type: string responses: - '200': &248 + '200': description: Response when updating a budget content: application/json: @@ -22566,7 +22457,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget description: |- @@ -22579,7 +22470,7 @@ paths: operationId: billing/update-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget parameters: - name: enterprise in: path @@ -22738,11 +22629,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': *15 '500': description: Internal server error @@ -22753,7 +22644,7 @@ paths: server-error: value: message: Unable to retrieve budget. - documentation_url: https://docs.github.com/rest/enterprise-admin/billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '503': description: Service unavailable content: @@ -22763,12 +22654,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget description: |- @@ -22781,12 +22672,12 @@ paths: operationId: billing/delete-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - *41 - *193 responses: - '200': &249 + '200': description: Response when deleting a budget content: application/json: @@ -22816,7 +22707,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/cost-centers": get: summary: Get all cost centers for an enterprise @@ -22826,7 +22717,7 @@ paths: operationId: billing/get-all-cost-centers externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise parameters: - *41 - name: state @@ -22914,8 +22805,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers post: summary: Create a new cost center description: Creates a new cost center for an enterprise. The authenticated @@ -22925,7 +22816,7 @@ paths: operationId: billing/create-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center parameters: - *41 requestBody: @@ -23024,8 +22915,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": get: summary: Get a cost center by ID @@ -23036,7 +22927,7 @@ paths: operationId: billing/get-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *41 - &196 @@ -23108,8 +22999,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers patch: summary: Update a cost center name description: Updates an existing cost center name. @@ -23118,7 +23009,7 @@ paths: operationId: billing/update-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name parameters: - name: enterprise in: path @@ -23166,8 +23057,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Delete a cost center description: Archieves a cost center by ID. The authenticated user must be an @@ -23177,7 +23068,7 @@ paths: operationId: billing/delete-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - *41 - *196 @@ -23223,8 +23114,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add resources to a cost center @@ -23237,7 +23128,7 @@ paths: operationId: billing/add-resource-to-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *41 - *196 @@ -23316,8 +23207,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Remove resources from a cost center description: |- @@ -23329,7 +23220,7 @@ paths: operationId: billing/remove-resource-from-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *41 - *196 @@ -23383,61 +23274,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing - "/enterprises/{enterprise}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an enterprise - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-packages-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise - parameters: - - *41 - responses: - '200': - description: Response - content: - application/json: - schema: &445 - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub - Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - examples: - default: &446 - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise @@ -23450,7 +23288,7 @@ paths: 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 + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - &197 @@ -23488,15 +23326,13 @@ paths: required: false schema: type: string - - &250 - name: user + - name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &251 - name: model + - name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false @@ -23645,61 +23481,8 @@ paths: 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-shared-storage-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise - parameters: - - *41 - responses: - '200': - description: Response - content: - application/json: - schema: &447 - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) - used in billing cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month - examples: - default: &448 - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage": get: summary: Get billing usage report for an enterprise @@ -23712,12 +23495,11 @@ paths: operationId: billing/get-github-billing-usage-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *41 - *197 - - &252 - name: 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. @@ -23738,7 +23520,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &253 + schema: type: object properties: usageItems: @@ -23791,7 +23573,7 @@ paths: - netAmount - organizationName examples: - default: &254 + default: value: usageItems: - date: '2023-08-01' @@ -23812,8 +23594,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage/summary": get: summary: Get billing usage summary for an enterprise @@ -23829,23 +23611,21 @@ paths: operationId: billing/get-github-billing-usage-summary-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *41 - *197 - *199 - *198 - *200 - - &255 - name: repository + - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - *201 - - &256 - name: sku + - name: sku description: The SKU to query for usage. in: query required: false @@ -23981,8 +23761,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -24922,7 +24702,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &666 + properties: &650 id: type: integer format: int64 @@ -25034,7 +24814,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &405 + properties: &395 url: type: string format: uri @@ -25104,7 +24884,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &406 + required: &396 - closed_issues - creator - description @@ -25183,7 +24963,7 @@ paths: timeline_url: type: string format: uri - type: &370 + type: &360 title: Issue Type description: The type of issue. type: object @@ -25294,7 +25074,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &804 + sub_issues_summary: &788 title: Sub-issues Summary type: object properties: @@ -25314,7 +25094,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &805 + issue_dependencies_summary: &789 title: Issue Dependencies Summary type: object properties: @@ -25333,7 +25113,7 @@ paths: - total_blocking issue_field_values: type: array - items: &806 + items: &790 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25393,7 +25173,7 @@ paths: - node_id - data_type - value - required: &667 + required: &651 - assignee - closed_at - comments @@ -25414,7 +25194,7 @@ paths: - user - created_at - updated_at - comment: &664 + comment: &648 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25972,7 +25752,7 @@ paths: url: type: string format: uri - user: &818 + user: &802 title: Public User description: Public User type: object @@ -27842,7 +27622,7 @@ paths: - closed - all default: open - - &373 + - &363 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -27893,7 +27673,7 @@ paths: type: array items: *227 examples: - default: &374 + default: &364 value: - id: 1 node_id: MDU6SXNzdWUx @@ -29277,14 +29057,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: - - &472 + - &456 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &473 + - &457 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -29346,7 +29126,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &484 + '301': &468 description: Moved permanently content: application/json: @@ -29368,7 +29148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &696 + - &680 name: all description: If `true`, show notifications marked as read. in: query @@ -29376,7 +29156,7 @@ paths: schema: type: boolean default: false - - &697 + - &681 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -29386,7 +29166,7 @@ paths: type: boolean default: false - *217 - - &698 + - &682 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: @@ -29418,11 +29198,11 @@ paths: properties: id: type: string - repository: &284 + repository: &274 title: Minimal Repository description: Minimal Repository type: object - properties: &343 + properties: &333 id: type: integer format: int64 @@ -29698,7 +29478,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &418 + security_and_analysis: &408 nullable: true type: object properties: @@ -29780,7 +29560,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &344 + required: &334 - archive_url - assignees_url - blobs_url @@ -29868,7 +29648,7 @@ paths: - url - subscription_url examples: - default: &699 + default: &683 value: - id: '1' repository: @@ -30465,7 +30245,7 @@ paths: type: integer custom_roles: type: array - items: &329 + items: &319 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -30513,7 +30293,7 @@ paths: - created_at - updated_at examples: - default: &330 + default: &320 value: id: 8030 name: Security Engineer @@ -30839,7 +30619,7 @@ paths: type: array items: *151 examples: - default: &705 + default: &689 value: - property_name: environment value: production @@ -30889,7 +30669,7 @@ paths: required: - properties examples: - default: &706 + default: &690 value: properties: - property_name: environment @@ -30910,569 +30690,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: custom-properties-for-orgs - "/organizations/{org}/settings/billing/budgets": - get: - summary: Get all budgets for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-all-budgets-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization - parameters: - - *83 - responses: - '200': *247 - '404': *6 - '403': *29 - '500': *40 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/budgets/{budget_id}": - get: - summary: Get a budget by ID for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a budget by ID. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization - parameters: - - *83 - - *193 - responses: - '200': *248 - '400': *14 - '404': *6 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - patch: - summary: Update a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Updates an existing budget for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/update-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization - parameters: - - *83 - - *193 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - budget_amount: - type: integer - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the budget - is exceeded - budget_alerting: - type: object - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered in the - budget - examples: - update-budget: - summary: Update budget example - value: - prevent_further_usage: false - budget_amount: 10 - budget_alerting: - will_alert: false - alert_recipients: [] - responses: - '200': - description: Budget updated successfully - content: - application/json: - schema: - type: object - properties: - message: - type: string - example: Budget successfully updated. - budget: - type: object - properties: - id: - type: string - description: ID of the budget. - budget_amount: - type: number - format: float - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the - budget is exceeded - budget_alerting: - type: object - required: - - will_alert - - alert_recipients - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive - alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - default: '' - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered - in the budget - examples: - update-budget: - value: - message: Budget successfully updated. - id: 550e8400-e29b-41d4-a716-446655440000 - '400': *14 - '401': *25 - '403': *29 - '404': - description: Budget not found or feature not enabled - content: - application/json: - schema: *3 - examples: - budget-not-found: - value: - message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not - found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - feature-not-enabled: - value: - message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - '422': *15 - '500': - description: Internal server error - content: - application/json: - schema: *3 - examples: - server-error: - value: - message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: enhanced-billing - delete: - summary: Delete a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Deletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/delete-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization - parameters: - - *83 - - *193 - responses: - '200': *249 - '400': *14 - '404': *6 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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: - - *83 - - *197 - - *199 - - *198 - - *250 - - *251 - - *201 - 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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': *190 - 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/enterprise-cloud@latest//billing/using-the-new-billing-platform)." - tags: - - billing - operationId: billing/get-github-billing-usage-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization - parameters: - - *83 - - *197 - - *252 - - *198 - responses: - '200': - description: Billing usage report response for an organization - content: - application/json: - schema: *253 - examples: - default: *254 - '400': *14 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization - parameters: - - *83 - - *197 - - *199 - - *198 - - *255 - - *201 - - *256 - responses: - '200': - description: Response when getting a billing usage summary - 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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - organization - - usageItems - examples: - default: - value: - timePeriod: - year: 2025 - organization: GitHub - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 - '400': *14 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -31499,7 +30716,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &247 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -31832,7 +31049,7 @@ paths: - updated_at - archived_at examples: - default-response: &258 + default-response: &248 value: login: github id: 1 @@ -32157,17 +31374,17 @@ paths: description: Response content: application/json: - schema: *257 + schema: *247 examples: - default: *258 + default: *248 '422': description: Validation failed content: application/json: schema: oneOf: - - *259 - - *260 + - *249 + - *250 '409': *114 x-github: githubCloudOnly: false @@ -32222,9 +31439,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *251 examples: - default: *262 + default: *252 headers: Link: *43 x-github: @@ -32265,7 +31482,7 @@ paths: type: integer repository_cache_usages: type: array - items: &489 + items: &473 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -32340,7 +31557,7 @@ paths: type: array items: *44 examples: - default: *263 + default: *253 headers: Link: *43 x-github: @@ -32506,7 +31723,7 @@ paths: application/json: schema: *45 examples: - default: *264 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32598,7 +31815,7 @@ paths: application/json: schema: *48 examples: - default: *265 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32717,9 +31934,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *256 examples: - default: *267 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32755,7 +31972,7 @@ paths: type: array items: *52 examples: - default: *268 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32943,7 +32160,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &269 + schema: &259 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -32957,7 +32174,7 @@ paths: required: - include_claim_keys examples: - default: &270 + default: &260 value: include_claim_keys: - repo @@ -32984,15 +32201,15 @@ paths: required: true content: application/json: - schema: *269 + schema: *259 examples: - default: *270 + default: *260 responses: '201': description: Empty response content: application/json: - schema: &295 + schema: &285 title: Empty Object description: An object without any properties. type: object @@ -33031,7 +32248,7 @@ paths: schema: type: object properties: - enabled_repositories: &272 + enabled_repositories: &262 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -33045,7 +32262,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *56 - selected_actions_url: *271 + selected_actions_url: *261 sha_pinning_required: *57 required: - enabled_repositories @@ -33087,7 +32304,7 @@ paths: schema: type: object properties: - enabled_repositories: *272 + enabled_repositories: *262 allowed_actions: *56 sha_pinning_required: *57 required: @@ -33123,7 +32340,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *263 examples: response: summary: Example response @@ -33154,7 +32371,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *264 examples: application/json: value: @@ -33192,7 +32409,7 @@ paths: application/json: schema: *58 examples: - default: *275 + default: *265 '404': *6 x-github: enabledForGitHubApps: true @@ -33249,7 +32466,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *266 examples: default: *59 '403': *29 @@ -33274,7 +32491,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *267 examples: default: *59 responses: @@ -33326,7 +32543,7 @@ paths: type: array items: *74 examples: - default: &279 + default: &269 value: total_count: 1 repositories: @@ -33511,7 +32728,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - &278 + - &268 name: repository_id description: The unique identifier of the repository. in: path @@ -33540,7 +32757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - *278 + - *268 responses: '204': description: Response @@ -33736,7 +32953,7 @@ paths: type: array items: *74 examples: - default: *279 + default: *269 '403': *29 '404': *6 x-github: @@ -33805,7 +33022,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: - *83 - - *278 + - *268 responses: '204': description: No content @@ -33832,7 +33049,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: - *83 - - *278 + - *268 responses: '204': description: No content @@ -33866,7 +33083,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *270 examples: default: *65 x-github: @@ -33900,7 +33117,7 @@ paths: required: false content: application/json: - schema: *281 + schema: *271 examples: default: *65 x-github: @@ -33947,7 +33164,7 @@ paths: type: number runner_groups: type: array - items: &282 + items: &272 type: object properties: id: @@ -34135,9 +33352,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: - default: &283 + default: &273 value: id: 2 name: octo-runner-group @@ -34179,7 +33396,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: default: value: @@ -34270,9 +33487,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: - default: *283 + default: *273 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -34336,7 +33553,7 @@ paths: type: array items: *44 examples: - default: *263 + default: *253 headers: Link: *43 x-github: @@ -34377,9 +33594,9 @@ paths: type: number repositories: type: array - items: *284 + items: *274 examples: - default: &821 + default: &805 value: total_count: 1 repositories: @@ -34678,7 +33895,7 @@ paths: parameters: - *83 - *68 - - *278 + - *268 responses: '204': description: Response @@ -34702,7 +33919,7 @@ paths: parameters: - *83 - *68 - - *278 + - *268 responses: '204': description: Response @@ -34920,9 +34137,9 @@ paths: application/json: schema: type: array - items: *285 + items: *275 examples: - default: *286 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34987,7 +34204,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *287 + '201': *277 '404': *6 '422': *7 '409': *114 @@ -35026,7 +34243,7 @@ paths: application/json: schema: *75 examples: - default: *288 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35062,7 +34279,7 @@ paths: application/json: schema: *75 examples: - default: *289 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35093,7 +34310,7 @@ paths: application/json: schema: *72 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35268,7 +34485,7 @@ paths: - *83 - *71 responses: - '200': *291 + '200': *281 '404': *6 x-github: githubCloudOnly: false @@ -35297,7 +34514,7 @@ paths: parameters: - *83 - *71 - - *292 + - *282 responses: '200': *77 '404': *6 @@ -35342,7 +34559,7 @@ paths: type: integer secrets: type: array - items: &293 + items: &283 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -35421,7 +34638,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &493 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -35450,7 +34667,7 @@ paths: - key_id - key examples: - default: &510 + default: &494 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35476,7 +34693,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *83 - - &294 + - &284 name: secret_name description: The name of the secret. in: path @@ -35488,7 +34705,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: default: value: @@ -35519,7 +34736,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -35576,7 +34793,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -35603,7 +34820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -35630,7 +34847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 - *19 - *17 responses: @@ -35648,9 +34865,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: &298 + default: &288 value: total_count: 1 repositories: @@ -35743,7 +34960,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -35796,7 +35013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -35830,7 +35047,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -35863,7 +35080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &494 + - &478 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)." @@ -35887,7 +35104,7 @@ paths: type: integer variables: type: array - items: &296 + items: &286 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -36020,7 +35237,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -36046,7 +35263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *83 - - &297 + - &287 name: name description: The name of the variable. in: path @@ -36058,7 +35275,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *286 examples: default: value: @@ -36089,7 +35306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *83 - - *297 + - *287 requestBody: required: true content: @@ -36152,7 +35369,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *83 - - *297 + - *287 responses: '204': description: Response @@ -36179,7 +35396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *83 - - *297 + - *287 - *19 - *17 responses: @@ -36197,9 +35414,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 '409': description: Response when the visibility of the variable is not set to `selected` @@ -36226,7 +35443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *83 - - *297 + - *287 requestBody: required: true content: @@ -36276,7 +35493,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *83 - - *297 + - *287 - name: repository_id in: path required: true @@ -36311,7 +35528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *83 - - *297 + - *287 - name: repository_id in: path required: true @@ -36369,7 +35586,7 @@ paths: required: true content: application/json: - schema: *299 + schema: *289 examples: default: *81 parameters: @@ -36526,7 +35743,7 @@ paths: type: integer deployment_records: type: array - items: &300 + items: &290 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -36570,7 +35787,7 @@ paths: with the deployment record. nullable: true examples: - default: &301 + default: &291 value: total_count: 1 deployment_records: @@ -36716,9 +35933,9 @@ paths: type: integer deployment_records: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36914,9 +36131,9 @@ paths: type: integer deployment_records: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37045,12 +36262,12 @@ paths: required: - subject_digests examples: - default: &849 + default: &833 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &850 + withPredicateType: &834 value: subject_digests: - sha256:abc123 @@ -37108,7 +36325,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &851 + default: &835 value: attestations_subject_digests: - sha256:abc: @@ -37457,7 +36674,7 @@ paths: initiator: type: string examples: - default: &523 + default: &507 value: attestations: - bundle: @@ -37583,10 +36800,10 @@ paths: required: false schema: type: string - - *302 - - *303 - - *304 - - *305 + - *292 + - *293 + - *294 + - *295 - *17 responses: '200': @@ -37595,9 +36812,9 @@ paths: application/json: schema: type: array - items: *306 + items: *296 examples: - default: *307 + default: *297 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37720,7 +36937,7 @@ paths: subcategory: bypass-requests parameters: - *83 - - &310 + - &300 name: repository_name description: The name of the repository to filter on. in: query @@ -37739,9 +36956,9 @@ paths: application/json: schema: type: array - items: *308 + items: *298 examples: - default: *309 + default: *299 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -37765,7 +36982,7 @@ paths: subcategory: delegated-bypass parameters: - *83 - - *310 + - *300 - *99 - *100 - *101 @@ -37779,9 +36996,9 @@ paths: application/json: schema: type: array - items: *311 + items: *301 examples: - default: *312 + default: *302 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -37808,7 +37025,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &314 + schema: &304 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -37834,7 +37051,7 @@ paths: application/json: schema: type: array - items: &315 + items: &305 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -37865,7 +37082,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *313 + items: *303 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -37883,7 +37100,7 @@ paths: type: string format: date-time nullable: true - state: *314 + state: *304 contact_link: description: The contact link of the campaign. type: string @@ -38103,9 +37320,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: &316 + default: &306 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -38188,9 +37405,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 '422': description: Unprocessable Entity @@ -38267,7 +37484,7 @@ paths: type: string format: uri nullable: true - state: *314 + state: *304 examples: default: value: @@ -38277,9 +37494,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '400': description: Bad Request content: @@ -38346,8 +37563,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *83 - - *317 - - *318 + - *307 + - *308 - *104 - *105 - *19 @@ -38358,7 +37575,7 @@ paths: be returned. in: query required: false - schema: *319 + schema: *309 - name: sort description: The property by which to sort the results. in: query @@ -38374,7 +37591,7 @@ paths: be returned. in: query required: false - schema: &550 + schema: &534 type: string description: Severity of a code scanning alert. enum: @@ -38392,9 +37609,9 @@ paths: application/json: schema: type: array - items: *320 + items: *310 examples: - default: *321 + default: *311 headers: Link: *43 '404': *6 @@ -38609,7 +37826,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *322 + code_scanning_options: *312 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -38752,7 +37969,7 @@ paths: application/json: schema: *110 examples: - default: *323 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38780,9 +37997,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *314 examples: - default: *325 + default: *315 '304': *37 '403': *29 '404': *6 @@ -38869,7 +38086,7 @@ paths: application/json: schema: *110 examples: - default: *323 + default: *313 '304': *37 '403': *29 '404': *6 @@ -39291,7 +38508,7 @@ paths: default: value: default_for_new_repos: all - configuration: *323 + configuration: *313 '403': *29 '404': *6 x-github: @@ -39344,13 +38561,13 @@ paths: application/json: schema: type: array - items: *326 + items: *316 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *327 + repository: *317 '403': *29 '404': *6 x-github: @@ -39390,7 +38607,7 @@ paths: type: integer codespaces: type: array - items: &375 + items: &365 type: object title: Codespace description: A codespace. @@ -39415,12 +38632,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *284 + repository: *274 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &579 + properties: &563 name: type: string description: The name of the machine. @@ -39462,7 +38679,7 @@ paths: - ready - in_progress nullable: true - required: &580 + required: &564 - name - display_name - operating_system @@ -39667,7 +38884,7 @@ paths: - pulls_url - recent_folders examples: - default: &376 + default: &366 value: total_count: 3 codespaces: @@ -40291,7 +39508,7 @@ paths: type: integer secrets: type: array - items: &328 + items: &318 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -40330,7 +39547,7 @@ paths: - updated_at - visibility examples: - default: &581 + default: &565 value: total_count: 2 secrets: @@ -40368,7 +39585,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &566 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -40397,7 +39614,7 @@ paths: - key_id - key examples: - default: &583 + default: &567 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40421,15 +39638,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: - default: &585 + default: &569 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40457,7 +39674,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -40512,7 +39729,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -40539,7 +39756,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -40565,7 +39782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 - *19 - *17 responses: @@ -40583,9 +39800,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -40608,7 +39825,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -40659,7 +39876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -40693,7 +39910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -41500,7 +40717,7 @@ paths: type: integer custom_roles: type: array - items: *329 + items: *319 examples: default: value: @@ -41592,7 +40809,7 @@ paths: required: true content: application/json: - schema: &331 + schema: &321 type: object properties: name: @@ -41633,9 +40850,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41666,9 +40883,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '404': *6 x-github: githubCloudOnly: true @@ -41696,7 +40913,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &322 type: object properties: name: @@ -41734,9 +40951,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41794,7 +41011,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *321 examples: default: value: @@ -41808,9 +41025,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41847,9 +41064,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '404': *6 x-github: githubCloudOnly: true @@ -41883,7 +41100,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *322 examples: default: value: @@ -41898,9 +41115,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41960,11 +41177,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *83 - - *333 - - *334 - - *335 - - *336 - - *337 + - *323 + - *324 + - *325 + - *326 + - *327 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -42002,8 +41219,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *338 - - *339 + - *328 + - *329 - *106 - *104 - *105 @@ -42015,9 +41232,9 @@ paths: application/json: schema: type: array - items: *340 + items: *330 examples: - default: *341 + default: *331 '304': *37 '400': *14 '403': *29 @@ -42061,7 +41278,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &332 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -42138,7 +41355,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &595 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -42155,7 +41372,7 @@ paths: - key_id - key examples: - default: &612 + default: &596 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42179,13 +41396,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '200': description: Response content: application/json: - schema: *342 + schema: *332 examples: default: value: @@ -42214,7 +41431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -42273,7 +41490,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -42298,7 +41515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -42323,7 +41540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 - *19 - *17 responses: @@ -42341,9 +41558,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42365,7 +41582,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -42416,7 +41633,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -42448,7 +41665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -42485,7 +41702,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &620 + - &604 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -42493,7 +41710,7 @@ paths: required: false schema: type: string - - &621 + - &605 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -42501,7 +41718,7 @@ paths: required: false schema: type: string - - &622 + - &606 name: time_period description: |- The time period to filter by. @@ -42517,7 +41734,7 @@ paths: - week - month default: month - - &623 + - &607 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -42532,7 +41749,7 @@ paths: - denied - all default: all - - *310 + - *300 - *17 - *19 responses: @@ -42542,7 +41759,7 @@ paths: application/json: schema: type: array - items: &624 + items: &608 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -42698,7 +41915,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &625 + default: &609 value: - id: 21 number: 42 @@ -42785,11 +42002,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - *310 + - *300 - *99 - *100 - *101 - - &626 + - &610 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -42815,7 +42032,7 @@ paths: application/json: schema: type: array - items: &627 + items: &611 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -42936,7 +42153,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &628 + default: &612 value: - id: 21 number: 42 @@ -43024,7 +42241,7 @@ paths: application/json: schema: type: array - items: &386 + items: &376 title: Package description: A software package type: object @@ -43074,8 +42291,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *343 - required: *344 + properties: *333 + required: *334 nullable: true created_at: type: string @@ -43094,7 +42311,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &377 value: - id: 197 name: hello_docker @@ -43281,7 +42498,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &451 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -43362,7 +42579,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &468 + default: &452 value: group_id: '123' group_name: Octocat admins @@ -43417,7 +42634,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &449 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -43454,7 +42671,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &466 + default: &450 value: groups: - group_id: '123' @@ -43498,7 +42715,7 @@ paths: application/json: schema: type: array - items: &367 + items: &357 title: Organization Invitation description: Organization Invitation type: object @@ -43545,7 +42762,7 @@ paths: - invitation_teams_url - node_id examples: - default: &368 + default: &358 value: - id: 1 login: monalisa @@ -43612,7 +42829,7 @@ paths: application/json: schema: type: array - items: &419 + items: &409 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -43626,7 +42843,7 @@ paths: - name - description examples: - default: &420 + default: &410 value: - name: add_assignee description: Assign or remove a user @@ -43667,7 +42884,7 @@ paths: application/json: schema: type: array - items: &345 + items: &335 title: Org Hook description: Org Hook type: object @@ -43836,9 +43053,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *335 examples: - default: &346 + default: &336 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -43883,7 +43100,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *83 - - &347 + - &337 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. @@ -43896,9 +43113,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *335 examples: - default: *346 + default: *336 '404': *6 x-github: githubCloudOnly: false @@ -43920,7 +43137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *83 - - *347 + - *337 requestBody: required: false content: @@ -43965,7 +43182,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *335 examples: default: value: @@ -44005,7 +43222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *83 - - *347 + - *337 responses: '204': description: Response @@ -44031,7 +43248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *83 - - *347 + - *337 responses: '200': description: Response @@ -44060,7 +43277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *83 - - *347 + - *337 requestBody: required: false content: @@ -44109,9 +43326,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *83 - - *347 + - *337 - *17 - - *348 + - *338 responses: '200': description: Response @@ -44119,9 +43336,9 @@ paths: application/json: schema: type: array - items: *349 + items: *339 examples: - default: *350 + default: *340 '400': *14 '422': *15 x-github: @@ -44145,16 +43362,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *83 - - *347 + - *337 - *16 responses: '200': description: Response content: application/json: - schema: *351 + schema: *341 examples: - default: *352 + default: *342 '400': *14 '422': *15 x-github: @@ -44178,7 +43395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *83 - - *347 + - *337 - *16 responses: '202': *39 @@ -44205,7 +43422,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *83 - - *347 + - *337 responses: '204': description: Response @@ -44228,7 +43445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *83 - - &357 + - &347 name: actor_type in: path description: The type of the actor @@ -44241,14 +43458,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &358 + - &348 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &353 + - &343 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`.' @@ -44256,7 +43473,7 @@ paths: required: true schema: type: string - - &354 + - &344 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) @@ -44350,12 +43567,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *83 - - *353 - - *354 + - *343 + - *344 - *19 - *17 - *106 - - &363 + - &353 name: sort description: The property to sort the results by. in: query @@ -44434,14 +43651,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *83 - - *353 - - *354 + - *343 + - *344 responses: '200': description: Response content: application/json: - schema: &355 + schema: &345 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -44457,7 +43674,7 @@ paths: type: integer format: int64 examples: - default: &356 + default: &346 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -44478,23 +43695,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *83 - - &359 + - &349 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *353 - - *354 + - *343 + - *344 responses: '200': description: Response content: application/json: - schema: *355 + schema: *345 examples: - default: *356 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -44513,18 +43730,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *83 - - *353 - - *354 - - *357 - - *358 + - *343 + - *344 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *355 + schema: *345 examples: - default: *356 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -44542,9 +43759,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *83 - - *353 - - *354 - - &360 + - *343 + - *344 + - &350 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -44557,7 +43774,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &351 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -44573,7 +43790,7 @@ paths: type: integer format: int64 examples: - default: &362 + default: &352 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -44610,18 +43827,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *83 - - *359 - - *353 - - *354 - - *360 + - *349 + - *343 + - *344 + - *350 responses: '200': description: Response content: application/json: - schema: *361 + schema: *351 examples: - default: *362 + default: *352 x-github: enabledForGitHubApps: true category: orgs @@ -44639,19 +43856,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *83 - - *357 - - *358 - - *353 - - *354 - - *360 + - *347 + - *348 + - *343 + - *344 + - *350 responses: '200': description: Response content: application/json: - schema: *361 + schema: *351 examples: - default: *362 + default: *352 x-github: enabledForGitHubApps: true category: orgs @@ -44669,13 +43886,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *83 - - *359 - - *353 - - *354 + - *349 + - *343 + - *344 - *19 - *17 - *106 - - *363 + - *353 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -44756,7 +43973,7 @@ paths: application/json: schema: *22 examples: - default: &659 + default: &643 value: id: 1 account: @@ -44922,12 +44139,12 @@ paths: application/json: schema: anyOf: - - &365 + - &355 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &364 + limit: &354 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -44952,7 +44169,7 @@ paths: properties: {} additionalProperties: false examples: - default: &366 + default: &356 value: limit: collaborators_only origin: organization @@ -44981,13 +44198,13 @@ paths: required: true content: application/json: - schema: &660 + schema: &644 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *364 + limit: *354 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -45011,9 +44228,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: - default: *366 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -45091,9 +44308,9 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: - default: *368 + default: *358 headers: Link: *43 '404': *6 @@ -45171,7 +44388,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -45228,7 +44445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *83 - - &369 + - &359 name: invitation_id description: The unique identifier of the invitation. in: path @@ -45262,7 +44479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *83 - - *369 + - *359 - *17 - *19 responses: @@ -45272,9 +44489,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: &385 + default: &375 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -45317,7 +44534,7 @@ paths: application/json: schema: type: array - items: *370 + items: *360 examples: default: value: @@ -45402,9 +44619,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: &371 + default: &361 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -45437,7 +44654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *83 - - &372 + - &362 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -45490,9 +44707,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: *371 + default: *361 '404': *6 '422': *7 x-github: @@ -45517,7 +44734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *83 - - *372 + - *362 responses: '204': description: Response @@ -45580,7 +44797,7 @@ paths: - closed - all default: open - - *373 + - *363 - name: type description: Can be the name of an issue type. in: query @@ -45611,7 +44828,7 @@ paths: type: array items: *227 examples: - default: *374 + default: *364 headers: Link: *43 '404': *6 @@ -45770,9 +44987,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *365 examples: - default: *376 + default: *366 '304': *37 '500': *40 '401': *25 @@ -45799,7 +45016,7 @@ paths: parameters: - *83 - *138 - - &377 + - &367 name: codespace_name in: path required: true @@ -45834,15 +45051,15 @@ paths: parameters: - *83 - *138 - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: &578 + default: &562 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -46098,7 +45315,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &368 title: Org Membership description: Org Membership type: object @@ -46165,7 +45382,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &379 + response-if-user-has-an-active-admin-membership-with-organization: &369 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -46262,9 +45479,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *368 examples: - response-if-user-already-had-membership-with-organization: *379 + response-if-user-already-had-membership-with-organization: *369 '422': *15 '403': *29 x-github: @@ -46335,7 +45552,7 @@ paths: application/json: schema: type: array - items: &380 + items: &370 title: Migration description: A migration. type: object @@ -46664,7 +45881,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -46843,7 +46060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *83 - - &381 + - &371 name: migration_id description: The unique identifier of the migration. in: path @@ -46870,7 +46087,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -47040,7 +46257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *83 - - *381 + - *371 responses: '302': description: Response @@ -47062,7 +46279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *83 - - *381 + - *371 responses: '204': description: Response @@ -47086,8 +46303,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *83 - - *381 - - &834 + - *371 + - &818 name: repo_name description: repo_name parameter in: path @@ -47115,7 +46332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *83 - - *381 + - *371 - *17 - *19 responses: @@ -47125,9 +46342,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: &392 + default: &382 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -47336,7 +46553,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &382 + items: &372 title: Organization Role description: Organization roles type: object @@ -47543,7 +46760,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *372 examples: default: value: @@ -47773,7 +46990,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *372 examples: default: value: @@ -47870,7 +47087,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *372 examples: default: value: @@ -48028,8 +47245,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *383 - required: *384 + properties: *373 + required: *374 nullable: true type: description: The ownership type of the team @@ -48061,7 +47278,7 @@ paths: - type - parent examples: - default: *385 + default: *375 headers: Link: *43 '404': @@ -48119,13 +47336,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &439 + items: &429 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *383 - required: *384 + properties: *373 + required: *374 name: nullable: true type: string @@ -48413,7 +47630,7 @@ paths: - nuget - container - *83 - - &835 + - &819 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -48449,12 +47666,12 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *387 + default: *377 '403': *29 '401': *25 - '400': &837 + '400': &821 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -48476,7 +47693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &388 + - &378 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 @@ -48494,7 +47711,7 @@ paths: - docker - nuget - container - - &389 + - &379 name: package_name description: The name of the package. in: path @@ -48507,7 +47724,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *376 examples: default: value: @@ -48559,8 +47776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 responses: '204': @@ -48593,8 +47810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 - name: token description: package token @@ -48627,8 +47844,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: - - *388 - - *389 + - *378 + - *379 - *83 - *19 - *17 @@ -48649,7 +47866,7 @@ paths: application/json: schema: type: array - items: &390 + items: &380 title: Package Version description: A version of a software package type: object @@ -48774,10 +47991,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: - - *388 - - *389 + - *378 + - *379 - *83 - - &391 + - &381 name: package_version_id description: Unique identifier of the package version. in: path @@ -48789,7 +48006,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *380 examples: default: value: @@ -48825,10 +48042,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 - - *391 + - *381 responses: '204': description: Response @@ -48860,10 +48077,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 - - *391 + - *381 responses: '204': description: Response @@ -48893,7 +48110,7 @@ paths: - *83 - *17 - *19 - - &393 + - &383 name: sort description: The property by which to sort the results. in: query @@ -48904,7 +48121,7 @@ paths: - created_at default: created_at - *106 - - &394 + - &384 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -48915,7 +48132,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &395 + - &385 name: repository description: The name of the repository to use to filter the results. in: query @@ -48923,7 +48140,7 @@ paths: schema: type: string example: Hello-World - - &396 + - &386 name: permission description: The permission to use to filter the results. in: query @@ -48931,7 +48148,7 @@ paths: schema: type: string example: issues_read - - &397 + - &387 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) @@ -48941,7 +48158,7 @@ paths: schema: type: string format: date-time - - &398 + - &388 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) @@ -48951,7 +48168,7 @@ paths: schema: type: string format: date-time - - &399 + - &389 name: token_id description: The ID of the token in: query @@ -49262,9 +48479,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -49290,14 +48507,14 @@ paths: - *83 - *17 - *19 - - *393 + - *383 - *106 - - *394 - - *395 - - *396 - - *397 - - *398 - - *399 + - *384 + - *385 + - *386 + - *387 + - *388 + - *389 responses: '500': *40 '422': *15 @@ -49577,9 +48794,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -49621,7 +48838,7 @@ paths: type: integer configurations: type: array - items: &400 + items: &390 title: Organization private registry description: Private registry configuration for an organization type: object @@ -49911,7 +49128,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &401 + org-private-registry-with-selected-visibility: &391 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -50001,15 +49218,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *83 - - *294 + - *284 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *400 + schema: *390 examples: - default: *401 + default: *391 '404': *6 x-github: githubCloudOnly: false @@ -50031,7 +49248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -50136,7 +49353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -50176,7 +49393,7 @@ paths: application/json: schema: type: array - items: &402 + items: &392 title: Projects v2 Project description: A projects v2 project type: object @@ -50246,7 +49463,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &914 + properties: &898 id: type: number description: The unique identifier of the status update. @@ -50294,7 +49511,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &915 + required: &899 - id - node_id - created_at @@ -50319,7 +49536,7 @@ paths: - deleted_at - deleted_by examples: - default: &403 + default: &393 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -50422,7 +49639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &404 + - &394 name: project_number description: The project's number. in: path @@ -50435,9 +49652,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *403 + default: *393 headers: Link: *43 '304': *37 @@ -50460,7 +49677,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *83 - - *404 + - *394 requestBody: required: true description: Details of the draft item to create in the project. @@ -50494,7 +49711,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &400 title: Projects v2 Item description: An item belonging to a project type: object @@ -50508,7 +49725,7 @@ paths: content: oneOf: - *227 - - &593 + - &577 title: Pull Request Simple description: Pull Request Simple type: object @@ -50614,8 +49831,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 nullable: true active_lock_reason: type: string @@ -50660,7 +49877,7 @@ paths: nullable: true requested_teams: type: array - items: *313 + items: *303 nullable: true head: type: object @@ -50711,7 +49928,7 @@ paths: _links: type: object properties: - comments: &407 + comments: &397 title: Link description: Hypermedia Link type: object @@ -50720,13 +49937,13 @@ paths: type: string required: - href - commits: *407 - statuses: *407 - html: *407 - issue: *407 - review_comments: *407 - review_comment: *407 - self: *407 + commits: *397 + statuses: *397 + html: *397 + issue: *397 + review_comments: *397 + review_comment: *397 + self: *397 required: - comments - commits @@ -50737,7 +49954,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &708 + auto_merge: &692 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50839,7 +50056,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &409 + content_type: &399 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -50879,7 +50096,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &411 + draft_issue: &401 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50953,7 +50170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *404 + - *394 - *83 - *17 - *104 @@ -50965,7 +50182,7 @@ paths: application/json: schema: type: array - items: &408 + items: &398 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -51112,7 +50329,7 @@ paths: - updated_at - project_url examples: - default: &854 + default: &838 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -51243,8 +50460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *404 - - &855 + - *394 + - &839 name: field_id description: The unique identifier of the field. in: path @@ -51257,9 +50474,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *398 examples: - default: &856 + default: &840 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -51303,7 +50520,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: - - *404 + - *394 - *83 - 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) @@ -51336,7 +50553,7 @@ paths: application/json: schema: type: array - items: &412 + items: &402 title: Projects v2 Item description: An item belonging to a project type: object @@ -51352,7 +50569,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: *409 + content_type: *399 content: type: object additionalProperties: true @@ -51395,7 +50612,7 @@ paths: - updated_at - archived_at examples: - default: &413 + default: &403 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -52092,7 +51309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *404 + - *394 requestBody: required: true description: Details of the item to add to the project. @@ -52129,10 +51346,10 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: - issue: *411 - pull_request: *411 + issue: *401 + pull_request: *401 '304': *37 '403': *29 '401': *25 @@ -52152,9 +51369,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: - - *404 + - *394 - *83 - - &414 + - &404 name: item_id description: The unique identifier of the project item. in: path @@ -52180,9 +51397,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - default: *413 + default: *403 headers: Link: *43 '304': *37 @@ -52203,9 +51420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *404 + - *394 - *83 - - *414 + - *404 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -52275,13 +51492,13 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - text_field: *413 - number_field: *413 - date_field: *413 - single_select_field: *413 - iteration_field: *413 + text_field: *403 + number_field: *403 + date_field: *403 + single_select_field: *403 + iteration_field: *403 '401': *25 '403': *29 '404': *6 @@ -52301,9 +51518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *404 + - *394 - *83 - - *414 + - *404 responses: '204': description: Response @@ -52466,7 +51683,7 @@ paths: required: true content: application/json: - schema: *415 + schema: *405 examples: default: value: @@ -52829,9 +52046,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -53034,7 +52251,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &467 title: Full Repository description: Full Repository type: object @@ -53311,8 +52528,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *416 - required: *417 + properties: *406 + required: *407 nullable: true temp_clone_token: type: string @@ -53427,7 +52644,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &598 + properties: &582 url: type: string format: uri @@ -53443,12 +52660,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &599 + required: &583 - url - key - name - html_url - security_and_analysis: *418 + security_and_analysis: *408 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -53532,7 +52749,7 @@ paths: - network_count - subscribers_count examples: - default: &485 + default: &469 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -54058,9 +53275,9 @@ paths: application/json: schema: type: array - items: *419 + items: *409 examples: - default: *420 + default: *410 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54085,7 +53302,7 @@ paths: - *83 - *17 - *19 - - &731 + - &715 name: targets description: | A comma-separated list of rule targets to filter by. @@ -54176,11 +53393,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *421 + conditions: *411 rules: type: array description: An array of rules within the ruleset. - items: &423 + items: &413 title: Repository Rule type: object description: A repository rule. @@ -54244,7 +53461,7 @@ paths: application/json: schema: *185 examples: - default: &422 + default: &412 value: id: 21 name: super cool ruleset @@ -54299,7 +53516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &733 + - &717 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 @@ -54309,16 +53526,16 @@ paths: schema: type: string x-multi-segment: true - - *310 + - *300 - *101 - - &734 + - &718 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 - - &735 + - &719 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -54338,7 +53555,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &720 title: Rule Suites description: Response type: array @@ -54393,7 +53610,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &737 + default: &721 value: - id: 21 actor_id: 12 @@ -54437,7 +53654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &738 + - &722 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -54453,7 +53670,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &723 title: Rule Suite description: Response type: object @@ -54552,7 +53769,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &740 + default: &724 value: id: 21 actor_id: 12 @@ -54627,7 +53844,7 @@ paths: application/json: schema: *185 examples: - default: *422 + default: *412 '404': *6 '500': *40 put: @@ -54676,11 +53893,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *421 + conditions: *411 rules: description: An array of rules within the ruleset. type: array - items: *423 + items: *413 examples: default: value: @@ -54717,7 +53934,7 @@ paths: application/json: schema: *185 examples: - default: *422 + default: *412 '404': *6 '500': *40 delete: @@ -54776,7 +53993,7 @@ paths: type: array items: *189 examples: - default: *424 + default: *414 '404': *6 '500': *40 x-github: @@ -54813,7 +54030,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: default: value: @@ -54876,14 +54093,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 - - *426 - - *427 - - *428 - - *429 + - *416 + - *417 + - *418 + - *419 - *106 - *19 - *17 - - &742 + - &726 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 @@ -54893,7 +54110,7 @@ paths: required: false schema: type: string - - &743 + - &727 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 @@ -54903,10 +54120,10 @@ paths: required: false schema: type: string - - *430 - - *431 - - *432 - - *433 + - *420 + - *421 + - *422 + - *423 responses: '200': description: Response @@ -54914,9 +54131,9 @@ paths: application/json: schema: type: array - items: *434 + items: *424 examples: - default: *435 + default: *425 headers: Link: *43 '404': *6 @@ -54951,9 +54168,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *426 examples: - default: *437 + default: *427 '403': *29 '404': *6 patch: @@ -55106,7 +54323,7 @@ paths: application/json: schema: type: array - items: &764 + items: &748 description: A repository security advisory. type: object properties: @@ -55326,7 +54543,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *428 credits_detailed: type: array nullable: true @@ -55336,7 +54553,7 @@ paths: type: object properties: user: *4 - type: *438 + type: *428 state: type: string description: The state of the user's acceptance of the @@ -55360,7 +54577,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *313 + items: *303 private_fork: readOnly: true nullable: true @@ -55397,7 +54614,7 @@ paths: - private_fork additionalProperties: false examples: - default: &765 + default: &749 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55784,9 +55001,9 @@ paths: application/json: schema: type: array - items: *439 + items: *429 examples: - default: *385 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55849,36 +55066,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - *83 - responses: - '200': - description: Response - content: - application/json: - schema: *440 - examples: - default: *441 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an organization @@ -55898,7 +55085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *442 + - *430 - *17 - *19 responses: @@ -55906,74 +55093,14 @@ paths: description: Success content: application/json: - schema: *443 + schema: *431 examples: - default: *444 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: true category: billing subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - *83 - responses: - '200': - description: Response - content: - application/json: - schema: *445 - examples: - default: *446 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - *83 - responses: - '200': - description: Response - content: - application/json: - schema: *447 - examples: - default: *448 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -56112,9 +55239,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56183,7 +55310,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *278 + - *268 responses: '204': description: Response @@ -56206,7 +55333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *278 + - *268 responses: '204': description: Response @@ -56249,7 +55376,7 @@ paths: type: array items: *143 examples: - default: *449 + default: *433 headers: Link: *43 x-github: @@ -56450,15 +55577,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: - *83 - - *450 + - *434 responses: '200': description: Response content: application/json: - schema: *451 + schema: *435 examples: - default: *452 + default: *436 headers: Link: *43 x-github: @@ -56496,7 +55623,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &458 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -56542,7 +55669,7 @@ paths: type: string nullable: true examples: - default: &475 + default: &459 value: groups: - group_id: '123' @@ -56654,9 +55781,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 headers: Link: *43 '403': *29 @@ -56750,7 +55877,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &437 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56813,8 +55940,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *383 - required: *384 + properties: *373 + required: *374 nullable: true members_count: type: integer @@ -57077,7 +56204,7 @@ paths: - repos_count - organization examples: - default: &454 + default: &438 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57154,9 +56281,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -57240,16 +56367,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '201': description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 '422': *15 '403': *29 @@ -57319,7 +56446,7 @@ paths: application/json: schema: type: array - items: &455 + items: &439 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -57418,7 +56545,7 @@ paths: - updated_at - url examples: - default: &808 + default: &792 value: - author: login: octocat @@ -57527,9 +56654,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: &456 + default: &440 value: author: login: octocat @@ -57603,7 +56730,7 @@ paths: parameters: - *83 - *210 - - &457 + - &441 name: discussion_number description: The number that identifies the discussion. in: path @@ -57615,9 +56742,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *456 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57641,7 +56768,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 requestBody: required: false content: @@ -57664,9 +56791,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: &809 + default: &793 value: author: login: octocat @@ -57738,7 +56865,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 responses: '204': description: Response @@ -57766,7 +56893,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 - *106 - *17 - *19 @@ -57777,7 +56904,7 @@ paths: application/json: schema: type: array - items: &458 + items: &442 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -57849,7 +56976,7 @@ paths: - updated_at - url examples: - default: &810 + default: &794 value: - author: login: octocat @@ -57919,7 +57046,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 requestBody: required: true content: @@ -57941,9 +57068,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: &459 + default: &443 value: author: login: octocat @@ -58011,8 +57138,8 @@ paths: parameters: - *83 - *210 - - *457 - - &460 + - *441 + - &444 name: comment_number description: The number that identifies the comment. in: path @@ -58024,9 +57151,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *459 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58050,8 +57177,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 requestBody: required: true content: @@ -58073,9 +57200,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: &811 + default: &795 value: author: login: octocat @@ -58141,8 +57268,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 responses: '204': description: Response @@ -58170,8 +57297,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 - 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. @@ -58197,7 +57324,7 @@ paths: application/json: schema: type: array - items: &461 + items: &445 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -58240,7 +57367,7 @@ paths: - content - created_at examples: - default: &463 + default: &447 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58292,8 +57419,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 requestBody: required: true content: @@ -58326,9 +57453,9 @@ paths: team discussion comment content: application/json: - schema: *461 + schema: *445 examples: - default: &462 + default: &446 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58357,9 +57484,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58384,9 +57511,9 @@ paths: parameters: - *83 - *210 - - *457 - - *460 - - &464 + - *441 + - *444 + - &448 name: reaction_id description: The unique identifier of the reaction. in: path @@ -58420,7 +57547,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 - 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. @@ -58446,9 +57573,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 x-github: @@ -58476,7 +57603,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 requestBody: required: true content: @@ -58508,16 +57635,16 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58542,8 +57669,8 @@ paths: parameters: - *83 - *210 - - *457 - - *464 + - *441 + - *448 responses: '204': description: Response @@ -58573,9 +57700,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *466 + default: *450 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58618,9 +57745,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *451 examples: - default: *468 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58675,9 +57802,9 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: - default: *368 + default: *358 headers: Link: *43 x-github: @@ -58761,7 +57888,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &453 title: Team Membership description: Team Membership type: object @@ -58788,7 +57915,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &812 + response-if-user-is-a-team-maintainer: &796 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -58851,9 +57978,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *453 examples: - response-if-users-membership-with-team-is-now-pending: &813 + response-if-users-membership-with-team-is-now-pending: &797 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58926,7 +58053,7 @@ paths: application/json: schema: type: array - items: &470 + items: &454 title: Team Project description: A team's access to a project. type: object @@ -58994,7 +58121,7 @@ paths: - updated_at - permissions examples: - default: &814 + default: &798 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59059,7 +58186,7 @@ paths: parameters: - *83 - *210 - - &471 + - &455 name: project_id description: The unique identifier of the project. in: path @@ -59071,9 +58198,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *454 examples: - default: &815 + default: &799 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59137,7 +58264,7 @@ paths: parameters: - *83 - *210 - - *471 + - *455 requestBody: required: false content: @@ -59205,7 +58332,7 @@ paths: parameters: - *83 - *210 - - *471 + - *455 responses: '204': description: Response @@ -59243,9 +58370,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -59276,14 +58403,14 @@ paths: parameters: - *83 - *210 - - *472 - - *473 + - *456 + - *457 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &816 + schema: &800 title: Team Repository description: A team's access to a repository. type: object @@ -59854,8 +58981,8 @@ paths: parameters: - *83 - *210 - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -59902,8 +59029,8 @@ paths: parameters: - *83 - *210 - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -59936,9 +59063,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *458 examples: - default: *475 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60004,7 +59131,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *458 examples: default: value: @@ -60047,9 +59174,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - response-if-child-teams-exist: &817 + response-if-child-teams-exist: &801 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60176,7 +59303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &476 + - &460 name: card_id description: The unique identifier of the card. in: path @@ -60188,7 +59315,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &461 title: Project Card description: Project cards represent a scope of work. type: object @@ -60255,7 +59382,7 @@ paths: - created_at - updated_at examples: - default: &478 + default: &462 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -60311,7 +59438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *476 + - *460 requestBody: required: false content: @@ -60338,9 +59465,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *461 examples: - default: *478 + default: *462 '304': *37 '403': *29 '401': *25 @@ -60367,7 +59494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *476 + - *460 responses: '204': description: Response @@ -60411,7 +59538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *476 + - *460 requestBody: required: true content: @@ -60522,7 +59649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &479 + - &463 name: column_id description: The unique identifier of the column. in: path @@ -60534,7 +59661,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &464 title: Project Column description: Project columns contain cards of work. type: object @@ -60580,7 +59707,7 @@ paths: - created_at - updated_at examples: - default: &481 + default: &465 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -60615,7 +59742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *479 + - *463 requestBody: required: true content: @@ -60639,9 +59766,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *464 examples: - default: *481 + default: *465 '304': *37 '403': *29 '401': *25 @@ -60666,7 +59793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *479 + - *463 responses: '204': description: Response @@ -60695,7 +59822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *479 + - *463 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -60716,7 +59843,7 @@ paths: application/json: schema: type: array - items: *477 + items: *461 examples: default: value: @@ -60775,7 +59902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *479 + - *463 requestBody: required: true content: @@ -60815,9 +59942,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *461 examples: - default: *478 + default: *462 '304': *37 '403': *29 '401': *25 @@ -60827,8 +59954,8 @@ paths: application/json: schema: oneOf: - - *259 - - *260 + - *249 + - *250 '503': description: Response content: @@ -60873,7 +60000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *479 + - *463 requestBody: required: true content: @@ -60933,7 +60060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *471 + - *455 - 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 @@ -60990,7 +60117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *471 + - *455 - *138 requestBody: required: false @@ -61043,7 +60170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *471 + - *455 - *138 responses: '204': @@ -61075,7 +60202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *471 + - *455 - *138 responses: '200': @@ -61176,7 +60303,7 @@ paths: resources: type: object properties: - core: &482 + core: &466 title: Rate Limit type: object properties: @@ -61193,21 +60320,21 @@ paths: - remaining - reset - used - graphql: *482 - search: *482 - code_search: *482 - source_import: *482 - integration_manifest: *482 - code_scanning_upload: *482 - actions_runner_registration: *482 - scim: *482 - dependency_snapshots: *482 - dependency_sbom: *482 - code_scanning_autofix: *482 + graphql: *466 + search: *466 + code_search: *466 + source_import: *466 + integration_manifest: *466 + code_scanning_upload: *466 + actions_runner_registration: *466 + scim: *466 + dependency_snapshots: *466 + dependency_sbom: *466 + code_scanning_autofix: *466 required: - core - search - rate: *482 + rate: *466 required: - rate - resources @@ -61312,14 +60439,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *483 + schema: *467 examples: default-response: summary: Default response @@ -61824,7 +60951,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *484 + '301': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61842,8 +60969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -62100,10 +61227,10 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 - '307': &486 + default: *469 + '307': &470 description: Temporary Redirect content: application/json: @@ -62132,8 +61259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -62155,7 +61282,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': *486 + '307': *470 '404': *6 '409': *114 x-github: @@ -62179,11 +61306,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - - &501 + - &485 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62206,7 +61333,7 @@ paths: type: integer artifacts: type: array - items: &487 + items: &471 title: Artifact description: An artifact type: object @@ -62284,7 +61411,7 @@ paths: - expires_at - updated_at examples: - default: &502 + default: &486 value: total_count: 2 artifacts: @@ -62345,9 +61472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *472 - - *473 - - &488 + - *456 + - *457 + - &472 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62359,7 +61486,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *471 examples: default: value: @@ -62397,9 +61524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *456 + - *457 - *472 - - *473 - - *488 responses: '204': description: Response @@ -62423,9 +61550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *456 + - *457 - *472 - - *473 - - *488 - name: archive_format in: path required: true @@ -62439,7 +61566,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': &663 + '410': &647 description: Gone content: application/json: @@ -62466,14 +61593,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *489 + schema: *473 examples: default: value: @@ -62499,11 +61626,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: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - - &490 + - &474 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 @@ -62537,7 +61664,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &475 title: Repository actions caches description: Repository actions caches type: object @@ -62579,7 +61706,7 @@ paths: - total_count - actions_caches examples: - default: &492 + default: &476 value: total_count: 1 actions_caches: @@ -62611,23 +61738,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: - - *472 - - *473 + - *456 + - *457 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *490 + - *474 responses: '200': description: Response content: application/json: - schema: *491 + schema: *475 examples: - default: *492 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62647,8 +61774,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: - - *472 - - *473 + - *456 + - *457 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62679,9 +61806,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: - - *472 - - *473 - - &493 + - *456 + - *457 + - &477 name: job_id description: The unique identifier of the job. in: path @@ -62693,7 +61820,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &489 title: Job description: Information of a job execution in a workflow run type: object @@ -63000,9 +62127,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: - - *472 - - *473 - - *493 + - *456 + - *457 + - *477 responses: '302': description: Response @@ -63030,9 +62157,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: - - *472 - - *473 - - *493 + - *456 + - *457 + - *477 requestBody: required: false content: @@ -63053,7 +62180,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -63077,8 +62204,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Status response @@ -63128,8 +62255,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -63163,7 +62290,7 @@ paths: description: Empty response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -63192,8 +62319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -63211,7 +62338,7 @@ paths: type: integer secrets: type: array - items: &507 + items: &491 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63231,7 +62358,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &492 value: total_count: 2 secrets: @@ -63264,9 +62391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *472 - - *473 - - *494 + - *456 + - *457 + - *478 - *19 responses: '200': @@ -63283,7 +62410,7 @@ paths: type: integer variables: type: array - items: &511 + items: &495 title: Actions Variable type: object properties: @@ -63313,7 +62440,7 @@ paths: - created_at - updated_at examples: - default: &512 + default: &496 value: total_count: 2 variables: @@ -63346,8 +62473,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63356,11 +62483,11 @@ paths: schema: type: object properties: - enabled: &495 + enabled: &479 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 - selected_actions_url: *271 + selected_actions_url: *261 sha_pinning_required: *57 required: - enabled @@ -63391,8 +62518,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -63403,7 +62530,7 @@ paths: schema: type: object properties: - enabled: *495 + enabled: *479 allowed_actions: *56 sha_pinning_required: *57 required: @@ -63436,14 +62563,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: &496 + schema: &480 type: object properties: access_level: @@ -63461,7 +62588,7 @@ paths: required: - access_level examples: - default: &497 + default: &481 value: access_level: organization x-github: @@ -63486,15 +62613,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: application/json: - schema: *496 + schema: *480 examples: - default: *497 + default: *481 responses: '204': description: Response @@ -63518,14 +62645,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *273 + schema: *263 examples: default: value: @@ -63549,8 +62676,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Empty response for successful settings update @@ -63560,7 +62687,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *264 examples: default: summary: Set retention days @@ -63584,8 +62711,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63593,7 +62720,7 @@ paths: application/json: schema: *58 examples: - default: *275 + default: *265 '404': *6 x-github: enabledForGitHubApps: true @@ -63612,8 +62739,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -63647,14 +62774,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *276 + schema: *266 examples: default: *59 '403': *29 @@ -63676,13 +62803,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: application/json: - schema: *277 + schema: *267 examples: default: *59 responses: @@ -63708,8 +62835,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63740,8 +62867,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -63773,14 +62900,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *280 + schema: *270 examples: default: *65 x-github: @@ -63803,8 +62930,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Success response @@ -63815,7 +62942,7 @@ paths: required: true content: application/json: - schema: *281 + schema: *271 examples: default: *65 x-github: @@ -63844,8 +62971,8 @@ paths: in: query schema: type: string - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -63889,8 +63016,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63898,9 +63025,9 @@ paths: application/json: schema: type: array - items: *285 + items: *275 examples: - default: *286 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63922,8 +63049,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -63966,7 +63093,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *287 + '201': *277 '404': *6 '422': *7 '409': *114 @@ -63997,8 +63124,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: - - *472 - - *473 + - *456 + - *457 responses: '201': description: Response @@ -64006,7 +63133,7 @@ paths: application/json: schema: *75 examples: - default: *288 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,8 +63161,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: - - *472 - - *473 + - *456 + - *457 responses: '201': description: Response @@ -64043,7 +63170,7 @@ paths: application/json: schema: *75 examples: - default: *289 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64065,8 +63192,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: '200': @@ -64075,7 +63202,7 @@ paths: application/json: schema: *72 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64096,8 +63223,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: '204': @@ -64124,8 +63251,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: '200': *77 @@ -64150,8 +63277,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: - - *472 - - *473 + - *456 + - *457 - *71 requestBody: required: true @@ -64200,8 +63327,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: - - *472 - - *473 + - *456 + - *457 - *71 requestBody: required: true @@ -64251,11 +63378,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: - '200': *291 + '200': *281 '404': *6 x-github: githubCloudOnly: false @@ -64282,10 +63409,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: - - *472 - - *473 + - *456 + - *457 - *71 - - *292 + - *282 responses: '200': *77 '404': *6 @@ -64313,9 +63440,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: - - *472 - - *473 - - &515 + - *456 + - *457 + - &499 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. @@ -64323,7 +63450,7 @@ paths: required: false schema: type: string - - &516 + - &500 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64331,7 +63458,7 @@ paths: required: false schema: type: string - - &517 + - &501 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64340,7 +63467,7 @@ paths: required: false schema: type: string - - &518 + - &502 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 @@ -64367,7 +63494,7 @@ paths: - pending - *17 - *19 - - &519 + - &503 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)." @@ -64376,7 +63503,7 @@ paths: schema: type: string format: date-time - - &498 + - &482 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64385,13 +63512,13 @@ paths: schema: type: boolean default: false - - &520 + - &504 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &521 + - &505 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64414,7 +63541,7 @@ paths: type: integer workflow_runs: type: array - items: &499 + items: &483 title: Workflow Run description: An invocation of a workflow type: object @@ -64509,7 +63636,7 @@ paths: that triggered the run. type: array nullable: true - items: &540 + items: &524 title: Pull Request Minimal type: object properties: @@ -64628,7 +63755,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &544 + properties: &528 id: type: string description: SHA for the commit @@ -64679,7 +63806,7 @@ paths: - name - email nullable: true - required: &545 + required: &529 - id - tree_id - message @@ -64687,8 +63814,8 @@ paths: - author - committer nullable: true - repository: *284 - head_repository: *284 + repository: *274 + head_repository: *274 head_repository_id: type: integer example: 5 @@ -64726,7 +63853,7 @@ paths: - workflow_url - pull_requests examples: - default: &522 + default: &506 value: total_count: 1 workflow_runs: @@ -64962,24 +64089,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *472 - - *473 - - &500 + - *456 + - *457 + - &484 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *498 + - *482 responses: '200': description: Response content: application/json: - schema: *499 + schema: *483 examples: - default: &503 + default: &487 value: id: 30433642 name: Build @@ -65220,9 +64347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '204': description: Response @@ -65245,9 +64372,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '200': description: Response @@ -65366,15 +64493,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -65401,12 +64528,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 - *17 - *19 - - *501 + - *485 responses: '200': description: Response @@ -65422,9 +64549,9 @@ paths: type: integer artifacts: type: array - items: *487 + items: *471 examples: - default: *502 + default: *486 headers: Link: *43 x-github: @@ -65448,25 +64575,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *472 - - *473 - - *500 - - &504 + - *456 + - *457 + - *484 + - &488 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *498 + - *482 responses: '200': description: Response content: application/json: - schema: *499 + schema: *483 examples: - default: *503 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65489,10 +64616,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: - - *472 - - *473 - - *500 - - *504 + - *456 + - *457 + - *484 + - *488 - *17 - *19 responses: @@ -65510,9 +64637,9 @@ paths: type: integer jobs: type: array - items: *505 + items: *489 examples: - default: &506 + default: &490 value: total_count: 1 jobs: @@ -65625,10 +64752,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *472 - - *473 - - *500 - - *504 + - *456 + - *457 + - *484 + - *488 responses: '302': description: Response @@ -65656,15 +64783,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '202': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -65691,9 +64818,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: true content: @@ -65760,15 +64887,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '202': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -65795,9 +64922,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 - 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 @@ -65827,9 +64954,9 @@ paths: type: integer jobs: type: array - items: *505 + items: *489 examples: - default: *506 + default: *490 headers: Link: *43 x-github: @@ -65854,9 +64981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '302': description: Response @@ -65883,9 +65010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '204': description: Response @@ -65912,9 +65039,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '200': description: Response @@ -65974,7 +65101,7 @@ paths: items: type: object properties: - type: &629 + type: &613 type: string description: The type of reviewer. enum: @@ -65984,7 +65111,7 @@ paths: reviewer: anyOf: - *4 - - *313 + - *303 required: - environment - wait_timer @@ -66059,9 +65186,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: true content: @@ -66108,7 +65235,7 @@ paths: application/json: schema: type: array - items: &615 + items: &599 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66214,7 +65341,7 @@ paths: - created_at - updated_at examples: - default: &616 + default: &600 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66270,9 +65397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: false content: @@ -66293,7 +65420,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66316,9 +65443,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: false content: @@ -66339,7 +65466,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66372,9 +65499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '200': description: Response @@ -66511,8 +65638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -66530,9 +65657,9 @@ paths: type: integer secrets: type: array - items: *507 + items: *491 examples: - default: *508 + default: *492 headers: Link: *43 x-github: @@ -66557,16 +65684,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *509 + schema: *493 examples: - default: *510 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66588,17 +65715,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '200': description: Response content: application/json: - schema: *507 + schema: *491 examples: - default: &642 + default: &626 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66624,9 +65751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 requestBody: required: true content: @@ -66657,7 +65784,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66683,9 +65810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '204': description: Response @@ -66710,9 +65837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *472 - - *473 - - *494 + - *456 + - *457 + - *478 - *19 responses: '200': @@ -66729,9 +65856,9 @@ paths: type: integer variables: type: array - items: *511 + items: *495 examples: - default: *512 + default: *496 headers: Link: *43 x-github: @@ -66754,8 +65881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -66782,7 +65909,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66807,17 +65934,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *472 - - *473 - - *297 + - *456 + - *457 + - *287 responses: '200': description: Response content: application/json: - schema: *511 + schema: *495 examples: - default: &643 + default: &627 value: name: USERNAME value: octocat @@ -66843,9 +65970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *472 - - *473 - - *297 + - *456 + - *457 + - *287 requestBody: required: true content: @@ -66887,9 +66014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *472 - - *473 - - *297 + - *456 + - *457 + - *287 responses: '204': description: Response @@ -66914,8 +66041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -66933,7 +66060,7 @@ paths: type: integer workflows: type: array - items: &513 + items: &497 title: Workflow description: A GitHub Actions workflow type: object @@ -67040,9 +66167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *472 - - *473 - - &514 + - *456 + - *457 + - &498 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67057,7 +66184,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *497 examples: default: value: @@ -67090,9 +66217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '204': description: Response @@ -67117,9 +66244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '204': description: Response @@ -67170,9 +66297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '204': description: Response @@ -67199,19 +66326,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: - - *472 - - *473 - - *514 - - *515 - - *516 - - *517 - - *518 + - *456 + - *457 + - *498 + - *499 + - *500 + - *501 + - *502 - *17 - *19 - - *519 - - *498 - - *520 - - *521 + - *503 + - *482 + - *504 + - *505 responses: '200': description: Response @@ -67227,9 +66354,9 @@ paths: type: integer workflow_runs: type: array - items: *499 + items: *483 examples: - default: *522 + default: *506 headers: Link: *43 x-github: @@ -67262,9 +66389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '200': description: Response @@ -67325,8 +66452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *472 - - *473 + - *456 + - *457 - *106 - *17 - *104 @@ -67490,8 +66617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -67528,8 +66655,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: - - *472 - - *473 + - *456 + - *457 - name: assignee in: path required: true @@ -67565,8 +66692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -67678,8 +66805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *104 - *105 @@ -67736,7 +66863,7 @@ paths: initiator: type: string examples: - default: *523 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67756,8 +66883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -67765,7 +66892,7 @@ paths: application/json: schema: type: array - items: &524 + items: &508 title: Autolink reference description: An autolink reference. type: object @@ -67819,8 +66946,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -67859,9 +66986,9 @@ paths: description: response content: application/json: - schema: *524 + schema: *508 examples: - default: &525 + default: &509 value: id: 1 key_prefix: TICKET- @@ -67892,9 +67019,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: - - *472 - - *473 - - &526 + - *456 + - *457 + - &510 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67906,9 +67033,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *508 examples: - default: *525 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -67928,9 +67055,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: - - *472 - - *473 - - *526 + - *456 + - *457 + - *510 responses: '204': description: Response @@ -67954,8 +67081,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response if Dependabot is enabled @@ -68003,8 +67130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -68025,8 +67152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -68046,8 +67173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *472 - - *473 + - *456 + - *457 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68085,7 +67212,7 @@ paths: - url protected: type: boolean - protection: &528 + protection: &512 title: Branch Protection description: Branch Protection type: object @@ -68127,7 +67254,7 @@ paths: required: - contexts - checks - enforce_admins: &531 + enforce_admins: &515 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68142,7 +67269,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &533 + required_pull_request_reviews: &517 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68163,7 +67290,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *313 + items: *303 apps: description: The list of apps with review dismissal access. @@ -68192,7 +67319,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *313 + items: *303 apps: description: The list of apps allowed to bypass pull request requirements. @@ -68218,7 +67345,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &530 + restrictions: &514 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68281,7 +67408,7 @@ paths: type: string teams: type: array - items: *313 + items: *303 apps: type: array items: @@ -68495,9 +67622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *472 - - *473 - - &529 + - *456 + - *457 + - &513 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). @@ -68511,14 +67638,14 @@ paths: description: Response content: application/json: - schema: &539 + schema: &523 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &589 + commit: &573 title: Commit description: Commit type: object @@ -68552,7 +67679,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &527 + properties: &511 name: type: string example: '"Chris Wanstrath"' @@ -68567,7 +67694,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *527 + properties: *511 nullable: true message: type: string @@ -68588,7 +67715,7 @@ paths: required: - sha - url - verification: &649 + verification: &633 title: Verification type: object properties: @@ -68622,12 +67749,12 @@ paths: nullable: true oneOf: - *4 - - *295 + - *285 committer: nullable: true oneOf: - *4 - - *295 + - *285 parents: type: array items: @@ -68658,7 +67785,7 @@ paths: type: integer files: type: array - items: &602 + items: &586 title: Diff Entry description: Diff Entry type: object @@ -68742,7 +67869,7 @@ paths: - self protected: type: boolean - protection: *528 + protection: *512 protection_url: type: string format: uri @@ -68849,7 +67976,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *484 + '301': *468 '404': *6 x-github: githubCloudOnly: false @@ -68871,15 +67998,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *528 + schema: *512 examples: default: value: @@ -69073,9 +68200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -69330,7 +68457,7 @@ paths: url: type: string format: uri - required_status_checks: &536 + required_status_checks: &520 title: Status Check Policy description: Status Check Policy type: object @@ -69406,7 +68533,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *303 apps: type: array items: *5 @@ -69424,7 +68551,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *303 apps: type: array items: *5 @@ -69482,7 +68609,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *530 + restrictions: *514 required_conversation_resolution: type: object properties: @@ -69594,9 +68721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -69621,17 +68748,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: &532 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69653,17 +68780,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: *532 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69682,9 +68809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -69709,17 +68836,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *533 + schema: *517 examples: - default: &534 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69815,9 +68942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -69915,9 +69042,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *517 examples: - default: *534 + default: *518 '422': *15 x-github: githubCloudOnly: false @@ -69938,9 +69065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -69967,17 +69094,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: &535 + default: &519 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70000,17 +69127,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: *535 + default: *519 '404': *6 x-github: githubCloudOnly: false @@ -70030,9 +69157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -70057,17 +69184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *536 + schema: *520 examples: - default: &537 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70093,9 +69220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70147,9 +69274,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *520 examples: - default: *537 + default: *521 '404': *6 '422': *15 x-github: @@ -70171,9 +69298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -70197,9 +69324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -70233,9 +69360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70302,9 +69429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70368,9 +69495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: content: application/json: @@ -70436,15 +69563,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *530 + schema: *514 examples: default: value: @@ -70535,9 +69662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -70560,9 +69687,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: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -70572,7 +69699,7 @@ paths: type: array items: *5 examples: - default: &538 + default: &522 value: - id: 1 slug: octoapp @@ -70629,9 +69756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -70665,7 +69792,7 @@ paths: type: array items: *5 examples: - default: *538 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -70686,9 +69813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -70722,7 +69849,7 @@ paths: type: array items: *5 examples: - default: *538 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -70743,9 +69870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -70779,7 +69906,7 @@ paths: type: array items: *5 examples: - default: *538 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -70801,9 +69928,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: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -70811,9 +69938,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -70833,9 +69960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70871,9 +69998,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -70894,9 +70021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70932,9 +70059,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -70955,9 +70082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: content: application/json: @@ -70992,9 +70119,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -71016,9 +70143,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: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -71052,9 +70179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71112,9 +70239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71172,9 +70299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71234,9 +70361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71258,7 +70385,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *523 examples: default: value: @@ -71372,8 +70499,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *472 - - *473 + - *456 + - *457 - *99 - *100 - *101 @@ -71387,9 +70514,9 @@ paths: application/json: schema: type: array - items: *308 + items: *298 examples: - default: *309 + default: *299 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -71409,8 +70536,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_request_number in: path required: true @@ -71424,7 +70551,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *298 examples: default: value: @@ -71483,8 +70610,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - *99 - *100 - *101 @@ -71498,9 +70625,9 @@ paths: application/json: schema: type: array - items: *311 + items: *301 examples: - default: *312 + default: *302 '404': *6 '403': *29 '500': *40 @@ -71524,8 +70651,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_request_number in: path required: true @@ -71537,7 +70664,7 @@ paths: description: A single bypass request. content: application/json: - schema: *311 + schema: *301 examples: default: value: @@ -71595,8 +70722,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_request_number in: path required: true @@ -71667,8 +70794,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_response_id in: path required: true @@ -71701,8 +70828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -71981,7 +71108,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &525 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72100,8 +71227,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *540 - deployment: &867 + items: *524 + deployment: &851 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72381,9 +71508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *472 - - *473 - - &542 + - *456 + - *457 + - &526 name: check_run_id description: The unique identifier of the check run. in: path @@ -72395,9 +71522,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *525 examples: - default: &543 + default: &527 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72497,9 +71624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *472 - - *473 - - *542 + - *456 + - *457 + - *526 requestBody: required: true content: @@ -72739,9 +71866,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *525 examples: - default: *543 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72761,9 +71888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *472 - - *473 - - *542 + - *456 + - *457 + - *526 - *17 - *19 responses: @@ -72858,15 +71985,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *472 - - *473 - - *542 + - *456 + - *457 + - *526 responses: '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -72904,8 +72031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -72927,7 +72054,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &546 + schema: &530 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72991,7 +72118,7 @@ paths: nullable: true pull_requests: type: array - items: *540 + items: *524 nullable: true app: title: GitHub app @@ -73004,7 +72131,7 @@ paths: nullable: true properties: *212 required: *213 - repository: *284 + repository: *274 created_at: type: string format: date-time @@ -73013,12 +72140,12 @@ paths: type: string format: date-time nullable: true - head_commit: &898 + head_commit: &882 title: Simple Commit description: A commit. type: object - properties: *544 - required: *545 + properties: *528 + required: *529 latest_check_runs_count: type: integer check_runs_url: @@ -73046,7 +72173,7 @@ paths: - check_runs_url - pull_requests examples: - default: &547 + default: &531 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73337,9 +72464,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *546 + schema: *530 examples: - default: *547 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73358,8 +72485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -73420,7 +72547,7 @@ paths: required: - app_id - setting - repository: *284 + repository: *274 examples: default: value: @@ -73668,9 +72795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *472 - - *473 - - &548 + - *456 + - *457 + - &532 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73682,9 +72809,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *530 examples: - default: *547 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73707,17 +72834,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: - - *472 - - *473 - - *548 - - &595 + - *456 + - *457 + - *532 + - &579 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &596 + - &580 name: status description: Returns check runs with the specified `status`. in: query @@ -73756,9 +72883,9 @@ paths: type: integer check_runs: type: array - items: *541 + items: *525 examples: - default: &597 + default: &581 value: total_count: 1 check_runs: @@ -73860,15 +72987,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *472 - - *473 - - *548 + - *456 + - *457 + - *532 responses: '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -73895,21 +73022,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: - - *472 - - *473 - - *317 - - *318 + - *456 + - *457 + - *307 + - *308 - *19 - *17 - - &564 + - &548 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: *549 - - &565 + schema: *533 + - &549 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73934,13 +73061,13 @@ paths: be returned. in: query required: false - schema: *319 + schema: *309 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *550 + schema: *534 responses: '200': description: Response @@ -73956,7 +73083,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *551 + instances_url: *535 state: *109 fixed_at: *133 dismissed_by: @@ -73967,11 +73094,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *552 - dismissed_comment: *553 - rule: *554 - tool: *555 - most_recent_instance: *556 + dismissed_reason: *536 + dismissed_comment: *537 + rule: *538 + tool: *539 + most_recent_instance: *540 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74097,7 +73224,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &557 + '403': &541 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74124,9 +73251,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: - - *472 - - *473 - - &558 + - *456 + - *457 + - &542 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74140,7 +73267,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &543 type: object properties: number: *123 @@ -74148,7 +73275,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *551 + instances_url: *535 state: *109 fixed_at: *133 dismissed_by: @@ -74159,8 +73286,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *552 - dismissed_comment: *553 + dismissed_reason: *536 + dismissed_comment: *537 rule: type: object properties: @@ -74214,8 +73341,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *555 - most_recent_instance: *556 + tool: *539 + most_recent_instance: *540 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74314,7 +73441,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74334,9 +73461,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 requestBody: required: true content: @@ -74351,8 +73478,8 @@ paths: enum: - open - dismissed - dismissed_reason: *552 - dismissed_comment: *553 + dismissed_reason: *536 + dismissed_comment: *537 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74371,7 +73498,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *543 examples: default: value: @@ -74447,7 +73574,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &563 + '403': &547 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74474,15 +73601,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 responses: '200': description: Response content: application/json: - schema: &560 + schema: &544 type: object properties: status: @@ -74508,13 +73635,13 @@ paths: - description - started_at examples: - default: &561 + default: &545 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &562 + '400': &546 description: Bad Request content: application/json: @@ -74525,7 +73652,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': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74550,29 +73677,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 responses: '200': description: OK content: application/json: - schema: *560 + schema: *544 examples: - default: *561 + default: *545 '202': description: Accepted content: application/json: - schema: *560 + schema: *544 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *562 + '400': *546 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74604,9 +73731,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 requestBody: required: false content: @@ -74651,8 +73778,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *562 - '403': *563 + '400': *546 + '403': *547 '404': *6 '422': description: Unprocessable Entity @@ -74676,13 +73803,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 - *19 - *17 - - *564 - - *565 + - *548 + - *549 responses: '200': description: Response @@ -74690,7 +73817,7 @@ paths: application/json: schema: type: array - items: *556 + items: *540 examples: default: value: @@ -74729,7 +73856,7 @@ paths: end_column: 50 classifications: - source - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74763,25 +73890,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: - - *472 - - *473 - - *317 - - *318 + - *456 + - *457 + - *307 + - *308 - *19 - *17 - - *565 + - *549 - 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: *549 + schema: *533 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &568 + schema: &552 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74802,23 +73929,23 @@ paths: application/json: schema: type: array - items: &569 + items: &553 type: object properties: - ref: *549 - commit_sha: &577 + ref: *533 + commit_sha: &561 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: *566 + analysis_key: *550 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *567 + category: *551 error: type: string example: error reading field xyz @@ -74842,8 +73969,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *568 - tool: *555 + sarif_id: *552 + tool: *539 deletable: type: boolean warning: @@ -74904,7 +74031,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74940,8 +74067,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: - - *472 - - *473 + - *456 + - *457 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74954,7 +74081,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *553 examples: response: summary: application/json response @@ -75008,7 +74135,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *557 + '403': *541 '404': *6 '422': description: Response if analysis could not be processed @@ -75095,8 +74222,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: - - *472 - - *473 + - *456 + - *457 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75149,7 +74276,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': *563 + '403': *547 '404': *6 '503': *190 x-github: @@ -75171,8 +74298,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -75180,7 +74307,7 @@ paths: application/json: schema: type: array - items: &570 + items: &554 title: CodeQL Database description: A CodeQL database. type: object @@ -75291,7 +74418,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': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -75320,8 +74447,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: - - *472 - - *473 + - *456 + - *457 - name: language in: path description: The language of the CodeQL database. @@ -75333,7 +74460,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *554 examples: default: value: @@ -75365,9 +74492,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': &604 + '302': &588 description: Found - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -75389,8 +74516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *472 - - *473 + - *456 + - *457 - name: language in: path description: The language of the CodeQL database. @@ -75400,7 +74527,7 @@ paths: responses: '204': description: Response - '403': *563 + '403': *547 '404': *6 '503': *190 x-github: @@ -75428,8 +74555,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -75438,7 +74565,7 @@ paths: type: object additionalProperties: false properties: - language: &571 + language: &555 type: string description: The language targeted by the CodeQL query enum: @@ -75518,7 +74645,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &575 + schema: &559 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75528,7 +74655,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *571 + query_language: *555 query_pack_url: type: string description: The download url for the query pack. @@ -75575,7 +74702,7 @@ paths: items: type: object properties: - repository: &572 + repository: &556 title: Repository Identifier description: Repository Identifier type: object @@ -75611,7 +74738,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &576 + analysis_status: &560 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75643,7 +74770,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &573 + access_mismatch_repos: &557 type: object properties: repository_count: @@ -75657,7 +74784,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: *572 + items: *556 required: - repository_count - repositories @@ -75679,8 +74806,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *573 - over_limit_repos: *573 + no_codeql_db_repos: *557 + over_limit_repos: *557 required: - access_mismatch_repos - not_found_repos @@ -75696,7 +74823,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &574 + value: &558 summary: Default response value: id: 1 @@ -75848,10 +74975,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *574 + value: *558 repository_lists: summary: Response for a successful variant analysis submission - value: *574 + value: *558 '404': *6 '422': description: Unable to process variant analysis submission @@ -75879,8 +75006,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: - - *472 - - *473 + - *456 + - *457 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75892,9 +75019,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *559 examples: - default: *574 + default: *558 '404': *6 '503': *190 x-github: @@ -75917,7 +75044,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: - - *472 + - *456 - name: repo in: path description: The name of the controller repository. @@ -75952,7 +75079,7 @@ paths: type: object properties: repository: *115 - analysis_status: *576 + analysis_status: *560 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76077,8 +75204,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -76163,7 +75290,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -76184,8 +75311,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -76252,7 +75379,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -76277,7 +75404,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *563 + '403': *547 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76348,8 +75475,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -76357,7 +75484,7 @@ paths: schema: type: object properties: - commit_sha: *577 + commit_sha: *561 ref: type: string description: |- @@ -76415,7 +75542,7 @@ paths: schema: type: object properties: - id: *568 + id: *552 url: type: string description: The REST API URL for checking the status of the upload. @@ -76429,7 +75556,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': *563 + '403': *547 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76452,8 +75579,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: - - *472 - - *473 + - *456 + - *457 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76499,7 +75626,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': *557 + '403': *541 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -76524,8 +75651,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -76606,8 +75733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *472 - - *473 + - *456 + - *457 - 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 @@ -76727,8 +75854,8 @@ paths: parameters: - *17 - *19 - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -76744,7 +75871,7 @@ paths: type: integer codespaces: type: array - items: *375 + items: *365 examples: default: value: @@ -77042,8 +76169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -77106,17 +76233,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '400': *14 '401': *25 '403': *29 @@ -77145,8 +76272,8 @@ paths: parameters: - *17 - *19 - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -77210,8 +76337,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: - - *472 - - *473 + - *456 + - *457 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77246,14 +76373,14 @@ paths: type: integer machines: type: array - items: &824 + items: &808 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *579 - required: *580 + properties: *563 + required: *564 examples: - default: &825 + default: &809 value: total_count: 2 machines: @@ -77293,8 +76420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *472 - - *473 + - *456 + - *457 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77378,8 +76505,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: - - *472 - - *473 + - *456 + - *457 - 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 @@ -77445,8 +76572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -77464,7 +76591,7 @@ paths: type: integer secrets: type: array - items: &584 + items: &568 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77484,7 +76611,7 @@ paths: - created_at - updated_at examples: - default: *581 + default: *565 headers: Link: *43 x-github: @@ -77507,16 +76634,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *582 + schema: *566 examples: - default: *583 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77536,17 +76663,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '200': description: Response content: application/json: - schema: *584 + schema: *568 examples: - default: *585 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77566,9 +76693,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: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 requestBody: required: true content: @@ -77596,7 +76723,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -77620,9 +76747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '204': description: Response @@ -77650,8 +76777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *472 - - *473 + - *456 + - *457 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77693,7 +76820,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &586 + properties: &570 login: type: string example: octocat @@ -77786,7 +76913,7 @@ paths: user_view_type: type: string example: public - required: &587 + required: &571 - avatar_url - events_url - followers_url @@ -77860,8 +76987,8 @@ 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: - - *472 - - *473 + - *456 + - *457 - *138 responses: '204': @@ -77908,8 +77035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *472 - - *473 + - *456 + - *457 - *138 requestBody: required: false @@ -77936,7 +77063,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &662 + schema: &646 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77947,7 +77074,7 @@ paths: example: 42 type: integer format: int64 - repository: *284 + repository: *274 invitee: title: Simple User description: A GitHub user. @@ -78125,7 +77252,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *259 + schema: *249 '403': *29 x-github: triggersNotification: true @@ -78165,8 +77292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *472 - - *473 + - *456 + - *457 - *138 responses: '204': @@ -78198,8 +77325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *472 - - *473 + - *456 + - *457 - *138 responses: '200': @@ -78220,8 +77347,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *586 - required: *587 + properties: *570 + required: *571 nullable: true required: - permission @@ -78276,8 +77403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -78287,7 +77414,7 @@ paths: application/json: schema: type: array - items: &588 + items: &572 title: Commit Comment description: Commit Comment type: object @@ -78345,7 +77472,7 @@ paths: - created_at - updated_at examples: - default: &591 + default: &575 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78404,17 +77531,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '200': description: Response content: application/json: - schema: *588 + schema: *572 examples: - default: &592 + default: &576 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78471,8 +77598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -78495,7 +77622,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *572 examples: default: value: @@ -78546,8 +77673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '204': @@ -78569,8 +77696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78597,9 +77724,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -78620,8 +77747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -78654,16 +77781,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -78685,10 +77812,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *472 - - *473 + - *456 + - *457 - *226 - - *464 + - *448 responses: '204': description: Response @@ -78737,8 +77864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *472 - - *473 + - *456 + - *457 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78794,9 +77921,9 @@ paths: application/json: schema: type: array - items: *589 + items: *573 examples: - default: &715 + default: &699 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78890,9 +78017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *472 - - *473 - - &590 + - *456 + - *457 + - &574 name: commit_sha description: The SHA of the commit. in: path @@ -78964,9 +78091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 - *17 - *19 responses: @@ -78976,9 +78103,9 @@ paths: application/json: schema: type: array - items: *588 + items: *572 examples: - default: *591 + default: *575 headers: Link: *43 x-github: @@ -79006,9 +78133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 requestBody: required: true content: @@ -79043,9 +78170,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *572 examples: - default: *592 + default: *576 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79073,9 +78200,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: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 - *17 - *19 responses: @@ -79085,9 +78212,9 @@ paths: application/json: schema: type: array - items: *593 + items: *577 examples: - default: &707 + default: &691 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79624,11 +78751,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *472 - - *473 + - *456 + - *457 - *19 - *17 - - &594 + - &578 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)" @@ -79643,9 +78770,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *573 examples: - default: &692 + default: &676 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79758,11 +78885,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: - - *472 - - *473 - - *594 - - *595 - - *596 + - *456 + - *457 + - *578 + - *579 + - *580 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79796,9 +78923,9 @@ paths: type: integer check_runs: type: array - items: *541 + items: *525 examples: - default: *597 + default: *581 headers: Link: *43 x-github: @@ -79823,9 +78950,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: - - *472 - - *473 - - *594 + - *456 + - *457 + - *578 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79833,7 +78960,7 @@ paths: schema: type: integer example: 1 - - *595 + - *579 - *17 - *19 responses: @@ -79851,7 +78978,7 @@ paths: type: integer check_suites: type: array - items: *546 + items: *530 examples: default: value: @@ -80051,9 +79178,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: - - *472 - - *473 - - *594 + - *456 + - *457 + - *578 - *17 - *19 responses: @@ -80120,7 +79247,7 @@ paths: type: string total_count: type: integer - repository: *284 + repository: *274 commit_url: type: string format: uri @@ -80251,9 +79378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *472 - - *473 - - *594 + - *456 + - *457 + - *578 - *17 - *19 responses: @@ -80263,7 +79390,7 @@ paths: application/json: schema: type: array - items: &769 + items: &753 title: Status description: The status of a commit. type: object @@ -80344,7 +79471,7 @@ paths: site_admin: false headers: Link: *43 - '301': *484 + '301': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80372,8 +79499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -80402,20 +79529,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *598 - required: *599 + properties: *582 + required: *583 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &600 + properties: &584 url: type: string format: uri html_url: type: string format: uri - required: &601 + required: &585 - url - html_url nullable: true @@ -80429,26 +79556,26 @@ paths: contributing: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true readme: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true issue_template: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true pull_request_template: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true required: - code_of_conduct @@ -80575,8 +79702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *472 - - *473 + - *456 + - *457 - *19 - *17 - name: basehead @@ -80619,8 +79746,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *589 - merge_base_commit: *589 + base_commit: *573 + merge_base_commit: *573 status: type: string enum: @@ -80640,10 +79767,10 @@ paths: example: 6 commits: type: array - items: *589 + items: *573 files: type: array - items: *602 + items: *586 required: - url - html_url @@ -80929,8 +80056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *472 - - *473 + - *456 + - *457 - name: path description: path parameter in: path @@ -81073,7 +80200,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &603 + response-if-content-is-a-file: &587 summary: Response if content is a file value: type: file @@ -81205,7 +80332,7 @@ paths: - size - type - url - - &720 + - &704 title: Content File description: Content File type: object @@ -81406,7 +80533,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *603 + response-if-content-is-a-file: *587 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81475,7 +80602,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *604 + '302': *588 '304': *37 x-github: githubCloudOnly: false @@ -81498,8 +80625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *472 - - *473 + - *456 + - *457 - name: path description: path parameter in: path @@ -81592,7 +80719,7 @@ paths: description: Response content: application/json: - schema: &605 + schema: &589 title: File Commit description: File Commit type: object @@ -81744,7 +80871,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *589 examples: example-for-creating-a-file: value: @@ -81798,7 +80925,7 @@ paths: schema: oneOf: - *3 - - &644 + - &628 description: Repository rule violation was detected type: object properties: @@ -81819,7 +80946,7 @@ paths: items: type: object properties: - placeholder_id: &761 + placeholder_id: &745 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81851,8 +80978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *472 - - *473 + - *456 + - *457 - name: path description: path parameter in: path @@ -81913,7 +81040,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *589 examples: default: value: @@ -81968,8 +81095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *472 - - *473 + - *456 + - *457 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -82092,22 +81219,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *472 - - *473 - - *333 - - *334 - - *335 - - *336 + - *456 + - *457 + - *323 + - *324 + - *325 + - *326 - 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 - - *337 - - *606 - - *338 - - *339 + - *327 + - *590 + - *328 + - *329 - *106 - name: per_page description: The number of results per page (max 100). For more information, @@ -82126,7 +81253,7 @@ paths: application/json: schema: type: array - items: &609 + items: &593 type: object description: A Dependabot alert. properties: @@ -82172,7 +81299,7 @@ paths: - unknown - direct - transitive - security_advisory: *607 + security_advisory: *591 security_vulnerability: *127 url: *128 html_url: *129 @@ -82203,7 +81330,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *608 + auto_dismissed_at: *592 required: - number - state @@ -82433,9 +81560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *472 - - *473 - - &610 + - *456 + - *457 + - &594 name: alert_number in: path description: |- @@ -82450,7 +81577,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *593 examples: default: value: @@ -82563,9 +81690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *472 - - *473 - - *610 + - *456 + - *457 + - *594 requestBody: required: true content: @@ -82610,7 +81737,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *593 examples: default: value: @@ -82739,8 +81866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -82758,7 +81885,7 @@ paths: type: integer secrets: type: array - items: &613 + items: &597 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82811,16 +81938,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *611 + schema: *595 examples: - default: *612 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82840,15 +81967,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '200': description: Response content: application/json: - schema: *613 + schema: *597 examples: default: value: @@ -82874,9 +82001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 requestBody: required: true content: @@ -82904,7 +82031,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -82928,9 +82055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '204': description: Response @@ -82952,8 +82079,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: - - *472 - - *473 + - *456 + - *457 - 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 @@ -83113,8 +82240,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -83353,8 +82480,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -83429,7 +82556,7 @@ paths: - version - url additionalProperties: false - metadata: &614 + metadata: &598 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83462,7 +82589,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *614 + metadata: *598 resolved: type: object description: A collection of resolved package dependencies. @@ -83475,7 +82602,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *614 + metadata: *598 relationship: type: string description: A notation of whether a dependency is requested @@ -83604,8 +82731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *472 - - *473 + - *456 + - *457 - name: sha description: The SHA recorded at creation time. in: query @@ -83645,9 +82772,9 @@ paths: application/json: schema: type: array - items: *615 + items: *599 examples: - default: *616 + default: *600 headers: Link: *43 x-github: @@ -83713,8 +82840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -83795,7 +82922,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *599 examples: simple-example: summary: Simple example @@ -83868,9 +82995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *472 - - *473 - - &617 + - *456 + - *457 + - &601 name: deployment_id description: deployment_id parameter in: path @@ -83882,7 +83009,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *599 examples: default: value: @@ -83947,9 +83074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 responses: '204': description: Response @@ -83971,9 +83098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 - *17 - *19 responses: @@ -83983,7 +83110,7 @@ paths: application/json: schema: type: array - items: &618 + items: &602 title: Deployment Status description: The status of a deployment. type: object @@ -84144,9 +83271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 requestBody: required: true content: @@ -84221,9 +83348,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *602 examples: - default: &619 + default: &603 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84279,9 +83406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 - name: status_id in: path required: true @@ -84292,9 +83419,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *602 examples: - default: *619 + default: *603 '404': *6 x-github: githubCloudOnly: false @@ -84321,12 +83448,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 - - *620 - - *621 - - *622 - - *623 + - *456 + - *457 + - *604 + - *605 + - *606 + - *607 - *17 - *19 responses: @@ -84336,9 +83463,9 @@ paths: application/json: schema: type: array - items: *624 + items: *608 examples: - default: *625 + default: *609 '404': *6 '403': *29 '500': *40 @@ -84362,8 +83489,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84375,7 +83502,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *624 + schema: *608 examples: default: value: @@ -84431,8 +83558,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84491,12 +83618,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - *99 - *100 - *101 - - *626 + - *610 - *17 - *19 responses: @@ -84506,9 +83633,9 @@ paths: application/json: schema: type: array - items: *627 + items: *611 examples: - default: *628 + default: *612 '404': *6 '403': *29 '500': *40 @@ -84533,8 +83660,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84546,7 +83673,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *627 + schema: *611 examples: default: value: @@ -84604,8 +83731,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84674,8 +83801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -84732,8 +83859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -84750,7 +83877,7 @@ paths: type: integer environments: type: array - items: &630 + items: &614 title: Environment description: Details of a deployment environment type: object @@ -84802,7 +83929,7 @@ paths: type: type: string example: wait_timer - wait_timer: &632 + wait_timer: &616 type: integer example: 30 description: The amount of time to delay a job after @@ -84839,11 +83966,11 @@ paths: items: type: object properties: - type: *629 + type: *613 reviewer: anyOf: - *4 - - *313 + - *303 required: - id - node_id @@ -84863,7 +83990,7 @@ paths: - id - node_id - type - deployment_branch_policy: &633 + deployment_branch_policy: &617 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -84979,9 +84106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *472 - - *473 - - &631 + - *456 + - *457 + - &615 name: environment_name in: path required: true @@ -84994,9 +84121,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: &634 + default: &618 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85080,9 +84207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 requestBody: required: false content: @@ -85091,7 +84218,7 @@ paths: type: object nullable: true properties: - wait_timer: *632 + wait_timer: *616 prevent_self_review: type: boolean example: false @@ -85108,13 +84235,13 @@ paths: items: type: object properties: - type: *629 + type: *613 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *633 + deployment_branch_policy: *617 additionalProperties: false examples: default: @@ -85134,9 +84261,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: *634 + default: *618 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85160,9 +84287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 responses: '204': description: Default response @@ -85187,9 +84314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 - *17 - *19 responses: @@ -85207,7 +84334,7 @@ paths: example: 2 branch_policies: type: array - items: &635 + items: &619 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85264,9 +84391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 requestBody: required: true content: @@ -85312,9 +84439,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *619 examples: - example-wildcard: &636 + example-wildcard: &620 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85356,10 +84483,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 - - &637 + - *456 + - *457 + - *615 + - &621 name: branch_policy_id in: path required: true @@ -85371,9 +84498,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *619 examples: - default: *636 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85392,10 +84519,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 - - *637 + - *456 + - *457 + - *615 + - *621 requestBody: required: true content: @@ -85423,9 +84550,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *619 examples: - default: *636 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85444,10 +84571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 - - *637 + - *456 + - *457 + - *615 + - *621 responses: '204': description: Response @@ -85472,9 +84599,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: - - *631 - - *473 - - *472 + - *615 + - *457 + - *456 responses: '200': description: List of deployment protection rules @@ -85490,7 +84617,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &638 + items: &622 title: Deployment protection rule description: Deployment protection rule type: object @@ -85509,7 +84636,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &639 + app: &623 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85608,9 +84735,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: - - *631 - - *473 - - *472 + - *615 + - *457 + - *456 requestBody: content: application/json: @@ -85631,9 +84758,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *638 + schema: *622 examples: - default: &640 + default: &624 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85668,9 +84795,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: - - *631 - - *473 - - *472 + - *615 + - *457 + - *456 - *19 - *17 responses: @@ -85689,7 +84816,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *639 + items: *623 examples: default: value: @@ -85724,10 +84851,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: - - *472 - - *473 - - *631 - - &641 + - *456 + - *457 + - *615 + - &625 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85739,9 +84866,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *622 examples: - default: *640 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85762,10 +84889,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: - - *631 - - *473 - - *472 - - *641 + - *615 + - *457 + - *456 + - *625 responses: '204': description: Response @@ -85791,9 +84918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 - *17 - *19 responses: @@ -85811,9 +84938,9 @@ paths: type: integer secrets: type: array - items: *507 + items: *491 examples: - default: *508 + default: *492 headers: Link: *43 x-github: @@ -85838,17 +84965,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 responses: '200': description: Response content: application/json: - schema: *509 + schema: *493 examples: - default: *510 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85870,18 +84997,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *472 - - *473 - - *631 - - *294 + - *456 + - *457 + - *615 + - *284 responses: '200': description: Response content: application/json: - schema: *507 + schema: *491 examples: - default: *642 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85903,10 +85030,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *472 - - *473 - - *631 - - *294 + - *456 + - *457 + - *615 + - *284 requestBody: required: true content: @@ -85937,7 +85064,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -85963,10 +85090,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *472 - - *473 - - *631 - - *294 + - *456 + - *457 + - *615 + - *284 responses: '204': description: Default response @@ -85991,10 +85118,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *472 - - *473 - - *631 - - *494 + - *456 + - *457 + - *615 + - *478 - *19 responses: '200': @@ -86011,9 +85138,9 @@ paths: type: integer variables: type: array - items: *511 + items: *495 examples: - default: *512 + default: *496 headers: Link: *43 x-github: @@ -86036,9 +85163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 requestBody: required: true content: @@ -86065,7 +85192,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -86090,18 +85217,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *472 - - *473 - - *631 - - *297 + - *456 + - *457 + - *615 + - *287 responses: '200': description: Response content: application/json: - schema: *511 + schema: *495 examples: - default: *643 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86122,10 +85249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *472 - - *473 - - *297 - - *631 + - *456 + - *457 + - *287 + - *615 requestBody: required: true content: @@ -86167,10 +85294,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *472 - - *473 - - *297 - - *631 + - *456 + - *457 + - *287 + - *615 responses: '204': description: Response @@ -86192,8 +85319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -86261,8 +85388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *472 - - *473 + - *456 + - *457 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86284,7 +85411,7 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: default: value: @@ -86421,8 +85548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -86454,9 +85581,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 '400': *14 '422': *15 '403': *29 @@ -86477,8 +85604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -86537,8 +85664,8 @@ paths: application/json: schema: oneOf: - - *259 - - *644 + - *249 + - *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86563,8 +85690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *472 - - *473 + - *456 + - *457 - name: file_sha in: path required: true @@ -86663,8 +85790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -86773,7 +85900,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &629 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86987,15 +86114,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 responses: '200': description: Response content: application/json: - schema: *645 + schema: *629 examples: default: value: @@ -87051,9 +86178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *472 - - *473 - - &646 + - *456 + - *457 + - &630 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. @@ -87070,7 +86197,7 @@ paths: application/json: schema: type: array - items: &647 + items: &631 title: Git Reference description: Git references within a repository type: object @@ -87145,17 +86272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *472 - - *473 - - *646 + - *456 + - *457 + - *630 responses: '200': description: Response content: application/json: - schema: *647 + schema: *631 examples: - default: &648 + default: &632 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87184,8 +86311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -87214,9 +86341,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *631 examples: - default: *648 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87242,9 +86369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *472 - - *473 - - *646 + - *456 + - *457 + - *630 requestBody: required: true content: @@ -87273,9 +86400,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *631 examples: - default: *648 + default: *632 '422': *15 '409': *114 x-github: @@ -87293,9 +86420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *472 - - *473 - - *646 + - *456 + - *457 + - *630 responses: '204': description: Response @@ -87350,8 +86477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -87418,7 +86545,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &634 title: Git Tag description: Metadata for a Git tag type: object @@ -87469,7 +86596,7 @@ paths: - sha - type - url - verification: *649 + verification: *633 required: - sha - url @@ -87479,7 +86606,7 @@ paths: - tag - message examples: - default: &651 + default: &635 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87552,8 +86679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *472 - - *473 + - *456 + - *457 - name: tag_sha in: path required: true @@ -87564,9 +86691,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *634 examples: - default: *651 + default: *635 '404': *6 '409': *114 x-github: @@ -87590,8 +86717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -87664,7 +86791,7 @@ paths: description: Response content: application/json: - schema: &652 + schema: &636 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87760,8 +86887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *472 - - *473 + - *456 + - *457 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87784,7 +86911,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *636 examples: default-response: summary: Default response @@ -87843,8 +86970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -87854,7 +86981,7 @@ paths: application/json: schema: type: array - items: &653 + items: &637 title: Webhook description: Webhooks for repositories. type: object @@ -87908,7 +87035,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &906 + last_response: &890 title: Hook Response type: object properties: @@ -87982,8 +87109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -88035,9 +87162,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *637 examples: - default: &654 + default: &638 value: type: Repository id: 12345678 @@ -88085,17 +87212,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '200': description: Response content: application/json: - schema: *653 + schema: *637 examples: - default: *654 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -88115,9 +87242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 requestBody: required: true content: @@ -88162,9 +87289,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *637 examples: - default: *654 + default: *638 '422': *15 '404': *6 x-github: @@ -88185,9 +87312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '204': description: Response @@ -88211,9 +87338,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '200': description: Response @@ -88240,9 +87367,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 requestBody: required: false content: @@ -88286,11 +87413,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 - *17 - - *348 + - *338 responses: '200': description: Response @@ -88298,9 +87425,9 @@ paths: application/json: schema: type: array - items: *349 + items: *339 examples: - default: *350 + default: *340 '400': *14 '422': *15 x-github: @@ -88319,18 +87446,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 - *16 responses: '200': description: Response content: application/json: - schema: *351 + schema: *341 examples: - default: *352 + default: *342 '400': *14 '422': *15 x-github: @@ -88349,9 +87476,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 - *16 responses: '202': *39 @@ -88374,9 +87501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '204': description: Response @@ -88401,9 +87528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '204': description: Response @@ -88426,8 +87553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response if immutable releases are enabled @@ -88473,8 +87600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '409': *114 @@ -88494,8 +87621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '409': *114 @@ -88552,14 +87679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: &655 + schema: &639 title: Import description: A repository import from an external source. type: object @@ -88658,7 +87785,7 @@ paths: - html_url - authors_url examples: - default: &658 + default: &642 value: vcs: subversion use_lfs: true @@ -88674,7 +87801,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': &656 + '503': &640 description: Unavailable due to service under maintenance. content: application/json: @@ -88703,8 +87830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -88752,7 +87879,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *639 examples: default: value: @@ -88777,7 +87904,7 @@ paths: type: string '422': *15 '404': *6 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88805,8 +87932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -88855,7 +87982,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *639 examples: example-1: summary: Example 1 @@ -88903,7 +88030,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': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88926,12 +88053,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88957,9 +88084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *472 - - *473 - - &846 + - *456 + - *457 + - &830 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88973,7 +88100,7 @@ paths: application/json: schema: type: array - items: &657 + items: &641 title: Porter Author description: Porter Author type: object @@ -89027,7 +88154,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': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89052,8 +88179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *472 - - *473 + - *456 + - *457 - name: author_id in: path required: true @@ -89083,7 +88210,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *641 examples: default: value: @@ -89096,7 +88223,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89120,8 +88247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -89162,7 +88289,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89190,8 +88317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -89218,11 +88345,11 @@ paths: description: Response content: application/json: - schema: *655 + schema: *639 examples: - default: *658 + default: *642 '422': *15 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89245,8 +88372,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -89254,8 +88381,8 @@ paths: application/json: schema: *22 examples: - default: *659 - '301': *484 + default: *643 + '301': *468 '404': *6 x-github: githubCloudOnly: false @@ -89275,8 +88402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -89284,12 +88411,12 @@ paths: application/json: schema: anyOf: - - *365 + - *355 - type: object properties: {} additionalProperties: false examples: - default: &661 + default: &645 value: limit: collaborators_only origin: repository @@ -89314,13 +88441,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: application/json: - schema: *660 + schema: *644 examples: default: summary: Example request body @@ -89332,9 +88459,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: - default: *661 + default: *645 '409': description: Response x-github: @@ -89356,8 +88483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -89380,8 +88507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -89391,9 +88518,9 @@ paths: application/json: schema: type: array - items: *662 + items: *646 examples: - default: &839 + default: &823 value: - id: 1 repository: @@ -89524,9 +88651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *472 - - *473 - - *369 + - *456 + - *457 + - *359 requestBody: required: false content: @@ -89555,7 +88682,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *646 examples: default: value: @@ -89686,9 +88813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *472 - - *473 - - *369 + - *456 + - *457 + - *359 responses: '204': description: Response @@ -89719,8 +88846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *472 - - *473 + - *456 + - *457 - 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 @@ -89768,7 +88895,7 @@ paths: required: false schema: type: string - - *373 + - *363 - name: sort description: What to sort results by. in: query @@ -89793,7 +88920,7 @@ paths: type: array items: *227 examples: - default: &672 + default: &656 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89941,7 +89068,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *484 + '301': *468 '422': *15 '404': *6 x-github: @@ -89970,8 +89097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -90055,7 +89182,7 @@ paths: application/json: schema: *227 examples: - default: &669 + default: &653 value: id: 1 node_id: MDU6SXNzdWUx @@ -90211,7 +89338,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *663 + '410': *647 x-github: triggersNotification: true githubCloudOnly: false @@ -90239,8 +89366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *237 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90261,9 +89388,9 @@ paths: application/json: schema: type: array - items: *664 + items: *648 examples: - default: &671 + default: &655 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90321,17 +89448,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '200': description: Response content: application/json: - schema: *664 + schema: *648 examples: - default: &665 + default: &649 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90385,8 +89512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -90409,9 +89536,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *648 examples: - default: *665 + default: *649 '422': *15 x-github: githubCloudOnly: false @@ -90429,8 +89556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '204': @@ -90451,8 +89578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90479,9 +89606,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -90502,8 +89629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -90536,16 +89663,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -90567,10 +89694,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *472 - - *473 + - *456 + - *457 - *226 - - *464 + - *448 responses: '204': description: Response @@ -90590,8 +89717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -90601,7 +89728,7 @@ paths: application/json: schema: type: array - items: &668 + items: &652 title: Issue Event description: Issue Event type: object @@ -90644,8 +89771,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *666 - required: *667 + properties: *650 + required: *651 nullable: true label: title: Issue Event Label @@ -90689,7 +89816,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *313 + requested_team: *303 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90952,8 +90079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *472 - - *473 + - *456 + - *457 - name: event_id in: path required: true @@ -90964,7 +90091,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *652 examples: default: value: @@ -91157,7 +90284,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *663 + '410': *647 '403': *29 x-github: githubCloudOnly: false @@ -91191,9 +90318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *472 - - *473 - - &670 + - *456 + - *457 + - &654 name: issue_number description: The number that identifies the issue. in: path @@ -91207,10 +90334,10 @@ paths: application/json: schema: *227 examples: - default: *669 - '301': *484 + default: *653 + '301': *468 '404': *6 - '410': *663 + '410': *647 '304': *37 x-github: githubCloudOnly: false @@ -91235,9 +90362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -91343,13 +90470,13 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 '422': *15 '503': *190 '403': *29 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91367,9 +90494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -91397,7 +90524,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91413,9 +90540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: content: application/json: @@ -91442,7 +90569,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91464,9 +90591,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - name: assignee in: path required: true @@ -91506,9 +90633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *217 - *17 - *19 @@ -91519,13 +90646,13 @@ paths: application/json: schema: type: array - items: *664 + items: *648 examples: - default: *671 + default: *655 headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91554,9 +90681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -91578,16 +90705,16 @@ paths: description: Response content: application/json: - schema: *664 + schema: *648 examples: - default: *665 + default: *649 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *663 + '410': *647 '422': *15 '404': *6 x-github: @@ -91615,9 +90742,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -91629,12 +90756,12 @@ paths: type: array items: *227 examples: - default: *672 + default: *656 headers: Link: *43 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91662,9 +90789,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -91688,15 +90815,15 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *484 + '301': *468 '403': *29 - '410': *663 + '410': *647 '422': *15 '404': *6 x-github: @@ -91727,9 +90854,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91743,13 +90870,13 @@ paths: application/json: schema: *227 examples: - default: *669 - '301': *484 + default: *653 + '301': *468 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *647 x-github: triggersNotification: true githubCloudOnly: false @@ -91775,9 +90902,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -91789,12 +90916,12 @@ paths: type: array items: *227 examples: - default: *672 + default: *656 headers: Link: *43 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91811,9 +90938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -91827,7 +90954,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &675 + - &659 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91881,7 +91008,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &660 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92017,7 +91144,7 @@ paths: - performed_via_github_app - assignee - assigner - - &677 + - &661 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92068,7 +91195,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &662 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92119,7 +91246,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &663 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92173,7 +91300,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &664 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92207,7 +91334,7 @@ paths: properties: *212 required: *213 review_requester: *4 - requested_team: *313 + requested_team: *303 requested_reviewer: *4 required: - review_requester @@ -92220,7 +91347,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &665 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92254,7 +91381,7 @@ paths: properties: *212 required: *213 review_requester: *4 - requested_team: *313 + requested_team: *303 requested_reviewer: *4 required: - review_requester @@ -92267,7 +91394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &666 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92327,7 +91454,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &667 title: Locked Issue Event description: Locked Issue Event type: object @@ -92375,7 +91502,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &668 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92441,7 +91568,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &669 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92507,7 +91634,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &686 + - &670 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92573,7 +91700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &687 + - &671 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92664,7 +91791,7 @@ paths: color: red headers: Link: *43 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92681,9 +91808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -92693,7 +91820,7 @@ paths: application/json: schema: type: array - items: &673 + items: &657 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -92740,7 +91867,7 @@ paths: - color - default examples: - default: &674 + default: &658 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92758,9 +91885,9 @@ paths: default: false headers: Link: *43 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92777,9 +91904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -92838,12 +91965,12 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 - '301': *484 + default: *658 + '301': *468 '404': *6 - '410': *663 + '410': *647 '422': *15 x-github: githubCloudOnly: false @@ -92860,9 +91987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -92922,12 +92049,12 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 - '301': *484 + default: *658 + '301': *468 '404': *6 - '410': *663 + '410': *647 '422': *15 x-github: githubCloudOnly: false @@ -92944,15 +92071,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 responses: '204': description: Response - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92971,9 +92098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - name: name in: path required: true @@ -92986,7 +92113,7 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: default: value: @@ -92997,9 +92124,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93019,9 +92146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -93049,7 +92176,7 @@ paths: '204': description: Response '403': *29 - '410': *663 + '410': *647 '404': *6 '422': *15 x-github: @@ -93067,9 +92194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 responses: '204': description: Response @@ -93099,9 +92226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 responses: '200': description: Response @@ -93109,10 +92236,10 @@ paths: application/json: schema: *227 examples: - default: *669 - '301': *484 + default: *653 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93129,9 +92256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - 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. @@ -93157,13 +92284,13 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93181,9 +92308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93215,16 +92342,16 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -93246,10 +92373,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *472 - - *473 - - *670 - - *464 + - *456 + - *457 + - *654 + - *448 responses: '204': description: Response @@ -93278,9 +92405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93304,7 +92431,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -93337,9 +92464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -93351,11 +92478,11 @@ paths: type: array items: *227 examples: - default: *672 + default: *656 headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93383,9 +92510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93414,14 +92541,14 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *663 + '410': *647 '422': *15 '404': *6 x-github: @@ -93441,9 +92568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93476,7 +92603,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 '403': *29 '404': *6 '422': *7 @@ -93498,9 +92625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -93515,19 +92642,19 @@ paths: description: Timeline Event type: object anyOf: - - *675 - - *676 - - *677 - - *678 - - *679 - - *680 - - *681 - - *682 - - *683 - - *684 - - *685 - - *686 - - *687 + - *659 + - *660 + - *661 + - *662 + - *663 + - *664 + - *665 + - *666 + - *667 + - *668 + - *669 + - *670 + - *671 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93836,7 +92963,7 @@ paths: type: string comments: type: array - items: &709 + items: &693 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94045,7 +93172,7 @@ paths: type: string comments: type: array - items: *588 + items: *572 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94334,7 +93461,7 @@ paths: headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94351,8 +93478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -94362,7 +93489,7 @@ paths: application/json: schema: type: array - items: &688 + items: &672 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94428,8 +93555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -94465,9 +93592,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *672 examples: - default: &689 + default: &673 value: id: 1 key: ssh-rsa AAA... @@ -94501,9 +93628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *472 - - *473 - - &690 + - *456 + - *457 + - &674 name: key_id description: The unique identifier of the key. in: path @@ -94515,9 +93642,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *672 examples: - default: *689 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -94535,9 +93662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *472 - - *473 - - *690 + - *456 + - *457 + - *674 responses: '204': description: Response @@ -94557,8 +93684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -94568,9 +93695,9 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 + default: *658 headers: Link: *43 '404': *6 @@ -94591,8 +93718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -94628,9 +93755,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *657 examples: - default: &691 + default: &675 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94662,8 +93789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *472 - - *473 + - *456 + - *457 - name: name in: path required: true @@ -94674,9 +93801,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *657 examples: - default: *691 + default: *675 '404': *6 x-github: githubCloudOnly: false @@ -94693,8 +93820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *472 - - *473 + - *456 + - *457 - name: name in: path required: true @@ -94733,7 +93860,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *657 examples: default: value: @@ -94759,8 +93886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *472 - - *473 + - *456 + - *457 - name: name in: path required: true @@ -94786,8 +93913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -94823,8 +93950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '202': *39 '403': @@ -94852,8 +93979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -94879,9 +94006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *472 - - *473 - - *564 + - *456 + - *457 + - *548 responses: '200': description: Response @@ -95026,8 +94153,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95092,8 +94219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95127,9 +94254,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *589 + schema: *573 examples: - default: *692 + default: *676 '204': description: Response when already merged '404': @@ -95154,8 +94281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *472 - - *473 + - *456 + - *457 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95196,12 +94323,12 @@ paths: application/json: schema: type: array - items: &693 + items: &677 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 examples: default: value: @@ -95257,8 +94384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95298,9 +94425,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *677 examples: - default: &694 + default: &678 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95359,9 +94486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *472 - - *473 - - &695 + - *456 + - *457 + - &679 name: milestone_number description: The number that identifies the milestone. in: path @@ -95373,9 +94500,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *677 examples: - default: *694 + default: *678 '404': *6 x-github: githubCloudOnly: false @@ -95392,9 +94519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *472 - - *473 - - *695 + - *456 + - *457 + - *679 requestBody: required: false content: @@ -95432,9 +94559,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *677 examples: - default: *694 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95450,9 +94577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *472 - - *473 - - *695 + - *456 + - *457 + - *679 responses: '204': description: Response @@ -95473,9 +94600,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: - - *472 - - *473 - - *695 + - *456 + - *457 + - *679 - *17 - *19 responses: @@ -95485,9 +94612,9 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 + default: *658 headers: Link: *43 x-github: @@ -95506,12 +94633,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: - - *472 - - *473 - - *696 - - *697 + - *456 + - *457 + - *680 + - *681 - *217 - - *698 + - *682 - *17 - *19 responses: @@ -95523,7 +94650,7 @@ paths: type: array items: *240 examples: - default: *699 + default: *683 headers: Link: *43 x-github: @@ -95547,8 +94674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -95606,14 +94733,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: &700 + schema: &684 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95738,7 +94865,7 @@ paths: - custom_404 - public examples: - default: &701 + default: &685 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95779,8 +94906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95834,9 +94961,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *684 examples: - default: *701 + default: *685 '422': *15 '409': *114 x-github: @@ -95859,8 +94986,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95967,8 +95094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -95994,8 +95121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -96005,7 +95132,7 @@ paths: application/json: schema: type: array - items: &702 + items: &686 title: Page Build description: Page Build type: object @@ -96099,8 +95226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *472 - - *473 + - *456 + - *457 responses: '201': description: Response @@ -96145,16 +95272,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *702 + schema: *686 examples: - default: &703 + default: &687 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96202,8 +95329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *472 - - *473 + - *456 + - *457 - name: build_id in: path required: true @@ -96214,9 +95341,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *686 examples: - default: *703 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96236,8 +95363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -96342,9 +95469,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: - - *472 - - *473 - - &704 + - *456 + - *457 + - &688 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96402,9 +95529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *472 - - *473 - - *704 + - *456 + - *457 + - *688 responses: '204': *150 '404': *6 @@ -96431,8 +95558,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -96663,7 +95790,7 @@ paths: description: Empty response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -96690,8 +95817,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Private vulnerability reporting status @@ -96728,8 +95855,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: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '422': *14 @@ -96750,8 +95877,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: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '422': *14 @@ -96773,8 +95900,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -96784,7 +95911,7 @@ paths: type: array items: *151 examples: - default: *705 + default: *689 '403': *29 '404': *6 x-github: @@ -96806,8 +95933,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -96823,7 +95950,7 @@ paths: required: - properties examples: - default: *706 + default: *690 responses: '204': description: No Content when custom property values are successfully created @@ -96861,8 +95988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96922,9 +96049,9 @@ paths: application/json: schema: type: array - items: *593 + items: *577 examples: - default: *707 + default: *691 headers: Link: *43 '304': *37 @@ -96956,8 +96083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -97022,7 +96149,7 @@ paths: description: Response content: application/json: - schema: &711 + schema: &695 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97133,8 +96260,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 nullable: true active_lock_reason: type: string @@ -97179,7 +96306,7 @@ paths: nullable: true requested_teams: type: array - items: *439 + items: *429 nullable: true head: type: object @@ -97218,14 +96345,14 @@ paths: _links: type: object properties: - comments: *407 - commits: *407 - statuses: *407 - html: *407 - issue: *407 - review_comments: *407 - review_comment: *407 - self: *407 + comments: *397 + commits: *397 + statuses: *397 + html: *397 + issue: *397 + review_comments: *397 + review_comment: *397 + self: *397 required: - comments - commits @@ -97236,7 +96363,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *708 + auto_merge: *692 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -97328,7 +96455,7 @@ paths: - merged_by - review_comments examples: - default: &712 + default: &696 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97855,8 +96982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - name: sort in: query required: false @@ -97885,9 +97012,9 @@ paths: application/json: schema: type: array - items: *709 + items: *693 examples: - default: &714 + default: &698 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97964,17 +97091,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: - - *472 - - *473 + - *456 + - *457 - *226 responses: '200': description: Response content: application/json: - schema: *709 + schema: *693 examples: - default: &710 + default: &694 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98049,8 +97176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -98073,9 +97200,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *693 examples: - default: *710 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98091,8 +97218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '204': @@ -98114,8 +97241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98142,9 +97269,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -98165,8 +97292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -98199,16 +97326,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -98230,10 +97357,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *472 - - *473 + - *456 + - *457 - *226 - - *464 + - *448 responses: '204': description: Response @@ -98276,9 +97403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *472 - - *473 - - &713 + - *456 + - *457 + - &697 name: pull_number description: The number that identifies the pull request. in: path @@ -98291,9 +97418,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *711 + schema: *695 examples: - default: *712 + default: *696 '304': *37 '404': *6 '406': @@ -98328,9 +97455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -98372,9 +97499,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *695 examples: - default: *712 + default: *696 '422': *15 '403': *29 x-github: @@ -98396,9 +97523,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: true content: @@ -98458,17 +97585,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '401': *25 '403': *29 '404': *6 @@ -98498,9 +97625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *237 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98521,9 +97648,9 @@ paths: application/json: schema: type: array - items: *709 + items: *693 examples: - default: *714 + default: *698 headers: Link: *43 x-github: @@ -98556,9 +97683,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: true content: @@ -98663,7 +97790,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *693 examples: example-for-a-multi-line-comment: value: @@ -98751,9 +97878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *226 requestBody: required: true @@ -98776,7 +97903,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *693 examples: default: value: @@ -98862,9 +97989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *17 - *19 responses: @@ -98874,9 +98001,9 @@ paths: application/json: schema: type: array - items: *589 + items: *573 examples: - default: *715 + default: *699 headers: Link: *43 x-github: @@ -98906,9 +98033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *17 - *19 responses: @@ -98918,7 +98045,7 @@ paths: application/json: schema: type: array - items: *602 + items: *586 examples: default: value: @@ -98956,9 +98083,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 responses: '204': description: Response if pull request has been merged @@ -98981,9 +98108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -99094,9 +98221,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 responses: '200': description: Response @@ -99112,7 +98239,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *303 required: - users - teams @@ -99171,9 +98298,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -99210,7 +98337,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *577 examples: default: value: @@ -99746,9 +98873,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: true content: @@ -99782,7 +98909,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *577 examples: default: value: @@ -100287,9 +99414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *17 - *19 responses: @@ -100299,7 +99426,7 @@ paths: application/json: schema: type: array - items: &716 + items: &700 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100450,9 +99577,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -100538,9 +99665,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: &718 + default: &702 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100603,10 +99730,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: - - *472 - - *473 - - *713 - - &717 + - *456 + - *457 + - *697 + - &701 name: review_id description: The unique identifier of the review. in: path @@ -100618,9 +99745,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: &719 + default: &703 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100679,10 +99806,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 requestBody: required: true content: @@ -100705,7 +99832,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: default: value: @@ -100767,18 +99894,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 responses: '200': description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: *718 + default: *702 '422': *7 '404': *6 x-github: @@ -100805,10 +99932,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 - *17 - *19 responses: @@ -100891,9 +100018,9 @@ paths: _links: type: object properties: - self: *407 - html: *407 - pull_request: *407 + self: *397 + html: *397 + pull_request: *397 required: - self - html @@ -101043,10 +100170,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 requestBody: required: true content: @@ -101074,7 +100201,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: default: value: @@ -101137,10 +100264,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 requestBody: required: true content: @@ -101175,9 +100302,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: *719 + default: *703 '404': *6 '422': *7 '403': *29 @@ -101199,9 +100326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -101264,8 +100391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *472 - - *473 + - *456 + - *457 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101278,9 +100405,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *704 examples: - default: &721 + default: &705 value: type: file encoding: base64 @@ -101322,8 +100449,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: - - *472 - - *473 + - *456 + - *457 - name: dir description: The alternate path to look for a README file in: path @@ -101343,9 +100470,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *704 examples: - default: *721 + default: *705 '404': *6 '422': *15 x-github: @@ -101367,8 +100494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -101378,7 +100505,7 @@ paths: application/json: schema: type: array - items: &722 + items: &706 title: Release description: A release. type: object @@ -101449,7 +100576,7 @@ paths: author: *4 assets: type: array - items: &723 + items: &707 title: Release Asset description: Data related to a release. type: object @@ -101636,8 +100763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -101713,9 +100840,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: &726 + default: &710 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101820,9 +100947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *472 - - *473 - - &724 + - *456 + - *457 + - &708 name: asset_id description: The unique identifier of the asset. in: path @@ -101834,9 +100961,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *707 examples: - default: &725 + default: &709 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 @@ -101871,7 +100998,7 @@ paths: type: User site_admin: false '404': *6 - '302': *604 + '302': *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101887,9 +101014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *472 - - *473 - - *724 + - *456 + - *457 + - *708 requestBody: required: false content: @@ -101917,9 +101044,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *707 examples: - default: *725 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101935,9 +101062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *472 - - *473 - - *724 + - *456 + - *457 + - *708 responses: '204': description: Response @@ -101961,8 +101088,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -102047,16 +101174,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: *726 + default: *710 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102073,8 +101200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *472 - - *473 + - *456 + - *457 - name: tag description: tag parameter in: path @@ -102087,9 +101214,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: *726 + default: *710 '404': *6 x-github: githubCloudOnly: false @@ -102111,9 +101238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *472 - - *473 - - &727 + - *456 + - *457 + - &711 name: release_id description: The unique identifier of the release. in: path @@ -102127,9 +101254,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: *722 + schema: *706 examples: - default: *726 + default: *710 '401': description: Unauthorized x-github: @@ -102147,9 +101274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 requestBody: required: false content: @@ -102213,9 +101340,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: *726 + default: *710 '404': description: Not Found if the discussion category name is invalid content: @@ -102236,9 +101363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 responses: '204': description: Response @@ -102258,9 +101385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 - *17 - *19 responses: @@ -102270,7 +101397,7 @@ paths: application/json: schema: type: array - items: *723 + items: *707 examples: default: value: @@ -102352,9 +101479,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: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 - name: name in: query required: true @@ -102380,7 +101507,7 @@ paths: description: Response for successful upload content: application/json: - schema: *723 + schema: *707 examples: response-for-successful-upload: value: @@ -102435,9 +101562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 - 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. @@ -102461,9 +101588,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -102484,9 +101611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 requestBody: required: true content: @@ -102516,16 +101643,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -102547,10 +101674,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *472 - - *473 - - *727 - - *464 + - *456 + - *457 + - *711 + - *448 responses: '204': description: Response @@ -102574,9 +101701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 - *17 - *19 responses: @@ -102593,7 +101720,7 @@ paths: oneOf: - allOf: - *165 - - &728 + - &712 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102614,67 +101741,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *728 + - *712 - allOf: - *167 - - *728 + - *712 - allOf: - *168 - - *728 + - *712 - allOf: - - *729 - - *728 + - *713 + - *712 - allOf: - *169 - - *728 + - *712 - allOf: - *170 - - *728 + - *712 - allOf: - *171 - - *728 + - *712 - allOf: - *172 - - *728 + - *712 - allOf: - *173 - - *728 + - *712 - allOf: - *174 - - *728 + - *712 - allOf: - *175 - - *728 + - *712 - allOf: - *176 - - *728 + - *712 - allOf: - *177 - - *728 + - *712 - allOf: - *178 - - *728 + - *712 - allOf: - *179 - - *728 + - *712 - allOf: - *180 - - *728 + - *712 - allOf: - *181 - - *728 + - *712 - allOf: - *182 - - *728 + - *712 - allOf: - *183 - - *728 + - *712 - allOf: - *184 - - *728 + - *712 - allOf: - - *730 - - *728 + - *714 + - *712 examples: default: value: @@ -102713,8 +101840,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - name: includes_parents @@ -102725,7 +101852,7 @@ paths: schema: type: boolean default: true - - *731 + - *715 responses: '200': description: Response @@ -102780,8 +101907,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 requestBody: description: Request body required: true @@ -102810,7 +101937,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *732 + items: *716 required: - name - enforcement @@ -102843,7 +101970,7 @@ paths: application/json: schema: *185 examples: - default: &741 + default: &725 value: id: 42 name: super cool ruleset @@ -102890,12 +102017,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *472 - - *473 - - *733 + - *456 + - *457 + - *717 - *101 - - *734 - - *735 + - *718 + - *719 - *17 - *19 responses: @@ -102903,9 +102030,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *720 examples: - default: *737 + default: *721 '404': *6 '500': *40 x-github: @@ -102926,17 +102053,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *472 - - *473 - - *738 + - *456 + - *457 + - *722 responses: '200': description: Response content: application/json: - schema: *739 + schema: *723 examples: - default: *740 + default: *724 '404': *6 '500': *40 x-github: @@ -102964,8 +102091,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102987,7 +102114,7 @@ paths: application/json: schema: *185 examples: - default: *741 + default: *725 '404': *6 '500': *40 put: @@ -103005,8 +102132,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103040,7 +102167,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *732 + items: *716 examples: default: value: @@ -103070,7 +102197,7 @@ paths: application/json: schema: *185 examples: - default: *741 + default: *725 '404': *6 '500': *40 delete: @@ -103088,8 +102215,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103112,8 +102239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - name: ruleset_id @@ -103131,7 +102258,7 @@ paths: type: array items: *189 examples: - default: *424 + default: *414 '404': *6 '500': *40 x-github: @@ -103150,8 +102277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103169,7 +102296,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: default: value: @@ -103224,21 +102351,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: - - *472 - - *473 - - *426 - - *427 - - *428 - - *429 + - *456 + - *457 + - *416 + - *417 + - *418 + - *419 - *106 - *19 - *17 - - *742 - - *743 - - *430 - - *431 - - *432 - - *433 + - *726 + - *727 + - *420 + - *421 + - *422 + - *423 responses: '200': description: Response @@ -103246,7 +102373,7 @@ paths: application/json: schema: type: array - items: &747 + items: &731 type: object properties: number: *123 @@ -103265,8 +102392,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *744 - resolution: *745 + state: *728 + resolution: *729 resolved_at: type: string format: date-time @@ -103362,7 +102489,7 @@ paths: pull request. ' - oneOf: *746 + oneOf: *730 nullable: true has_more_locations: type: boolean @@ -103511,16 +102638,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: - - *472 - - *473 - - *558 - - *433 + - *456 + - *457 + - *542 + - *423 responses: '200': description: Response content: application/json: - schema: *747 + schema: *731 examples: default: value: @@ -103572,9 +102699,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 requestBody: required: true content: @@ -103582,8 +102709,8 @@ paths: schema: type: object properties: - state: *744 - resolution: *745 + state: *728 + resolution: *729 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103602,7 +102729,7 @@ paths: description: Response content: application/json: - schema: *747 + schema: *731 examples: default: value: @@ -103677,9 +102804,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 - *19 - *17 responses: @@ -103690,7 +102817,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &928 + items: &912 type: object properties: type: @@ -103716,19 +102843,19 @@ paths: example: commit details: oneOf: - - *748 - - *749 - - *750 - - *751 - - *752 - - *753 - - *754 - - *755 - - *756 - - *757 - - *758 - - *759 - - *760 + - *732 + - *733 + - *734 + - *735 + - *736 + - *737 + - *738 + - *739 + - *740 + - *741 + - *742 + - *743 + - *744 examples: default: value: @@ -103814,8 +102941,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -103823,14 +102950,14 @@ paths: schema: type: object properties: - reason: &762 + reason: &746 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *761 + placeholder_id: *745 required: - reason - placeholder_id @@ -103847,7 +102974,7 @@ paths: schema: type: object properties: - reason: *762 + reason: *746 expire_at: type: string format: date-time @@ -103893,8 +103020,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: - - *472 - - *473 + - *456 + - *457 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103909,7 +103036,7 @@ paths: properties: incremental_scans: type: array - items: &763 + items: &747 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103935,15 +103062,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *763 + items: *747 backfill_scans: type: array - items: *763 + items: *747 custom_pattern_backfill_scans: type: array items: allOf: - - *763 + - *747 - type: object properties: pattern_name: @@ -104013,8 +103140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *472 - - *473 + - *456 + - *457 - *106 - name: sort description: The property to sort the results by. @@ -104058,9 +103185,9 @@ paths: application/json: schema: type: array - items: *764 + items: *748 examples: - default: *765 + default: *749 '400': *14 '404': *6 x-github: @@ -104083,8 +103210,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -104157,7 +103284,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *428 required: - login - type @@ -104244,9 +103371,9 @@ paths: description: Response content: application/json: - schema: *764 + schema: *748 examples: - default: &767 + default: &751 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104479,8 +103606,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -104584,7 +103711,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *748 examples: default: value: @@ -104731,17 +103858,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 responses: '200': description: Response content: application/json: - schema: *764 + schema: *748 examples: - default: *767 + default: *751 '403': *29 '404': *6 x-github: @@ -104765,9 +103892,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 requestBody: required: true content: @@ -104840,7 +103967,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *428 required: - login - type @@ -104926,17 +104053,17 @@ paths: description: Response content: application/json: - schema: *764 + schema: *748 examples: - default: *767 - add_credit: *767 + default: *751 + add_credit: *751 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *259 + schema: *249 examples: invalid_state_transition: value: @@ -104967,9 +104094,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 responses: '202': *39 '400': *14 @@ -104996,17 +104123,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 responses: '202': description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 '400': *14 '422': *15 '403': *29 @@ -105032,8 +104159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -105132,8 +104259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105142,7 +104269,7 @@ paths: application/json: schema: type: array - items: &768 + items: &752 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105175,8 +104302,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -105252,8 +104379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -105349,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105504,8 +104631,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105515,7 +104642,7 @@ paths: application/json: schema: type: array - items: *768 + items: *752 examples: default: value: @@ -105548,8 +104675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *472 - - *473 + - *456 + - *457 - name: sha in: path required: true @@ -105603,7 +104730,7 @@ paths: description: Response content: application/json: - schema: *769 + schema: *753 examples: default: value: @@ -105657,8 +104784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -105690,14 +104817,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &770 + schema: &754 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105765,8 +104892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -105792,7 +104919,7 @@ paths: description: Response content: application/json: - schema: *770 + schema: *754 examples: default: value: @@ -105819,8 +104946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -105840,8 +104967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -105920,8 +105047,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -105929,7 +105056,7 @@ paths: application/json: schema: type: array - items: &771 + items: &755 title: Tag protection description: Tag protection type: object @@ -105981,8 +105108,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -106005,7 +105132,7 @@ paths: description: Response content: application/json: - schema: *771 + schema: *755 examples: default: value: @@ -106036,8 +105163,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: - - *472 - - *473 + - *456 + - *457 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -106074,8 +105201,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *472 - - *473 + - *456 + - *457 - name: ref in: path required: true @@ -106111,8 +105238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -106122,9 +105249,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 headers: Link: *43 '404': *6 @@ -106144,8 +105271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *472 - - *473 + - *456 + - *457 - *19 - *17 responses: @@ -106153,7 +105280,7 @@ paths: description: Response content: application/json: - schema: &772 + schema: &756 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106165,7 +105292,7 @@ paths: required: - names examples: - default: &773 + default: &757 value: names: - octocat @@ -106188,8 +105315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -106220,9 +105347,9 @@ paths: description: Response content: application/json: - schema: *772 + schema: *756 examples: - default: *773 + default: *757 '404': *6 '422': *7 x-github: @@ -106243,9 +105370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *472 - - *473 - - &774 + - *456 + - *457 + - &758 name: per description: The time frame to display results for. in: query @@ -106274,7 +105401,7 @@ paths: example: 128 clones: type: array - items: &775 + items: &759 title: Traffic type: object properties: @@ -106361,8 +105488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -106452,8 +105579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -106513,9 +105640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *472 - - *473 - - *774 + - *456 + - *457 + - *758 responses: '200': description: Response @@ -106534,7 +105661,7 @@ paths: example: 3782 views: type: array - items: *775 + items: *759 required: - uniques - count @@ -106611,8 +105738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -106648,7 +105775,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -106886,8 +106013,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106910,8 +106037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -106933,8 +106060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -106960,8 +106087,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *472 - - *473 + - *456 + - *457 - name: ref in: path required: true @@ -107053,9 +106180,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107096,7 +106223,7 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: default: value: @@ -107206,7 +106333,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &783 + - &767 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107215,7 +106342,7 @@ paths: schema: type: string example: members - - &788 + - &772 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107226,7 +106353,7 @@ paths: default: 1 format: int32 example: 1 - - &789 + - &773 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107268,7 +106395,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &778 + items: &762 allOf: - type: object required: @@ -107343,7 +106470,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: &790 + meta: &774 type: object description: The metadata associated with the creation/updates to the user. @@ -107403,30 +106530,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &779 + '400': &763 description: Bad request content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '401': *777 - '403': &780 + schema: *760 + '401': *761 + '403': &764 description: Permission denied - '429': &781 + '429': &765 description: Too many requests content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '500': &782 + schema: *760 + '500': &766 description: Internal server error content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 + schema: *760 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107450,7 +106577,7 @@ paths: required: true content: application/json: - schema: &786 + schema: &770 type: object required: - schemas @@ -107510,9 +106637,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *778 + schema: *762 examples: - group: &784 + group: &768 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107531,13 +106658,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': *779 - '401': *777 - '403': *780 - '409': &787 + '400': *763 + '401': *761 + '403': *764 + '409': &771 description: Duplicate record detected - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107554,7 +106681,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: - - &785 + - &769 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107562,22 +106689,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *783 + - *767 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *778 + schema: *762 examples: - default: *784 - '400': *779 - '401': *777 - '403': *780 + default: *768 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107596,13 +106723,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: - - *785 + - *769 - *41 requestBody: required: true content: application/json: - schema: *786 + schema: *770 examples: group: summary: Group @@ -107628,17 +106755,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *778 + schema: *762 examples: - group: *784 - groupWithMembers: *784 - '400': *779 - '401': *777 - '403': *780 + group: *768 + groupWithMembers: *768 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107662,13 +106789,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: - - *785 + - *769 - *41 requestBody: required: true content: application/json: - schema: &797 + schema: &781 type: object required: - Operations @@ -107728,17 +106855,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *778 + schema: *762 examples: - updateGroup: *784 - addMembers: *784 - '400': *779 - '401': *777 - '403': *780 + updateGroup: *768 + addMembers: *768 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107754,17 +106881,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: - - *785 + - *769 - *41 responses: '204': description: Group was deleted, no content - '400': *779 - '401': *777 - '403': *780 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107798,8 +106925,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *788 - - *789 + - *772 + - *773 - *41 responses: '200': @@ -107832,7 +106959,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &792 + items: &776 allOf: - type: object required: @@ -107911,7 +107038,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &791 + roles: &775 type: array description: The roles assigned to the user. items: @@ -107967,7 +107094,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *790 + meta: *774 startIndex: type: integer description: A starting index for the returned page @@ -108004,11 +107131,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *779 - '401': *777 - '403': *780 - '429': *781 - '500': *782 + '400': *763 + '401': *761 + '403': *764 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108032,7 +107159,7 @@ paths: required: true content: application/json: - schema: &795 + schema: &779 type: object required: - schemas @@ -108114,9 +107241,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *791 + roles: *775 examples: - user: &796 + user: &780 summary: User value: schemas: @@ -108163,9 +107290,9 @@ paths: description: User has been created content: application/scim+json: - schema: *792 + schema: *776 examples: - user: &793 + user: &777 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108191,13 +107318,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: *793 - '400': *779 - '401': *777 - '403': *780 - '409': *787 - '429': *781 - '500': *782 + enterpriseOwner: *777 + '400': *763 + '401': *761 + '403': *764 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108214,7 +107341,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: - - &794 + - &778 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108227,15 +107354,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *792 + schema: *776 examples: - default: *793 - '400': *779 - '401': *777 - '403': *780 + default: *777 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108257,30 +107384,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: - - *794 + - *778 - *41 requestBody: required: true content: application/json: - schema: *795 + schema: *779 examples: - user: *796 + user: *780 responses: '200': description: User was updated content: application/scim+json: - schema: *792 + schema: *776 examples: - user: *793 - '400': *779 - '401': *777 - '403': *780 + user: *777 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108315,13 +107442,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: - - *794 + - *778 - *41 requestBody: required: true content: application/json: - schema: *797 + schema: *781 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108361,18 +107488,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *792 + schema: *776 examples: - userMultiValuedProperties: *793 - userSingleValuedProperties: *793 - disableUser: *793 - '400': *779 - '401': *777 - '403': *780 + userMultiValuedProperties: *777 + userSingleValuedProperties: *777 + disableUser: *777 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108392,17 +107519,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: - - *794 + - *778 - *41 responses: '204': description: User was deleted, no content - '400': *779 - '401': *777 - '403': *780 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108489,7 +107616,7 @@ paths: example: 1 Resources: type: array - items: &798 + items: &782 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108720,22 +107847,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': &799 + '404': &783 description: Resource not found content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '403': &800 + schema: *760 + '403': &784 description: Forbidden content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '400': *779 - '429': *781 + schema: *760 + '400': *763 + '429': *765 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108761,9 +107888,9 @@ paths: description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: &801 + default: &785 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108786,17 +107913,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': *799 - '403': *800 - '500': *782 + '404': *783 + '403': *784 + '500': *766 '409': description: Conflict content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '400': *779 + schema: *760 + '400': *763 requestBody: required: true content: @@ -108894,17 +108021,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *794 + - *778 responses: '200': description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: *801 - '404': *799 - '403': *800 + default: *785 + '404': *783 + '403': *784 '304': *37 x-github: githubCloudOnly: true @@ -108928,18 +108055,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *794 + - *778 responses: '200': description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: *801 + default: *785 '304': *37 - '404': *799 - '403': *800 + '404': *783 + '403': *784 requestBody: required: true content: @@ -109052,19 +108179,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *794 + - *778 responses: '200': description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: *801 + default: *785 '304': *37 - '404': *799 - '403': *800 - '400': *779 + '404': *783 + '403': *784 + '400': *763 '429': description: Response content: @@ -109155,12 +108282,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *794 + - *778 responses: '204': description: Response - '404': *799 - '403': *800 + '404': *783 + '403': *784 '304': *37 x-github: githubCloudOnly: true @@ -109275,7 +108402,7 @@ paths: html_url: type: string format: uri - repository: *284 + repository: *274 score: type: number file_size: @@ -109293,7 +108420,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &802 + text_matches: &786 title: Search Result Text Matches type: array items: @@ -109456,7 +108583,7 @@ paths: enum: - author-date - committer-date - - &803 + - &787 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 @@ -109527,7 +108654,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *527 + properties: *511 nullable: true comment_count: type: integer @@ -109547,7 +108674,7 @@ paths: url: type: string format: uri - verification: *649 + verification: *633 required: - author - committer @@ -109566,7 +108693,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *527 + properties: *511 nullable: true parents: type: array @@ -109579,12 +108706,12 @@ paths: type: string sha: type: string - repository: *284 + repository: *274 score: type: number node_id: type: string - text_matches: *802 + text_matches: *786 required: - sha - node_id @@ -109777,7 +108904,7 @@ paths: - interactions - created - updated - - *803 + - *787 - *17 - *19 - name: advanced_search @@ -109874,11 +109001,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: type: string state_reason: @@ -109895,8 +109022,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 nullable: true comments: type: integer @@ -109910,7 +109037,7 @@ paths: type: string format: date-time nullable: true - text_matches: *802 + text_matches: *786 pull_request: type: object properties: @@ -109954,7 +109081,7 @@ paths: timeline_url: type: string format: uri - type: *370 + type: *360 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -110135,7 +109262,7 @@ paths: enum: - created - updated - - *803 + - *787 - *17 - *19 responses: @@ -110179,7 +109306,7 @@ paths: nullable: true score: type: number - text_matches: *802 + text_matches: *786 required: - id - node_id @@ -110265,7 +109392,7 @@ paths: - forks - help-wanted-issues - updated - - *803 + - *787 - *17 - *19 responses: @@ -110504,7 +109631,7 @@ paths: - admin - pull - push - text_matches: *802 + text_matches: *786 temp_clone_token: type: string allow_merge_commit: @@ -110805,7 +109932,7 @@ paths: type: string format: uri nullable: true - text_matches: *802 + text_matches: *786 related: type: array nullable: true @@ -110998,7 +110125,7 @@ paths: - followers - repositories - joined - - *803 + - *787 - *17 - *19 responses: @@ -111102,7 +110229,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *802 + text_matches: *786 blog: type: string nullable: true @@ -111181,7 +110308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &807 + - &791 name: team_id description: The unique identifier of the team. in: path @@ -111193,9 +110320,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -111222,7 +110349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *807 + - *791 requestBody: required: true content: @@ -111285,16 +110412,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '201': description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 '422': *15 '403': *29 @@ -111322,7 +110449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *807 + - *791 responses: '204': description: Response @@ -111353,7 +110480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *807 + - *791 - *106 - *17 - *19 @@ -111364,9 +110491,9 @@ paths: application/json: schema: type: array - items: *455 + items: *439 examples: - default: *808 + default: *792 headers: Link: *43 x-github: @@ -111395,7 +110522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *807 + - *791 requestBody: required: true content: @@ -111429,9 +110556,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *456 + default: *440 x-github: triggersNotification: true githubCloudOnly: false @@ -111458,16 +110585,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *807 - - *457 + - *791 + - *441 responses: '200': description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *456 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111492,8 +110619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *807 - - *457 + - *791 + - *441 requestBody: required: false content: @@ -111516,9 +110643,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *809 + default: *793 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111543,8 +110670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *807 - - *457 + - *791 + - *441 responses: '204': description: Response @@ -111573,8 +110700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *807 - - *457 + - *791 + - *441 - *106 - *17 - *19 @@ -111585,9 +110712,9 @@ paths: application/json: schema: type: array - items: *458 + items: *442 examples: - default: *810 + default: *794 headers: Link: *43 x-github: @@ -111616,8 +110743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *807 - - *457 + - *791 + - *441 requestBody: required: true content: @@ -111639,9 +110766,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *459 + default: *443 x-github: triggersNotification: true githubCloudOnly: false @@ -111668,17 +110795,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 responses: '200': description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *459 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111703,9 +110830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 requestBody: required: true content: @@ -111727,9 +110854,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *811 + default: *795 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111754,9 +110881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 responses: '204': description: Response @@ -111785,9 +110912,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: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 - 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. @@ -111813,9 +110940,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 x-github: @@ -111844,9 +110971,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: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 requestBody: required: true content: @@ -111878,9 +111005,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111906,8 +111033,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: - - *807 - - *457 + - *791 + - *441 - 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. @@ -111933,9 +111060,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 x-github: @@ -111964,8 +111091,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: - - *807 - - *457 + - *791 + - *441 requestBody: required: true content: @@ -111997,9 +111124,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112023,7 +111150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112033,9 +111160,9 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: - default: *368 + default: *358 headers: Link: *43 x-github: @@ -112061,7 +111188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *807 + - *791 - name: role description: Filters members returned by their role in the team. in: query @@ -112112,7 +111239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112149,7 +111276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112189,7 +111316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112226,16 +111353,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: - - *807 + - *791 - *138 responses: '200': description: Response content: application/json: - schema: *469 + schema: *453 examples: - response-if-user-is-a-team-maintainer: *812 + response-if-user-is-a-team-maintainer: *796 '404': *6 x-github: githubCloudOnly: false @@ -112268,7 +111395,7 @@ 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: - - *807 + - *791 - *138 requestBody: required: false @@ -112294,9 +111421,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *453 examples: - response-if-users-membership-with-team-is-now-pending: *813 + response-if-users-membership-with-team-is-now-pending: *797 '403': description: Forbidden if team synchronization is set up '422': @@ -112330,7 +111457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112359,7 +111486,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112369,9 +111496,9 @@ paths: application/json: schema: type: array - items: *470 + items: *454 examples: - default: *814 + default: *798 headers: Link: *43 '404': *6 @@ -112397,16 +111524,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: - - *807 - - *471 + - *791 + - *455 responses: '200': description: Response content: application/json: - schema: *470 + schema: *454 examples: - default: *815 + default: *799 '404': description: Not Found if project is not managed by this team x-github: @@ -112430,8 +111557,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: - - *807 - - *471 + - *791 + - *455 requestBody: required: false content: @@ -112498,8 +111625,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: - - *807 - - *471 + - *791 + - *455 responses: '204': description: Response @@ -112526,7 +111653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112536,9 +111663,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 '404': *6 @@ -112568,15 +111695,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: - - *807 - - *472 - - *473 + - *791 + - *456 + - *457 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *816 + schema: *800 examples: alternative-response-with-extra-repository-information: value: @@ -112727,9 +111854,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: - - *807 - - *472 - - *473 + - *791 + - *456 + - *457 requestBody: required: false content: @@ -112779,9 +111906,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: - - *807 - - *472 - - *473 + - *791 + - *456 + - *457 responses: '204': description: Response @@ -112810,15 +111937,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: - - *807 + - *791 responses: '200': description: Response content: application/json: - schema: *474 + schema: *458 examples: - default: *475 + default: *459 '403': *29 '404': *6 x-github: @@ -112845,7 +111972,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: - - *807 + - *791 requestBody: required: true content: @@ -112902,7 +112029,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *458 examples: default: value: @@ -112933,7 +112060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112943,9 +112070,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - response-if-child-teams-exist: *817 + response-if-child-teams-exist: *801 headers: Link: *43 '404': *6 @@ -112978,7 +112105,7 @@ paths: application/json: schema: oneOf: - - &819 + - &803 title: Private User description: Private User type: object @@ -113181,7 +112308,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *818 + - *802 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113334,7 +112461,7 @@ paths: description: Response content: application/json: - schema: *819 + schema: *803 examples: default: value: @@ -113537,9 +112664,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *365 examples: - default: *376 + default: *366 '304': *37 '500': *40 '401': *25 @@ -113678,17 +112805,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '401': *25 '403': *29 '404': *6 @@ -113732,7 +112859,7 @@ paths: type: integer secrets: type: array - items: &820 + items: &804 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113772,7 +112899,7 @@ paths: - visibility - selected_repositories_url examples: - default: *581 + default: *565 headers: Link: *43 x-github: @@ -113842,13 +112969,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: - - *294 + - *284 responses: '200': description: Response content: application/json: - schema: *820 + schema: *804 examples: default: value: @@ -113878,7 +113005,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: - - *294 + - *284 requestBody: required: true content: @@ -113923,7 +113050,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -113951,7 +113078,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: - - *294 + - *284 responses: '204': description: Response @@ -113976,7 +113103,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: - - *294 + - *284 responses: '200': description: Response @@ -113992,9 +113119,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *821 + default: *805 '401': *25 '403': *29 '404': *6 @@ -114019,7 +113146,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: - - *294 + - *284 requestBody: required: true content: @@ -114073,7 +113200,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: - - *294 + - *284 - name: repository_id in: path required: true @@ -114106,7 +113233,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: - - *294 + - *284 - name: repository_id in: path required: true @@ -114138,15 +113265,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: - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '304': *37 '500': *40 '401': *25 @@ -114172,7 +113299,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: - - *377 + - *367 requestBody: required: false content: @@ -114202,9 +113329,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '401': *25 '403': *29 '404': *6 @@ -114226,7 +113353,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: - - *377 + - *367 responses: '202': *39 '304': *37 @@ -114255,13 +113382,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: - - *377 + - *367 responses: '202': description: Response content: application/json: - schema: &822 + schema: &806 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114302,7 +113429,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &823 + default: &807 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114334,7 +113461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *377 + - *367 - name: export_id in: path required: true @@ -114347,9 +113474,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *806 examples: - default: *823 + default: *807 '404': *6 x-github: githubCloudOnly: false @@ -114370,7 +113497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *377 + - *367 responses: '200': description: Response @@ -114386,9 +113513,9 @@ paths: type: integer machines: type: array - items: *824 + items: *808 examples: - default: *825 + default: *809 '304': *37 '500': *40 '401': *25 @@ -114417,7 +113544,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: - - *377 + - *367 requestBody: required: true content: @@ -114467,13 +113594,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *483 + repository: *467 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *579 - required: *580 + properties: *563 + required: *564 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -115247,15 +114374,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: - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '304': *37 '500': *40 '400': *14 @@ -115287,15 +114414,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: - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '500': *40 '401': *25 '403': *29 @@ -115325,9 +114452,9 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: &836 + default: &820 value: - id: 197 name: hello_docker @@ -115428,7 +114555,7 @@ paths: application/json: schema: type: array - items: &826 + items: &810 title: Email description: Email type: object @@ -115493,9 +114620,9 @@ paths: application/json: schema: type: array - items: *826 + items: *810 examples: - default: &838 + default: &822 value: - email: octocat@github.com verified: true @@ -115570,7 +114697,7 @@ paths: application/json: schema: type: array - items: *826 + items: *810 examples: default: value: @@ -115826,7 +114953,7 @@ paths: application/json: schema: type: array - items: &827 + items: &811 title: GPG Key description: A unique encryption key type: object @@ -115957,7 +115084,7 @@ paths: - subkeys - revoked examples: - default: &852 + default: &836 value: - id: 3 name: Octocat's GPG Key @@ -116042,9 +115169,9 @@ paths: description: Response content: application/json: - schema: *827 + schema: *811 examples: - default: &828 + default: &812 value: id: 3 name: Octocat's GPG Key @@ -116101,7 +115228,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: - - &829 + - &813 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116113,9 +115240,9 @@ paths: description: Response content: application/json: - schema: *827 + schema: *811 examples: - default: *828 + default: *812 '404': *6 '304': *37 '403': *29 @@ -116138,7 +115265,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: - - *829 + - *813 responses: '204': description: Response @@ -116329,7 +115456,7 @@ paths: type: array items: *74 examples: - default: *279 + default: *269 headers: Link: *43 '404': *6 @@ -116354,7 +115481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *278 + - *268 responses: '204': description: Response @@ -116380,7 +115507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *278 + - *268 responses: '204': description: Response @@ -116414,12 +115541,12 @@ paths: application/json: schema: anyOf: - - *365 + - *355 - type: object properties: {} additionalProperties: false examples: - default: *366 + default: *356 '204': description: Response when there are no restrictions x-github: @@ -116443,7 +115570,7 @@ paths: required: true content: application/json: - schema: *660 + schema: *644 examples: default: value: @@ -116454,7 +115581,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: default: value: @@ -116535,7 +115662,7 @@ paths: - closed - all default: open - - *373 + - *363 - name: sort description: What to sort results by. in: query @@ -116560,7 +115687,7 @@ paths: type: array items: *227 examples: - default: *374 + default: *364 headers: Link: *43 '404': *6 @@ -116593,7 +115720,7 @@ paths: application/json: schema: type: array - items: &830 + items: &814 title: Key description: Key type: object @@ -116694,9 +115821,9 @@ paths: description: Response content: application/json: - schema: *830 + schema: *814 examples: - default: &831 + default: &815 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116729,15 +115856,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: - - *690 + - *674 responses: '200': description: Response content: application/json: - schema: *830 + schema: *814 examples: - default: *831 + default: *815 '404': *6 '304': *37 '403': *29 @@ -116760,7 +115887,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: - - *690 + - *674 responses: '204': description: Response @@ -116793,7 +115920,7 @@ paths: application/json: schema: type: array - items: &832 + items: &816 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116861,7 +115988,7 @@ paths: - account - plan examples: - default: &833 + default: &817 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116923,9 +116050,9 @@ paths: application/json: schema: type: array - items: *832 + items: *816 examples: - default: *833 + default: *817 headers: Link: *43 '304': *37 @@ -116965,7 +116092,7 @@ paths: application/json: schema: type: array - items: *378 + items: *368 examples: default: value: @@ -117073,7 +116200,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *368 examples: default: value: @@ -117156,7 +116283,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *368 examples: default: value: @@ -117224,7 +116351,7 @@ paths: application/json: schema: type: array - items: *380 + items: *370 examples: default: value: @@ -117477,7 +116604,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -117657,7 +116784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *381 + - *371 - name: exclude in: query required: false @@ -117670,7 +116797,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -117864,7 +116991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *381 + - *371 responses: '302': description: Response @@ -117890,7 +117017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *381 + - *371 responses: '204': description: Response @@ -117919,8 +117046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *381 - - *834 + - *371 + - *818 responses: '204': description: Response @@ -117944,7 +117071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *381 + - *371 - *17 - *19 responses: @@ -117954,9 +117081,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 '404': *6 @@ -118035,7 +117162,7 @@ paths: - docker - nuget - container - - *835 + - *819 - *19 - *17 responses: @@ -118045,10 +117172,10 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *836 - '400': *837 + default: *820 + '400': *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118068,16 +117195,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: - - *388 - - *389 + - *378 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &853 + default: &837 value: id: 40201 name: octo-name @@ -118190,8 +117317,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: - - *388 - - *389 + - *378 + - *379 responses: '204': description: Response @@ -118221,8 +117348,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: - - *388 - - *389 + - *378 + - *379 - name: token description: package token schema: @@ -118254,8 +117381,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: - - *388 - - *389 + - *378 + - *379 - *19 - *17 - name: state @@ -118275,7 +117402,7 @@ paths: application/json: schema: type: array - items: *390 + items: *380 examples: default: value: @@ -118324,15 +117451,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 responses: '200': description: Response content: application/json: - schema: *390 + schema: *380 examples: default: value: @@ -118368,9 +117495,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 responses: '204': description: Response @@ -118400,9 +117527,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 responses: '204': description: Response @@ -118439,9 +117566,9 @@ paths: application/json: schema: type: array - items: *826 + items: *810 examples: - default: *838 + default: *822 headers: Link: *43 '304': *37 @@ -118554,7 +117681,7 @@ paths: type: array items: *74 examples: - default: &845 + default: &829 summary: Default response value: - id: 1296269 @@ -118858,9 +117985,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118898,9 +118025,9 @@ paths: application/json: schema: type: array - items: *662 + items: *646 examples: - default: *839 + default: *823 headers: Link: *43 '304': *37 @@ -118923,7 +118050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *369 + - *359 responses: '204': description: Response @@ -118946,7 +118073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *369 + - *359 responses: '204': description: Response @@ -118979,7 +118106,7 @@ paths: application/json: schema: type: array - items: &840 + items: &824 title: Social account description: Social media account type: object @@ -118994,7 +118121,7 @@ paths: - provider - url examples: - default: &841 + default: &825 value: - provider: twitter url: https://twitter.com/github @@ -119056,9 +118183,9 @@ paths: application/json: schema: type: array - items: *840 + items: *824 examples: - default: *841 + default: *825 '422': *15 '304': *37 '404': *6 @@ -119145,7 +118272,7 @@ paths: application/json: schema: type: array - items: &842 + items: &826 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119165,7 +118292,7 @@ paths: - title - created_at examples: - default: &857 + default: &841 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119229,9 +118356,9 @@ paths: description: Response content: application/json: - schema: *842 + schema: *826 examples: - default: &843 + default: &827 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119261,7 +118388,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: - - &844 + - &828 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119273,9 +118400,9 @@ paths: description: Response content: application/json: - schema: *842 + schema: *826 examples: - default: *843 + default: *827 '404': *6 '304': *37 '403': *29 @@ -119298,7 +118425,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: - - *844 + - *828 responses: '204': description: Response @@ -119327,7 +118454,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: - - &858 + - &842 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 @@ -119352,11 +118479,11 @@ paths: type: array items: *74 examples: - default-response: *845 + default-response: *829 application/vnd.github.v3.star+json: schema: type: array - items: &859 + items: &843 title: Starred Repository description: Starred Repository type: object @@ -119512,8 +118639,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response if this repository is starred by you @@ -119541,8 +118668,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -119566,8 +118693,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -119600,9 +118727,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 '304': *37 @@ -119639,7 +118766,7 @@ paths: application/json: schema: type: array - items: *453 + items: *437 examples: default: value: @@ -119725,10 +118852,10 @@ paths: application/json: schema: oneOf: - - *819 - - *818 + - *803 + - *802 examples: - default-response: &847 + default-response: &831 summary: Default response value: login: octocat @@ -119763,7 +118890,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &848 + response-with-git-hub-plan-information: &832 summary: Response with GitHub plan information value: login: octocat @@ -119826,7 +118953,7 @@ paths: required: true schema: type: string - - *404 + - *394 requestBody: required: true description: Details of the draft item to create in the project. @@ -119860,9 +118987,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: - draft_issue: *411 + draft_issue: *401 '304': *37 '403': *29 '401': *25 @@ -119885,7 +119012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *846 + - *830 - *17 responses: '200': @@ -119934,11 +119061,11 @@ paths: application/json: schema: oneOf: - - *819 - - *818 + - *803 + - *802 examples: - default-response: *847 - response-with-git-hub-plan-information: *848 + default-response: *831 + response-with-git-hub-plan-information: *832 '404': *6 x-github: githubCloudOnly: false @@ -119988,8 +119115,8 @@ paths: required: - subject_digests examples: - default: *849 - withPredicateType: *850 + default: *833 + withPredicateType: *834 responses: '200': description: Response @@ -120042,7 +119169,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *851 + default: *835 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120247,12 +119374,12 @@ paths: initiator: type: string examples: - default: *523 + default: *507 '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -120286,9 +119413,9 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *836 + default: *820 '403': *29 '401': *25 x-github: @@ -120672,9 +119799,9 @@ paths: application/json: schema: type: array - items: *827 + items: *811 examples: - default: *852 + default: *836 headers: Link: *43 x-github: @@ -120778,7 +119905,7 @@ paths: application/json: schema: *22 examples: - default: *659 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120902,7 +120029,7 @@ paths: - docker - nuget - container - - *835 + - *819 - *138 - *19 - *17 @@ -120913,12 +120040,12 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *836 + default: *820 '403': *29 '401': *25 - '400': *837 + '400': *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120938,17 +120065,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *853 + default: *837 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120969,8 +120096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 responses: '204': @@ -121003,8 +120130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 - name: token description: package token @@ -121037,8 +120164,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-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 responses: '200': @@ -121047,7 +120174,7 @@ paths: application/json: schema: type: array - items: *390 + items: *380 examples: default: value: @@ -121105,16 +120232,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 - *138 responses: '200': description: Response content: application/json: - schema: *390 + schema: *380 examples: default: value: @@ -121149,10 +120276,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 - - *391 + - *381 responses: '204': description: Response @@ -121184,10 +120311,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 - - *391 + - *381 responses: '204': description: Response @@ -121228,9 +120355,9 @@ paths: application/json: schema: type: array - items: *402 + items: *392 examples: - default: *403 + default: *393 headers: Link: *43 '304': *37 @@ -121252,16 +120379,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *404 + - *394 - *138 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *403 + default: *393 headers: Link: *43 '304': *37 @@ -121283,7 +120410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *404 + - *394 - *138 - *17 - *104 @@ -121295,9 +120422,9 @@ paths: application/json: schema: type: array - items: *408 + items: *398 examples: - default: *854 + default: *838 headers: Link: *43 '304': *37 @@ -121319,17 +120446,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *404 - - *855 + - *394 + - *839 - *138 responses: '200': description: Response content: application/json: - schema: *408 + schema: *398 examples: - default: *856 + default: *840 headers: Link: *43 '304': *37 @@ -121352,7 +120479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *404 + - *394 - *138 - *104 - *105 @@ -121385,9 +120512,9 @@ paths: application/json: schema: type: array - items: *412 + items: *402 examples: - default: *413 + default: *403 headers: Link: *43 '304': *37 @@ -121409,7 +120536,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *404 + - *394 requestBody: required: true description: Details of the item to add to the project. @@ -121446,10 +120573,10 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: - issue: *411 - pull_request: *411 + issue: *401 + pull_request: *401 '304': *37 '403': *29 '401': *25 @@ -121469,9 +120596,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: - - *404 + - *394 - *138 - - *414 + - *404 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121491,9 +120618,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - default: *413 + default: *403 headers: Link: *43 '304': *37 @@ -121514,9 +120641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *404 + - *394 - *138 - - *414 + - *404 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121586,13 +120713,13 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - text_field: *413 - number_field: *413 - date_field: *413 - single_select_field: *413 - iteration_field: *413 + text_field: *403 + number_field: *403 + date_field: *403 + single_select_field: *403 + iteration_field: *403 '401': *25 '403': *29 '404': *6 @@ -121612,9 +120739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *404 + - *394 - *138 - - *414 + - *404 responses: '204': description: Response @@ -121832,9 +120959,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -121842,458 +120969,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - *138 - responses: - '200': - description: Response - content: - application/json: - schema: *440 - examples: - default: *441 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - *138 - responses: - '200': - description: Response - content: - application/json: - schema: *445 - examples: - default: *446 - 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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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: - - *138 - - *197 - - *199 - - *198 - - *251 - - *201 - 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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': *190 - 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - *138 - responses: - '200': - description: Response - content: - application/json: - schema: *447 - examples: - default: *448 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/usage": - get: - summary: Get billing usage report for a user - description: |- - Gets a report of the total usage for a user. - - **Note:** This endpoint is only available to users with access to the enhanced billing platform. - tags: - - billing - operationId: billing/get-github-billing-usage-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user - parameters: - - *138 - - *197 - - *252 - - *198 - responses: - '200': - description: Response when getting a billing usage report - content: - application/json: - schema: - type: object - properties: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - examples: - default: - value: - usageItems: - - date: '2023-08-01' - product: Actions - sku: Actions Linux - quantity: 100 - unitType: minutes - pricePerUnit: 0.008 - grossAmount: 0.8 - discountAmount: 0 - netAmount: 0.8 - repositoryName: user/example - '400': *14 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for a user - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for a user. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user - parameters: - - *138 - - *197 - - *199 - - *198 - - *255 - - *201 - - *256 - responses: - '200': - description: Response when getting a billing usage summary - 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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - user - - usageItems - examples: - default: - value: - timePeriod: - year: 2025 - user: monalisa - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 - '400': *14 - '403': *29 - '404': *6 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -122316,9 +120991,9 @@ paths: application/json: schema: type: array - items: *840 + items: *824 examples: - default: *841 + default: *825 headers: Link: *43 x-github: @@ -122348,9 +121023,9 @@ paths: application/json: schema: type: array - items: *842 + items: *826 examples: - default: *857 + default: *841 headers: Link: *43 x-github: @@ -122375,7 +121050,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *858 + - *842 - *106 - *17 - *19 @@ -122387,11 +121062,11 @@ paths: schema: anyOf: - type: array - items: *859 + items: *843 - type: array items: *74 examples: - default-response: *845 + default-response: *829 headers: Link: *43 x-github: @@ -122420,9 +121095,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -122550,7 +121225,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &860 + enterprise: &844 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122608,7 +121283,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &861 + installation: &845 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122627,7 +121302,7 @@ x-webhooks: required: - id - node_id - organization: &862 + organization: &846 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122687,13 +121362,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &863 + repository: &847 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: &900 + properties: &884 id: description: Unique identifier of the repository example: 42 @@ -123376,7 +122051,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &901 + required: &885 - archive_url - assignees_url - blobs_url @@ -123527,10 +122202,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -123606,11 +122281,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - rule: &864 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + rule: &848 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) @@ -123833,11 +122508,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - rule: *864 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + rule: *848 sender: *4 required: - action @@ -124020,11 +122695,11 @@ x-webhooks: - everyone required: - from - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - rule: *864 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + rule: *848 sender: *4 required: - action @@ -124097,7 +122772,7 @@ x-webhooks: required: true content: application/json: - schema: &884 + schema: &868 title: Exemption request cancellation event type: object properties: @@ -124105,11 +122780,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: &865 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: &849 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124342,7 +123017,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &866 + items: &850 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124452,7 +123127,7 @@ x-webhooks: required: true content: application/json: - schema: &885 + schema: &869 title: Exemption request completed event type: object properties: @@ -124460,11 +123135,11 @@ x-webhooks: type: string enum: - completed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 sender: *4 required: - action @@ -124536,7 +123211,7 @@ x-webhooks: required: true content: application/json: - schema: &882 + schema: &866 title: Exemption request created event type: object properties: @@ -124544,11 +123219,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 sender: *4 required: - action @@ -124620,7 +123295,7 @@ x-webhooks: required: true content: application/json: - schema: &886 + schema: &870 title: Exemption response dismissed event type: object properties: @@ -124628,12 +123303,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 - exemption_response: *866 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 + exemption_response: *850 sender: *4 required: - action @@ -124707,7 +123382,7 @@ x-webhooks: required: true content: application/json: - schema: &883 + schema: &867 title: Exemption response submitted event type: object properties: @@ -124715,12 +123390,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 - exemption_response: *866 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 + exemption_response: *850 sender: *4 required: - action @@ -124804,7 +123479,7 @@ x-webhooks: type: string enum: - completed - check_run: &868 + check_run: &852 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124857,8 +123532,8 @@ x-webhooks: type: string pull_requests: type: array - items: *540 - repository: *284 + items: *524 + repository: *274 status: example: completed type: string @@ -124895,7 +123570,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *867 + deployment: *851 details_url: example: https://example.com type: string @@ -124945,7 +123620,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *540 + items: *524 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -124980,10 +123655,10 @@ x-webhooks: - output - app - pull_requests - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 sender: *4 required: - check_run @@ -125376,11 +124051,11 @@ x-webhooks: type: string enum: - created - check_run: *868 - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + check_run: *852 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 sender: *4 required: - check_run @@ -125776,11 +124451,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *868 - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + check_run: *852 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 requested_action: description: The action requested by the user. type: object @@ -126185,11 +124860,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *868 - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + check_run: *852 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 sender: *4 required: - check_run @@ -127166,10 +125841,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -127854,10 +126529,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -128536,10 +127211,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -128705,7 +127380,7 @@ x-webhooks: required: - login - id - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128850,20 +127525,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &869 + commit_oid: &853 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: *860 - installation: *861 - organization: *862 - ref: &870 + enterprise: *844 + installation: *845 + organization: *846 + ref: &854 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: *863 + repository: *847 sender: *4 required: - action @@ -129028,7 +127703,7 @@ x-webhooks: required: - login - id - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129258,12 +127933,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -129358,7 +128033,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129529,12 +128204,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -129700,7 +128375,7 @@ x-webhooks: required: - login - id - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129866,12 +128541,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -129971,7 +128646,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130139,16 +128814,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 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: *863 + repository: *847 sender: *4 required: - action @@ -130245,7 +128920,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130385,12 +129060,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -130647,10 +129322,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -130730,18 +129405,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *862 - pusher_type: &871 + organization: *846 + pusher_type: &855 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &872 + ref: &856 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130751,7 +129426,7 @@ x-webhooks: enum: - tag - branch - repository: *863 + repository: *847 sender: *4 required: - ref @@ -130834,9 +129509,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -130921,9 +129596,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -131001,9 +129676,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -131081,9 +129756,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -131160,10 +129835,10 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - repository: *863 - organization: *862 + enterprise: *844 + installation: *845 + repository: *847 + organization: *846 sender: *4 new_property_values: type: array @@ -131248,18 +129923,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - pusher_type: *871 - ref: *872 + enterprise: *844 + installation: *845 + organization: *846 + pusher_type: *855 + ref: *856 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *863 + repository: *847 sender: *4 required: - ref @@ -131343,11 +130018,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131431,11 +130106,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131519,11 +130194,11 @@ x-webhooks: type: string enum: - created - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131605,11 +130280,11 @@ x-webhooks: type: string enum: - dismissed - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131691,11 +130366,11 @@ x-webhooks: type: string enum: - fixed - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131778,11 +130453,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131864,11 +130539,11 @@ x-webhooks: type: string enum: - reopened - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131945,9 +130620,9 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - key: &873 + enterprise: *844 + installation: *845 + key: &857 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131983,8 +130658,8 @@ x-webhooks: - verified - created_at - read_only - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -132061,11 +130736,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - key: *873 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + key: *857 + organization: *846 + repository: *847 sender: *4 required: - action @@ -132626,12 +131301,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: &877 + workflow: &861 title: Workflow type: object nullable: true @@ -133357,13 +132032,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *615 + deployment: *599 pull_requests: type: array - items: *711 - repository: *863 - organization: *862 - installation: *861 + items: *695 + repository: *847 + organization: *846 + installation: *845 sender: *4 responses: '200': @@ -133434,7 +132109,7 @@ x-webhooks: type: string enum: - approved - approver: &874 + approver: &858 type: object properties: avatar_url: @@ -133477,11 +132152,11 @@ x-webhooks: type: string comment: type: string - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - reviewers: &875 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + reviewers: &859 type: array items: type: object @@ -133560,7 +132235,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &876 + workflow_job_run: &860 type: object properties: conclusion: @@ -134291,18 +132966,18 @@ x-webhooks: type: string enum: - rejected - approver: *874 + approver: *858 comment: type: string - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - reviewers: *875 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + reviewers: *859 sender: *4 since: type: string - workflow_job_run: *876 + workflow_job_run: *860 workflow_job_runs: type: array items: @@ -135006,13 +133681,13 @@ x-webhooks: type: string enum: - requested - enterprise: *860 + enterprise: *844 environment: type: string - installation: *861 - organization: *862 - repository: *863 - requestor: &887 + installation: *845 + organization: *846 + repository: *847 + requestor: &871 title: User type: object nullable: true @@ -136911,12 +135586,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 workflow_run: title: Deployment Workflow Run type: object @@ -137596,7 +136271,7 @@ x-webhooks: type: string enum: - answered - answer: &880 + answer: &864 type: object properties: author_association: @@ -137753,7 +136428,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &878 + discussion: &862 title: Discussion description: A Discussion in a repository. type: object @@ -138039,7 +136714,7 @@ x-webhooks: - id labels: type: array - items: *673 + items: *657 required: - repository_url - category @@ -138061,10 +136736,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138191,11 +136866,11 @@ x-webhooks: - from required: - category - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138278,11 +136953,11 @@ x-webhooks: type: string enum: - closed - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138364,7 +137039,7 @@ x-webhooks: type: string enum: - created - comment: &879 + comment: &863 type: object properties: author_association: @@ -138521,11 +137196,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138608,12 +137283,12 @@ x-webhooks: type: string enum: - deleted - comment: *879 - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + comment: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138708,12 +137383,12 @@ x-webhooks: - from required: - body - comment: *879 - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + comment: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138797,11 +137472,11 @@ x-webhooks: type: string enum: - created - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138883,11 +137558,11 @@ x-webhooks: type: string enum: - deleted - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138987,11 +137662,11 @@ x-webhooks: type: string required: - from - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139073,10 +137748,10 @@ x-webhooks: type: string enum: - labeled - discussion: *878 - enterprise: *860 - installation: *861 - label: &881 + discussion: *862 + enterprise: *844 + installation: *845 + label: &865 title: Label type: object properties: @@ -139108,8 +137783,8 @@ x-webhooks: - color - default - description - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139192,11 +137867,11 @@ x-webhooks: type: string enum: - locked - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139278,11 +137953,11 @@ x-webhooks: type: string enum: - pinned - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139364,11 +138039,11 @@ x-webhooks: type: string enum: - reopened - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139453,16 +138128,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *878 - new_repository: *863 + new_discussion: *862 + new_repository: *847 required: - new_discussion - new_repository - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139545,10 +138220,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *878 - old_answer: *880 - organization: *862 - repository: *863 + discussion: *862 + old_answer: *864 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139630,12 +138305,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *878 - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139718,11 +138393,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139804,11 +138479,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139877,7 +138552,7 @@ x-webhooks: required: true content: application/json: - schema: *882 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139940,7 +138615,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140006,7 +138681,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *868 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140072,7 +138747,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *869 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140138,7 +138813,7 @@ x-webhooks: required: true content: application/json: - schema: *882 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140204,7 +138879,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *870 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140270,7 +138945,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140335,7 +139010,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *868 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140400,7 +139075,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *869 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140465,7 +139140,7 @@ x-webhooks: required: true content: application/json: - schema: *882 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140530,7 +139205,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *870 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140596,7 +139271,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140663,7 +139338,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *860 + enterprise: *844 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141323,9 +139998,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - forkee @@ -141471,9 +140146,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pages: description: The pages that were updated. type: array @@ -141510,7 +140185,7 @@ x-webhooks: - action - sha - html_url - repository: *863 + repository: *847 sender: *4 required: - pages @@ -141586,10 +140261,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: &888 + organization: *846 + repositories: &872 description: An array of repository objects that the installation can access. type: array @@ -141615,8 +140290,8 @@ x-webhooks: - name - full_name - private - repository: *863 - requester: *887 + repository: *847 + requester: *871 sender: *4 required: - action @@ -141691,11 +140366,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -141771,11 +140446,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -141851,10 +140526,10 @@ x-webhooks: type: string enum: - added - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories_added: &889 + organization: *846 + repositories_added: &873 description: An array of repository objects, which were added to the installation. type: array @@ -141900,15 +140575,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *863 - repository_selection: &890 + repository: *847 + repository_selection: &874 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *887 + requester: *871 sender: *4 required: - action @@ -141987,10 +140662,10 @@ x-webhooks: type: string enum: - removed - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories_added: *889 + organization: *846 + repositories_added: *873 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142017,9 +140692,9 @@ x-webhooks: - name - full_name - private - repository: *863 - repository_selection: *890 - requester: *887 + repository: *847 + repository_selection: *874 + requester: *871 sender: *4 required: - action @@ -142098,11 +140773,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -142281,10 +140956,10 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 target_type: type: string @@ -142363,11 +141038,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -142619,8 +141294,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143414,8 +142089,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143431,7 +142106,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -143764,8 +142439,8 @@ x-webhooks: - state - locked - assignee - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -143845,7 +142520,7 @@ x-webhooks: type: string enum: - deleted - comment: &891 + comment: &875 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144010,8 +142685,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144801,8 +143476,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144818,7 +143493,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -145153,8 +143828,8 @@ x-webhooks: - state - locked - assignee - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -145234,7 +143909,7 @@ x-webhooks: type: string enum: - edited - changes: &920 + changes: &904 description: The changes to the comment. type: object properties: @@ -145246,9 +143921,9 @@ x-webhooks: type: string required: - from - comment: *891 - enterprise: *860 - installation: *861 + comment: *875 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146041,8 +144716,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146058,7 +144733,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -146391,8 +145066,8 @@ x-webhooks: - state - locked - assignee - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146482,9 +145157,9 @@ x-webhooks: type: number blocking_issue: *227 blocking_issue_repo: *74 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146578,9 +145253,9 @@ x-webhooks: type: number blocking_issue: *227 blocking_issue_repo: *74 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146673,9 +145348,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146769,9 +145444,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146856,10 +145531,10 @@ x-webhooks: type: string enum: - assigned - assignee: *887 - enterprise: *860 - installation: *861 - issue: &894 + assignee: *871 + enterprise: *844 + installation: *845 + issue: &878 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147648,11 +146323,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147668,7 +146343,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -147769,8 +146444,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -147850,8 +146525,8 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148645,11 +147320,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148665,7 +147340,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -148901,8 +147576,8 @@ x-webhooks: required: - state - closed_at - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -148981,8 +147656,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149767,11 +148442,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149787,7 +148462,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -149887,8 +148562,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -149967,8 +148642,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150775,11 +149450,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150795,7 +149470,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -150874,7 +149549,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &892 + milestone: &876 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151012,8 +149687,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -151112,8 +149787,8 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151902,11 +150577,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151919,7 +150594,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *370 + type: *360 title: description: Title of the issue type: string @@ -152023,9 +150698,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *881 - organization: *862 - repository: *863 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -152105,8 +150780,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152894,11 +151569,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152911,7 +151586,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *370 + type: *360 title: description: Title of the issue type: string @@ -153015,9 +151690,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *881 - organization: *862 - repository: *863 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -153097,8 +151772,8 @@ x-webhooks: type: string enum: - locked - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153910,11 +152585,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153927,7 +152602,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *370 + type: *360 title: description: Title of the issue type: string @@ -154008,8 +152683,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -154088,8 +152763,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154895,11 +153570,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154915,7 +153590,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -154993,9 +153668,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *892 - organization: *862 - repository: *863 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -155863,11 +154538,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155960,7 +154635,7 @@ x-webhooks: required: - login - id - type: *370 + type: *360 required: - id - number @@ -156429,8 +155104,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157219,11 +155894,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157239,7 +155914,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -157339,8 +156014,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -157420,9 +156095,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *860 - installation: *861 - issue: &893 + enterprise: *844 + installation: *845 + issue: &877 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158205,11 +156880,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158225,7 +156900,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -158325,8 +157000,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -158405,8 +157080,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159216,11 +157891,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159314,9 +157989,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *370 - organization: *862 - repository: *863 + type: *360 + organization: *846 + repository: *847 sender: *4 required: - action @@ -160182,11 +158857,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160202,7 +158877,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -160770,11 +159445,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *860 - installation: *861 - issue: *893 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *877 + organization: *846 + repository: *847 sender: *4 required: - action @@ -160854,12 +159529,12 @@ x-webhooks: type: string enum: - typed - enterprise: *860 - installation: *861 - issue: *894 - type: *370 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + type: *360 + organization: *846 + repository: *847 sender: *4 required: - action @@ -160940,7 +159615,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &923 + assignee: &907 title: User type: object nullable: true @@ -161010,11 +159685,11 @@ x-webhooks: required: - login - id - enterprise: *860 - installation: *861 - issue: *894 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + organization: *846 + repository: *847 sender: *4 required: - action @@ -161093,12 +159768,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *860 - installation: *861 - issue: *894 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -161178,8 +159853,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161989,11 +160664,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162009,7 +160684,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -162087,8 +160762,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162168,11 +160843,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *860 - installation: *861 - issue: *893 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *877 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162251,12 +160926,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *860 - installation: *861 - issue: *894 - type: *370 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + type: *360 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162336,11 +161011,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162418,11 +161093,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162532,11 +161207,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162618,9 +161293,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: &895 + enterprise: *844 + installation: *845 + marketplace_purchase: &879 title: Marketplace Purchase type: object required: @@ -162703,8 +161378,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *862 - previous_marketplace_purchase: &896 + organization: *846 + previous_marketplace_purchase: &880 title: Marketplace Purchase type: object properties: @@ -162784,7 +161459,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *863 + repository: *847 sender: *4 required: - action @@ -162864,10 +161539,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: *895 - organization: *862 + enterprise: *844 + installation: *845 + marketplace_purchase: *879 + organization: *846 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162950,7 +161625,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *863 + repository: *847 sender: *4 required: - action @@ -163032,10 +161707,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: *895 - organization: *862 + enterprise: *844 + installation: *845 + marketplace_purchase: *879 + organization: *846 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163117,7 +161792,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *863 + repository: *847 sender: *4 required: - action @@ -163198,8 +161873,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 marketplace_purchase: title: Marketplace Purchase type: object @@ -163281,9 +161956,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *862 - previous_marketplace_purchase: *896 - repository: *863 + organization: *846 + previous_marketplace_purchase: *880 + repository: *847 sender: *4 required: - action @@ -163363,12 +162038,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: *895 - organization: *862 - previous_marketplace_purchase: *896 - repository: *863 + enterprise: *844 + installation: *845 + marketplace_purchase: *879 + organization: *846 + previous_marketplace_purchase: *880 + repository: *847 sender: *4 required: - action @@ -163470,11 +162145,11 @@ x-webhooks: type: string required: - to - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 sender: *4 required: - action @@ -163574,11 +162249,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 sender: *4 required: - action @@ -163657,11 +162332,11 @@ x-webhooks: type: string enum: - removed - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 sender: *4 required: - action @@ -163739,11 +162414,11 @@ x-webhooks: type: string enum: - added - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163819,7 +162494,7 @@ x-webhooks: required: - login - id - team: &897 + team: &881 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164042,11 +162717,11 @@ x-webhooks: type: string enum: - removed - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164123,7 +162798,7 @@ x-webhooks: required: - login - id - team: *897 + team: *881 required: - action - scope @@ -164205,8 +162880,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *861 - merge_group: &899 + installation: *845 + merge_group: &883 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164225,15 +162900,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *898 + head_commit: *882 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164319,10 +162994,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *861 - merge_group: *899 - organization: *862 - repository: *863 + installation: *845 + merge_group: *883 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164395,7 +163070,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 + enterprise: *844 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -164504,16 +163179,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *861 - organization: *862 + installation: *845 + organization: *846 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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -164594,11 +163269,11 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 - milestone: *892 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164677,9 +163352,9 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - milestone: &902 + enterprise: *844 + installation: *845 + milestone: &886 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164816,8 +163491,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164896,11 +163571,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - milestone: *892 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165010,11 +163685,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - milestone: *892 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165094,11 +163769,11 @@ x-webhooks: type: string enum: - opened - enterprise: *860 - installation: *861 - milestone: *902 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *886 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165177,11 +163852,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *887 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + blocked_user: *871 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165260,11 +163935,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *887 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + blocked_user: *871 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165340,7 +164015,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *860 + enterprise: *844 sender: *4 required: - action @@ -165420,8 +164095,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 sender: *4 required: - action @@ -165494,8 +164169,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 sender: *4 required: - action @@ -165567,9 +164242,9 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 new_property_values: type: array @@ -165657,9 +164332,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - membership: &903 + enterprise: *844 + installation: *845 + membership: &887 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165766,8 +164441,8 @@ x-webhooks: - role - organization_url - user - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165845,11 +164520,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *860 - installation: *861 - membership: *903 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + membership: *887 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165928,8 +164603,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166045,10 +164720,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 - user: *887 + user: *871 required: - action - invitation @@ -166126,11 +164801,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *860 - installation: *861 - membership: *903 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + membership: *887 + organization: *846 + repository: *847 sender: *4 required: - action @@ -166217,11 +164892,11 @@ x-webhooks: properties: from: type: string - enterprise: *860 - installation: *861 - membership: *903 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + membership: *887 + organization: *846 + repository: *847 sender: *4 required: - action @@ -166297,9 +164972,9 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 package: description: Information about the package. type: object @@ -166798,7 +165473,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &904 + items: &888 title: Ruby Gems metadata type: object properties: @@ -166893,7 +165568,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -166969,9 +165644,9 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 package: description: Information about the package. type: object @@ -167324,7 +165999,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *904 + items: *888 source_url: type: string format: uri @@ -167394,7 +166069,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -167571,12 +166246,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *860 + enterprise: *844 id: type: integer - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - id @@ -167653,7 +166328,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &905 + personal_access_token_request: &889 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167799,10 +166474,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *860 - organization: *862 + enterprise: *844 + organization: *846 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -167879,11 +166554,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *905 - enterprise: *860 - organization: *862 + personal_access_token_request: *889 + enterprise: *844 + organization: *846 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -167959,11 +166634,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *905 - enterprise: *860 - organization: *862 + personal_access_token_request: *889 + enterprise: *844 + organization: *846 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -168038,11 +166713,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *905 - organization: *862 - enterprise: *860 + personal_access_token_request: *889 + organization: *846 + enterprise: *844 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -168147,7 +166822,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *906 + last_response: *890 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168179,8 +166854,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 zen: description: Random string of GitHub zen. @@ -168425,10 +167100,10 @@ x-webhooks: - from required: - note - enterprise: *860 - installation: *861 - organization: *862 - project_card: &907 + enterprise: *844 + installation: *845 + organization: *846 + project_card: &891 title: Project Card type: object properties: @@ -168547,7 +167222,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *863 + repository: *847 sender: *4 required: - action @@ -168628,11 +167303,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - project_card: *907 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_card: *891 + repository: *847 sender: *4 required: - action @@ -168712,9 +167387,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 project_card: title: Project Card type: object @@ -168842,8 +167517,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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -168937,11 +167612,11 @@ x-webhooks: - from required: - note - enterprise: *860 - installation: *861 - organization: *862 - project_card: *907 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_card: *891 + repository: *847 sender: *4 required: - action @@ -169035,9 +167710,9 @@ x-webhooks: - from required: - column_id - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 project_card: allOf: - title: Project Card @@ -169227,7 +167902,7 @@ x-webhooks: type: string required: - after_id - repository: *863 + repository: *847 sender: *4 required: - action @@ -169307,10 +167982,10 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 - organization: *862 - project: &909 + enterprise: *844 + installation: *845 + organization: *846 + project: &893 title: Project type: object properties: @@ -169434,7 +168109,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *863 + repository: *847 sender: *4 required: - action @@ -169514,10 +168189,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - project_column: &908 + enterprise: *844 + installation: *845 + organization: *846 + project_column: &892 title: Project Column type: object properties: @@ -169556,7 +168231,7 @@ x-webhooks: - name - created_at - updated_at - repository: *863 + repository: *847 sender: *4 required: - action @@ -169635,18 +168310,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - project_column: *908 + enterprise: *844 + installation: *845 + organization: *846 + project_column: *892 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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -169736,11 +168411,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - project_column: *908 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_column: *892 + repository: *847 sender: *4 required: - action @@ -169820,11 +168495,11 @@ x-webhooks: type: string enum: - moved - enterprise: *860 - installation: *861 - organization: *862 - project_column: *908 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_column: *892 + repository: *847 sender: *4 required: - action @@ -169904,11 +168579,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - project: *909 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 + repository: *847 sender: *4 required: - action @@ -169988,18 +168663,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - project: *909 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -170101,11 +168776,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - project: *909 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 + repository: *847 sender: *4 required: - action @@ -170184,11 +168859,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *860 - installation: *861 - organization: *862 - project: *909 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 + repository: *847 sender: *4 required: - action @@ -170269,9 +168944,9 @@ x-webhooks: type: string enum: - closed - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170352,9 +169027,9 @@ x-webhooks: type: string enum: - created - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170435,9 +169110,9 @@ x-webhooks: type: string enum: - deleted - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170554,9 +169229,9 @@ x-webhooks: type: string to: type: string - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170639,7 +169314,7 @@ x-webhooks: type: string enum: - archived - changes: &913 + changes: &897 type: object properties: archived_at: @@ -170653,9 +169328,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *861 - organization: *862 - projects_v2_item: &910 + installation: *845 + organization: *846 + projects_v2_item: &894 title: Projects v2 Item description: An item belonging to a project type: object @@ -170673,7 +169348,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *409 + content_type: *399 creator: *4 created_at: type: string @@ -170790,9 +169465,9 @@ x-webhooks: nullable: true to: type: string - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -170874,9 +169549,9 @@ x-webhooks: type: string enum: - created - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -170957,9 +169632,9 @@ x-webhooks: type: string enum: - deleted - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171065,7 +169740,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &911 + - &895 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171087,7 +169762,7 @@ x-webhooks: required: - id - name - - &912 + - &896 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171121,8 +169796,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *911 - - *912 + - *895 + - *896 required: - field_value - type: object @@ -171138,9 +169813,9 @@ x-webhooks: nullable: true required: - body - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171235,9 +169910,9 @@ x-webhooks: to: type: string nullable: true - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171320,10 +169995,10 @@ x-webhooks: type: string enum: - restored - changes: *913 - installation: *861 - organization: *862 - projects_v2_item: *910 + changes: *897 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171405,9 +170080,9 @@ x-webhooks: type: string enum: - reopened - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -171488,14 +170163,14 @@ x-webhooks: type: string enum: - created - installation: *861 - organization: *862 - projects_v2_status_update: &916 + installation: *845 + organization: *846 + projects_v2_status_update: &900 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *914 - required: *915 + properties: *898 + required: *899 sender: *4 required: - action @@ -171576,9 +170251,9 @@ x-webhooks: type: string enum: - deleted - installation: *861 - organization: *862 - projects_v2_status_update: *916 + installation: *845 + organization: *846 + projects_v2_status_update: *900 sender: *4 required: - action @@ -171714,9 +170389,9 @@ x-webhooks: type: string format: date nullable: true - installation: *861 - organization: *862 - projects_v2_status_update: *916 + installation: *845 + organization: *846 + projects_v2_status_update: *900 sender: *4 required: - action @@ -171787,10 +170462,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - repository @@ -171867,13 +170542,13 @@ x-webhooks: type: string enum: - assigned - assignee: *887 - enterprise: *860 - installation: *861 - number: &917 + assignee: *871 + enterprise: *844 + installation: *845 + number: &901 description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -174156,7 +172831,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -174238,11 +172913,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -176520,7 +175195,7 @@ x-webhooks: - draft reason: type: string - repository: *863 + repository: *847 sender: *4 required: - action @@ -176602,11 +175277,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -178884,7 +177559,7 @@ x-webhooks: - draft reason: type: string - repository: *863 + repository: *847 sender: *4 required: - action @@ -178966,13 +177641,13 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: &918 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: &902 allOf: - - *711 + - *695 - type: object properties: allow_auto_merge: @@ -179034,7 +177709,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *863 + repository: *847 sender: *4 required: - action @@ -179115,12 +177790,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -179200,11 +177875,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *860 - milestone: *693 - number: *917 - organization: *862 - pull_request: &919 + enterprise: *844 + milestone: *677 + number: *901 + organization: *846 + pull_request: &903 title: Pull Request type: object properties: @@ -181467,7 +180142,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -181546,11 +180221,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -183832,7 +182507,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *863 + repository: *847 sender: *4 required: - action @@ -183956,12 +182631,12 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -184041,11 +182716,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -186312,7 +184987,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -186392,11 +185067,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *860 - installation: *861 - label: *881 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + label: *865 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -188678,7 +187353,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -188759,10 +187434,10 @@ x-webhooks: type: string enum: - locked - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -191042,7 +189717,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -191122,12 +189797,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *860 - milestone: *693 - number: *917 - organization: *862 - pull_request: *919 - repository: *863 + enterprise: *844 + milestone: *677 + number: *901 + organization: *846 + pull_request: *903 + repository: *847 sender: *4 required: - action @@ -191206,12 +189881,12 @@ x-webhooks: type: string enum: - opened - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -191292,12 +189967,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -191377,12 +190052,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -191748,9 +190423,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: type: object properties: @@ -193920,7 +192595,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *863 + repository: *847 sender: *4 required: - action @@ -194000,7 +192675,7 @@ x-webhooks: type: string enum: - deleted - comment: &921 + comment: &905 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. @@ -194285,9 +192960,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: type: object properties: @@ -196445,7 +195120,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *863 + repository: *847 sender: *4 required: - action @@ -196525,11 +195200,11 @@ x-webhooks: type: string enum: - edited - changes: *920 - comment: *921 - enterprise: *860 - installation: *861 - organization: *862 + changes: *904 + comment: *905 + enterprise: *844 + installation: *845 + organization: *846 pull_request: type: object properties: @@ -198690,7 +197365,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *863 + repository: *847 sender: *4 required: - action @@ -198771,9 +197446,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -200946,7 +199621,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 + repository: *847 review: description: The review that was affected. type: object @@ -201193,9 +199868,9 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -203249,8 +201924,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 - review: &922 + repository: *847 + review: &906 description: The review that was affected. type: object properties: @@ -203483,12 +202158,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -205771,7 +204446,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_reviewer: title: User type: object @@ -205855,12 +204530,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -208150,7 +206825,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208342,12 +207017,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -210632,7 +209307,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_reviewer: title: User type: object @@ -210717,12 +209392,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -212998,7 +211673,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213179,9 +211854,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -215356,8 +214031,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 - review: *922 + repository: *847 + review: *906 sender: *4 required: - action @@ -215437,9 +214112,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -217509,7 +216184,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 + repository: *847 sender: *4 thread: type: object @@ -217896,9 +216571,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -219954,7 +218629,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 + repository: *847 sender: *4 thread: type: object @@ -220344,10 +219019,10 @@ x-webhooks: type: string before: type: string - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -222618,7 +221293,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -222700,11 +221375,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *923 - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + assignee: *907 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -224987,7 +223662,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -225066,11 +223741,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *860 - installation: *861 - label: *881 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + label: *865 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -227343,7 +226018,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -227424,10 +226099,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -229692,7 +228367,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -229892,7 +228567,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *860 + enterprise: *844 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229984,8 +228659,8 @@ x-webhooks: - url - author - committer - installation: *861 - organization: *862 + installation: *845 + organization: *846 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -230560,9 +229235,9 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 registry_package: type: object properties: @@ -231008,7 +229683,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *904 + items: *888 summary: type: string tag_name: @@ -231062,7 +229737,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -231140,9 +229815,9 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 registry_package: type: object properties: @@ -231450,7 +230125,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *904 + items: *888 summary: type: string tag_name: @@ -231499,7 +230174,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -231576,10 +230251,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - release: &924 + enterprise: *844 + installation: *845 + organization: *846 + release: &908 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231897,7 +230572,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *863 + repository: *847 sender: *4 required: - action @@ -231974,11 +230649,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - release: *924 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *908 + repository: *847 sender: *4 required: - action @@ -232095,11 +230770,11 @@ x-webhooks: type: boolean required: - to - enterprise: *860 - installation: *861 - organization: *862 - release: *924 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *908 + repository: *847 sender: *4 required: - action @@ -232177,9 +230852,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -232501,7 +231176,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *863 + repository: *847 sender: *4 required: - action @@ -232577,10 +231252,10 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 - release: &925 + enterprise: *844 + installation: *845 + organization: *846 + release: &909 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232899,7 +231574,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *863 + repository: *847 sender: *4 required: - action @@ -232975,11 +231650,11 @@ x-webhooks: type: string enum: - released - enterprise: *860 - installation: *861 - organization: *862 - release: *924 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *908 + repository: *847 sender: *4 required: - action @@ -233055,11 +231730,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *860 - installation: *861 - organization: *862 - release: *925 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *909 + repository: *847 sender: *4 required: - action @@ -233135,11 +231810,11 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - repository_advisory: *764 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + repository_advisory: *748 sender: *4 required: - action @@ -233215,11 +231890,11 @@ x-webhooks: type: string enum: - reported - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - repository_advisory: *764 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + repository_advisory: *748 sender: *4 required: - action @@ -233295,10 +231970,10 @@ x-webhooks: type: string enum: - archived - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233375,10 +232050,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233456,10 +232131,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233543,10 +232218,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233658,10 +232333,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233733,10 +232408,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 status: type: string @@ -233817,10 +232492,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233897,10 +232572,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233994,10 +232669,10 @@ x-webhooks: - name required: - repository - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -234077,10 +232752,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 repository_ruleset: *185 sender: *4 required: @@ -234159,10 +232834,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 repository_ruleset: *185 sender: *4 required: @@ -234241,10 +232916,10 @@ x-webhooks: type: string enum: - edited - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 repository_ruleset: *185 changes: type: object @@ -234306,16 +232981,16 @@ x-webhooks: properties: added: type: array - items: *732 + items: *716 deleted: type: array - items: *732 + items: *716 updated: type: array items: type: object properties: - rule: *732 + rule: *716 changes: type: object properties: @@ -234549,10 +233224,10 @@ x-webhooks: - from required: - owner - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -234630,10 +233305,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -234711,7 +233386,7 @@ x-webhooks: type: string enum: - create - alert: &926 + alert: &910 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234832,10 +233507,10 @@ x-webhooks: type: string enum: - open - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235041,10 +233716,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235122,11 +233797,11 @@ x-webhooks: type: string enum: - reopen - alert: *926 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *910 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235325,10 +234000,10 @@ x-webhooks: enum: - fixed - open - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235406,7 +234081,7 @@ x-webhooks: type: string enum: - created - alert: &927 + alert: &911 type: object properties: number: *123 @@ -235524,10 +234199,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235608,11 +234283,11 @@ x-webhooks: type: string enum: - created - alert: *927 - installation: *861 - location: *928 - organization: *862 - repository: *863 + alert: *911 + installation: *845 + location: *912 + organization: *846 + repository: *847 sender: *4 required: - location @@ -235850,11 +234525,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235932,11 +234607,11 @@ x-webhooks: type: string enum: - reopened - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -236014,11 +234689,11 @@ x-webhooks: type: string enum: - resolved - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -236096,11 +234771,11 @@ x-webhooks: type: string enum: - validated - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -236226,10 +234901,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *863 - enterprise: *860 - installation: *861 - organization: *862 + repository: *847 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -236307,11 +234982,11 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - security_advisory: &929 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + security_advisory: &913 description: The details of the security advisory, including summary, description, and severity. type: object @@ -236494,11 +235169,11 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - security_advisory: *929 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + security_advisory: *913 sender: *4 required: - action @@ -236571,10 +235246,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236758,11 +235433,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *418 - enterprise: *860 - installation: *861 - organization: *862 - repository: *483 + security_and_analysis: *408 + enterprise: *844 + installation: *845 + organization: *846 + repository: *467 sender: *4 required: - changes @@ -236840,12 +235515,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: &930 + sponsorship: &914 type: object properties: created_at: @@ -237146,12 +235821,12 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - sponsorship @@ -237239,12 +235914,12 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - changes @@ -237321,17 +235996,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &931 + effective_date: &915 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: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - sponsorship @@ -237405,7 +236080,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &932 + changes: &916 type: object properties: tier: @@ -237449,13 +236124,13 @@ x-webhooks: - from required: - tier - effective_date: *931 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + effective_date: *915 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - changes @@ -237532,13 +236207,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *932 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + changes: *916 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - changes @@ -237612,10 +236287,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237698,10 +236373,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238121,15 +236796,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *860 + enterprise: *844 id: description: The unique identifier of the status. type: integer - installation: *861 + installation: *845 name: type: string - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 sha: description: The Commit SHA. @@ -238244,9 +236919,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238336,9 +237011,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238428,9 +237103,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238520,9 +237195,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238599,12 +237274,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - team: &933 + team: &917 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238827,9 +237502,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -239287,7 +237962,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -239363,9 +238038,9 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -239823,7 +238498,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -239900,9 +238575,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -240360,7 +239035,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -240504,9 +239179,9 @@ x-webhooks: - from required: - permissions - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -240964,7 +239639,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - changes @@ -241042,9 +239717,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -241502,7 +240177,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -241578,10 +240253,10 @@ x-webhooks: type: string enum: - started - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -241654,16 +240329,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *860 + enterprise: *844 inputs: type: object nullable: true additionalProperties: true - installation: *861 - organization: *862 + installation: *845 + organization: *846 ref: type: string - repository: *863 + repository: *847 sender: *4 workflow: type: string @@ -241745,10 +240420,10 @@ x-webhooks: type: string enum: - completed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: allOf: @@ -241985,7 +240660,7 @@ x-webhooks: type: string required: - conclusion - deployment: *615 + deployment: *599 required: - action - repository @@ -242064,10 +240739,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: allOf: @@ -242327,7 +241002,7 @@ x-webhooks: required: - status - steps - deployment: *615 + deployment: *599 required: - action - repository @@ -242406,10 +241081,10 @@ x-webhooks: type: string enum: - queued - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: type: object @@ -242544,7 +241219,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *599 required: - action - repository @@ -242623,10 +241298,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: type: object @@ -242762,7 +241437,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *599 required: - action - repository @@ -242842,12 +241517,12 @@ x-webhooks: type: string enum: - completed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 workflow_run: title: Workflow Run type: object @@ -243846,12 +242521,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 workflow_run: title: Workflow Run type: object @@ -244835,12 +243510,12 @@ x-webhooks: type: string enum: - requested - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 55b39d4ad..cf7f65190 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -39703,7 +39703,7 @@ "operationId": "enterprise-admin/get-consumed-licenses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses" }, "parameters": [ { @@ -39926,7 +39926,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -46400,7 +46400,7 @@ "operationId": "enterprise-admin/get-license-sync-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status" }, "parameters": [ { @@ -46487,7 +46487,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -61686,148 +61686,6 @@ } } }, - "/enterprises/{enterprise}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-actions-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, "/enterprises/{enterprise}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an enterprise", @@ -61838,7 +61696,7 @@ "operationId": "billing/get-github-advanced-security-billing-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise" }, "parameters": [ { @@ -62005,7 +61863,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, @@ -62019,7 +61877,7 @@ "operationId": "billing/get-all-budgets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets" }, "parameters": [ { @@ -62240,7 +62098,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "post": { @@ -62252,7 +62110,7 @@ "operationId": "billing/create-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget" }, "parameters": [ { @@ -62595,7 +62453,7 @@ "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -62698,7 +62556,7 @@ "server-error": { "value": { "message": "Unable to create budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -62710,7 +62568,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -62724,7 +62582,7 @@ "operationId": "billing/get-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id" }, "parameters": [ { @@ -63017,7 +62875,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -63029,7 +62887,7 @@ "operationId": "billing/update-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget" }, "parameters": [ { @@ -63366,13 +63224,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -63475,7 +63333,7 @@ "server-error": { "value": { "message": "Unable to retrieve budget.", - "documentation_url": "https://docs.github.com/rest/enterprise-admin/billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -63509,7 +63367,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -63521,7 +63379,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -63533,7 +63391,7 @@ "operationId": "billing/delete-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget" }, "parameters": [ { @@ -63752,7 +63610,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -63766,7 +63624,7 @@ "operationId": "billing/get-all-cost-centers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise" }, "parameters": [ { @@ -64031,8 +63889,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "post": { @@ -64044,7 +63902,7 @@ "operationId": "billing/create-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center" }, "parameters": [ { @@ -64200,8 +64058,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -64215,7 +64073,7 @@ "operationId": "billing/get-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id" }, "parameters": [ { @@ -64453,8 +64311,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "patch": { @@ -64466,7 +64324,7 @@ "operationId": "billing/update-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name" }, "parameters": [ { @@ -64783,8 +64641,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -64796,7 +64654,7 @@ "operationId": "billing/delete-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center" }, "parameters": [ { @@ -65029,8 +64887,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -65044,7 +64902,7 @@ "operationId": "billing/add-resource-to-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center" }, "parameters": [ { @@ -65333,8 +65191,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -65346,7 +65204,7 @@ "operationId": "billing/remove-resource-from-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center" }, "parameters": [ { @@ -65571,79 +65429,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, - "/enterprises/{enterprise}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-packages-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise" - }, - "parameters": [ - { - "name": "enterprise", - "description": "The slug version of the enterprise name.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -65657,7 +65444,7 @@ "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise" }, "parameters": [ { @@ -66070,22 +65857,22 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, - "/enterprises/{enterprise}/settings/billing/shared-storage": { + "/enterprises/{enterprise}/settings/billing/usage": { "get": { - "summary": "Get shared storage billing for an enterprise", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-shared-storage-billing-ghe", + "summary": "Get billing usage report for an enterprise", + "description": "Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default this endpoint will return usage that does not have a cost center.\n\n**Note:** This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform for enterprises](https://docs.github.com/enterprise-cloud@latest//billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform).\"", "tags": [ "billing" ], + "operationId": "billing/get-github-billing-usage-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise" }, "parameters": [ { @@ -66096,41 +65883,269 @@ "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`. 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": "cost_center_id", + "description": "The ID corresponding to a cost center. The default value is no cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { "200": { - "description": "Response", + "description": "Response when getting a billing usage report", "content": { "application/json": { "schema": { "type": "object", "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] + } }, "examples": { "default": { "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": "string", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" } } } @@ -66141,321 +66156,22 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, - "/enterprises/{enterprise}/settings/billing/usage": { + "/enterprises/{enterprise}/settings/billing/usage/summary": { "get": { - "summary": "Get billing usage report for an enterprise", - "description": "Gets a report of usage by cost center for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default this endpoint will return usage that does not have a cost center.\n\n**Note:** This endpoint is only available to enterprises with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform for enterprises](https://docs.github.com/enterprise-cloud@latest//billing/using-the-enhanced-billing-platform-for-enterprises/about-the-enhanced-billing-platform-for-enterprises#how-do-i-know-if-i-can-access-the-enhanced-billing-platform).\"", + "summary": "Get billing usage summary for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", "tags": [ "billing" ], - "operationId": "billing/get-github-billing-usage-report-ghe", + "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-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`. 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": "cost_center_id", - "description": "The ID corresponding to a cost center. The default value is no cost center.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage report", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "usageItems": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "organizationName": "GitHub", - "repositoryName": "github/example" - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, - "/enterprises/{enterprise}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for an enterprise", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise. By default, this endpoint will return usage across all cost centers in the enterprise.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-ghe", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -66836,8 +66552,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -99029,2300 +98745,6 @@ } } }, - "/organizations/{org}/settings/billing/budgets": { - "get": { - "summary": "Get all budgets for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-all-budgets-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting all budgets", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budgets": { - "type": "array", - "items": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "The unique identifier for the budget", - "example": "2066deda-923f-43f9-88d2-62395a28c0cdd" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "example": "SkuPricing", - "enum": [ - "SkuPricing", - "ProductPricing" - ] - }, - "budget_amount": { - "type": "integer", - "description": "The budget amount limit in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "The type of limit enforcement for the budget", - "example": true - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "example": "enterprise" - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "example": "octocat/hello-world" - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to." - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] - } - }, - "required": [ - "will_alert", - "alert_recipients" - ] - } - }, - "required": [ - "id", - "budget_type", - "budget_product_sku", - "budget_scope", - "budget_amount", - "prevent_further_usage", - "budget_alerting" - ] - }, - "description": "Array of budget objects for the enterprise" - } - }, - "required": [ - "budgets" - ] - }, - "examples": { - "default": { - "value": { - "budgets": [ - { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "actions" - ], - "budget_scope": "enterprise", - "budget_amount": 1000.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "enterprise-admin", - "billing-manager" - ] - } - }, - { - "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", - "budget_type": "SkuPricing", - "budget_product_skus": [ - "actions_linux" - ], - "budget_scope": "organization", - "budget_amount": 500.0, - "prevent_further_usage": false, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "org-owner" - ] - } - }, - { - "id": "6ba7b810-9dad-11d1-80b4-00c04fd430c8", - "budget_type": "ProductPricing", - "budget_product_skus": [ - "packages" - ], - "budget_scope": "cost_center", - "budget_amount": 250.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - ] - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/budgets/{budget_id}": { - "get": { - "summary": "Get a budget by ID for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when updating a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_scope": { - "type": "string", - "description": "The type of scope for the budget", - "example": "enterprise", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "example": "octocat/hello-world" - }, - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded", - "example": true - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to.", - "example": "actions_linux" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "example": "ProductPricing", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "example": true - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "example": [ - "mona", - "lisa" - ] - } - } - } - }, - "required": [ - "id", - "budget_amount", - "prevent_further_usage", - "budget_product_sku", - "budget_type", - "budget_alerting", - "budget_scope", - "budget_entity_name" - ] - }, - "examples": { - "default": { - "value": { - "id": "2066deda-923f-43f9-88d2-62395a28c0cdd", - "budget_type": "ProductPricing", - "budget_product_sku": "actions_linux", - "budget_scope": "repository", - "budget_entity_name": "example-repo-name", - "budget_amount": 0.0, - "prevent_further_usage": true, - "budget_alerting": { - "will_alert": true, - "alert_recipients": [ - "mona", - "lisa" - ] - } - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "patch": { - "summary": "Update a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/update-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - }, - "examples": { - "update-budget": { - "summary": "Update budget example", - "value": { - "prevent_further_usage": false, - "budget_amount": 10, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Budget updated successfully", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "example": "Budget successfully updated." - }, - "budget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_amount": { - "type": "number", - "format": "float", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "required": [ - "will_alert", - "alert_recipients" - ], - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "default": "" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - } - } - }, - "examples": { - "update-budget": { - "value": { - "message": "Budget successfully updated.", - "id": "550e8400-e29b-41d4-a716-446655440000" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "401": { - "description": "Requires authentication", - "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" - } - } - } - } - } - }, - "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": "Budget not found or feature not enabled", - "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" - } - } - }, - "examples": { - "budget-not-found": { - "value": { - "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - }, - "feature-not-enabled": { - "value": { - "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - }, - "422": { - "description": "Validation failed, or the endpoint has been spammed.", - "content": { - "application/json": { - "schema": { - "title": "Validation Error", - "description": "Validation Error", - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "errors": { - "type": "array", - "items": { - "type": "object", - "required": [ - "code" - ], - "properties": { - "resource": { - "type": "string" - }, - "field": { - "type": "string" - }, - "message": { - "type": "string" - }, - "code": { - "type": "string" - }, - "index": { - "type": "integer" - }, - "value": { - "oneOf": [ - { - "type": "string", - "nullable": true - }, - { - "type": "integer", - "nullable": true - }, - { - "type": "array", - "nullable": true, - "items": { - "type": "string" - } - } - ] - } - } - } - } - } - } - } - } - }, - "500": { - "description": "Internal server 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" - } - } - }, - "examples": { - "server-error": { - "value": { - "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "delete": { - "summary": "Delete a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/delete-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "budget_id", - "description": "The ID corresponding to the budget.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when deleting a budget", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "description": "A message indicating the result of the deletion operation" - }, - "id": { - "type": "string", - "description": "The ID of the deleted budget" - } - }, - "required": [ - "message", - "id" - ] - }, - "examples": { - "default": { - "value": { - "message": "Budget successfully deleted.", - "budget_id": "2c1feb79-3947-4dc8-a16e-80cbd732cc0b" - } - } - } - } - } - }, - "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" - } - } - } - } - } - } - }, - "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" - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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", - "description": "Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform](https://docs.github.com/enterprise-cloud@latest//billing/using-the-new-billing-platform).\"", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "year", - "description": "If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, `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`. 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" - } - } - ], - "responses": { - "200": { - "description": "Billing usage report response for an organization", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "organizationName": { - "type": "string", - "description": "Name of the organization." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount", - "organizationName" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "usageItems": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "organizationName": "GitHub", - "repositoryName": "github/example" - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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": "repository", - "description": "The repository name to query for usage in the format owner/repository.", - "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": "sku", - "description": "The SKU to query for usage.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage summary", - "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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "organization", - "usageItems" - ] - }, - "examples": { - "default": { - "value": { - "timePeriod": { - "year": 2025 - }, - "organization": "GitHub", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.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" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -225562,148 +222984,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an organization", @@ -225885,148 +223165,6 @@ } } }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -687053,1333 +684191,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, - "examples": { - "default": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, - "examples": { - "default": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "name": "username", - "description": "The handle for the GitHub user account.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, - "examples": { - "default": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/usage": { - "get": { - "summary": "Get billing usage report for a user", - "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-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`. 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" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage report", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount" - ] - } - } - } - }, - "examples": { - "default": { - "value": { - "usageItems": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "repositoryName": "user/example" - } - ] - } - } - } - } - } - }, - "400": { - "description": "Bad Request", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - }, - "application/scim+json": { - "schema": { - "title": "Scim Error", - "description": "Scim Error", - "type": "object", - "properties": { - "message": { - "type": "string", - "nullable": true - }, - "documentation_url": { - "type": "string", - "nullable": true - }, - "detail": { - "type": "string", - "nullable": true - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": "string", - "nullable": true - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for a user", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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": "repository", - "description": "The repository name to query for usage in the format owner/repository.", - "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": "sku", - "description": "The SKU to query for usage.", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Response when getting a billing usage summary", - "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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "user", - "usageItems" - ] - }, - "examples": { - "default": { - "value": { - "timePeriod": { - "year": 2025 - }, - "user": "monalisa", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.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}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 434047188..e891ea64d 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -865,7 +865,7 @@ paths: - subscriptions_url - type - url - type: &438 + type: &428 type: string description: The type of credit the user is receiving. enum: @@ -998,7 +998,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &260 + schema: &250 title: Validation Error Simple description: Validation Error Simple type: object @@ -1031,7 +1031,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: - - &766 + - &750 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1587,7 +1587,7 @@ paths: schema: type: integer default: 30 - - &348 + - &338 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 @@ -1603,7 +1603,7 @@ paths: application/json: schema: type: array - items: &349 + items: &339 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1683,7 +1683,7 @@ paths: - installation_id - repository_id examples: - default: &350 + default: &340 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1715,7 +1715,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &776 + schema: &760 title: Scim Error description: Scim Error type: object @@ -1742,7 +1742,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &259 + schema: &249 title: Validation Error description: Validation Error type: object @@ -1811,7 +1811,7 @@ paths: description: Response content: application/json: - schema: &351 + schema: &341 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1925,7 +1925,7 @@ paths: - request - response examples: - default: &352 + default: &342 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2913,7 +2913,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &416 + properties: &406 id: description: Unique identifier of the repository example: 42 @@ -3351,7 +3351,7 @@ paths: type: boolean lexical_commit_sha: type: string - required: &417 + required: &407 - archive_url - assignees_url - blobs_url @@ -7508,7 +7508,7 @@ paths: description: Response content: application/json: - schema: &261 + schema: &251 type: object properties: total_active_caches_count: @@ -7523,7 +7523,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &262 + default: &252 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7716,7 +7716,7 @@ paths: - public_ip_enabled - platform examples: - default: &263 + default: &253 value: total_count: 2 runners: @@ -8011,7 +8011,7 @@ paths: application/json: schema: *45 examples: - default: &264 + default: &254 value: id: 1 platform: linux-x64 @@ -8151,7 +8151,7 @@ paths: application/json: schema: *48 examples: - default: &265 + default: &255 value: version: 1.0.0 size_gb: 75 @@ -8315,7 +8315,7 @@ paths: description: Response content: application/json: - schema: &266 + schema: &256 type: object properties: public_ips: @@ -8340,7 +8340,7 @@ paths: required: - public_ips examples: - default: &267 + default: &257 value: public_ips: current_usage: 17 @@ -8380,7 +8380,7 @@ paths: type: array items: *52 examples: - default: &268 + default: &258 value: id: 4-core cpu_cores: 4 @@ -8642,7 +8642,7 @@ paths: - all - local_only - selected - selected_actions_url: &271 + selected_actions_url: &261 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` @@ -8722,7 +8722,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &273 + schema: &263 type: object properties: days: @@ -8740,7 +8740,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &777 + '401': &761 description: Authorization failure '404': *6 x-github: @@ -8768,7 +8768,7 @@ paths: required: true content: application/json: - schema: &274 + schema: &264 type: object properties: days: @@ -8817,7 +8817,7 @@ paths: required: - approval_policy examples: - default: &275 + default: &265 value: approval_policy: first_time_contributors '404': *6 @@ -8875,7 +8875,7 @@ paths: description: Response content: application/json: - schema: &276 + schema: &266 type: object required: - run_workflows_from_fork_pull_requests @@ -8929,7 +8929,7 @@ paths: required: true content: application/json: - schema: &277 + schema: &267 type: object required: - run_workflows_from_fork_pull_requests @@ -9352,7 +9352,7 @@ paths: description: Success response content: application/json: - schema: &280 + schema: &270 type: object properties: default_workflow_permissions: &63 @@ -9400,7 +9400,7 @@ paths: required: true content: application/json: - schema: &281 + schema: &271 type: object properties: default_workflow_permissions: *63 @@ -10236,7 +10236,7 @@ paths: application/json: schema: type: array - items: &285 + items: &275 title: Runner Application description: Runner Application type: object @@ -10261,7 +10261,7 @@ paths: - download_url - filename examples: - default: &286 + default: &276 value: - os: osx architecture: x64 @@ -10345,7 +10345,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &287 + '201': &277 description: Response content: application/json: @@ -10460,7 +10460,7 @@ paths: - token - expires_at examples: - default: &288 + default: &278 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10500,7 +10500,7 @@ paths: application/json: schema: *75 examples: - default: &289 + default: &279 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10532,7 +10532,7 @@ paths: application/json: schema: *72 examples: - default: &290 + default: &280 value: id: 23 name: MBP @@ -10748,7 +10748,7 @@ paths: - *41 - *71 responses: - '200': &291 + '200': &281 description: Response content: application/json: @@ -10804,7 +10804,7 @@ paths: parameters: - *41 - *71 - - &292 + - &282 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10895,7 +10895,7 @@ paths: required: true content: application/json: - schema: &299 + schema: &289 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11536,7 +11536,7 @@ paths: required: false schema: type: string - - &302 + - &292 name: include description: |- The event types to include: @@ -11554,7 +11554,7 @@ paths: - web - git - all - - &303 + - &293 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. @@ -11562,7 +11562,7 @@ paths: required: false schema: type: string - - &304 + - &294 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. @@ -11570,7 +11570,7 @@ paths: required: false schema: type: string - - &305 + - &295 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11592,7 +11592,7 @@ paths: application/json: schema: type: array - items: &306 + items: &296 type: object properties: "@timestamp": @@ -11714,7 +11714,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &307 + default: &297 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12380,7 +12380,7 @@ paths: application/json: schema: type: array - items: &308 + items: &298 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12541,7 +12541,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &309 + default: &299 value: - id: 21 number: 42 @@ -12646,7 +12646,7 @@ paths: application/json: schema: type: array - items: &311 + items: &301 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12771,7 +12771,7 @@ paths: format: uri example: https://github.com/octo-org/smile/exemptions/1 examples: - default: &312 + default: &302 value: - id: 21 number: 42 @@ -12856,7 +12856,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *41 - - &317 + - &307 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`, @@ -12866,7 +12866,7 @@ paths: schema: &107 type: string description: The name of the tool used to generate the code scanning analysis. - - &318 + - &308 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 @@ -12889,7 +12889,7 @@ paths: be returned. in: query required: false - schema: &319 + schema: &309 type: string description: State of a code scanning alert. enum: @@ -12914,7 +12914,7 @@ paths: application/json: schema: type: array - items: &320 + items: &310 type: object properties: number: &123 @@ -12943,7 +12943,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &551 + instances_url: &535 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -12978,7 +12978,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &552 + dismissed_reason: &536 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -12987,13 +12987,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &553 + dismissed_comment: &537 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &554 + rule: &538 type: object properties: id: @@ -13046,7 +13046,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &555 + tool: &539 type: object properties: name: *107 @@ -13056,15 +13056,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *108 - most_recent_instance: &556 + most_recent_instance: &540 type: object properties: - ref: &549 + ref: &533 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &566 + analysis_key: &550 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13075,7 +13075,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &567 + category: &551 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13423,7 +13423,7 @@ paths: - most_recent_instance - repository examples: - default: &321 + default: &311 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14076,7 +14076,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &322 + code_scanning_options: &312 type: object description: Security Configuration feature options for code scanning nullable: true @@ -14270,7 +14270,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &314 type: array description: A list of default code security configurations items: @@ -14286,7 +14286,7 @@ paths: default configuration: *110 examples: - default: &325 + default: &315 value: - default_for_new_repos: public configuration: @@ -14740,7 +14740,7 @@ paths: default: value: default_for_new_repos: all - configuration: &323 + configuration: &313 value: id: 1325 target_type: organization @@ -14825,7 +14825,7 @@ paths: application/json: schema: type: array - items: &326 + items: &316 type: object description: Repositories associated with a code security configuration and attachment status @@ -14849,7 +14849,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &327 + repository: &317 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15123,7 +15123,7 @@ paths: operationId: enterprise-admin/get-consumed-licenses externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses parameters: - *41 - *17 @@ -15263,7 +15263,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/copilot/billing/seats": get: summary: List all Copilot seat assignments for an enterprise @@ -15338,7 +15338,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &313 + - &303 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15413,7 +15413,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &383 + properties: &373 id: description: Unique identifier of the team type: integer @@ -15485,7 +15485,7 @@ paths: description: Unique identifier of the enterprise to which this team belongs example: 42 - required: &384 + required: &374 - id - node_id - url @@ -16718,7 +16718,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *41 - - &333 + - &323 name: state in: query description: |- @@ -16727,7 +16727,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &334 + - &324 name: severity in: query description: |- @@ -16736,7 +16736,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &335 + - &325 name: ecosystem in: query description: |- @@ -16745,14 +16745,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &336 + - &326 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 - - &337 + - &327 name: epss_percentage in: query description: |- @@ -16764,7 +16764,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 - - &606 + - &590 name: has in: query description: |- @@ -16778,7 +16778,7 @@ paths: type: string enum: - patch - - &338 + - &328 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16788,7 +16788,7 @@ paths: enum: - development - runtime - - &339 + - &329 name: sort in: query description: |- @@ -16814,7 +16814,7 @@ paths: application/json: schema: type: array - items: &340 + items: &330 type: object description: A Dependabot alert. properties: @@ -16877,7 +16877,7 @@ paths: - unknown - direct - transitive - security_advisory: &607 + security_advisory: &591 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17109,7 +17109,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: &608 + auto_dismissed_at: &592 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -17135,7 +17135,7 @@ paths: - repository additionalProperties: false examples: - default: &341 + default: &331 value: - number: 2 state: dismissed @@ -18071,7 +18071,7 @@ paths: operationId: enterprise-admin/get-license-sync-status externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status parameters: - *41 responses: @@ -18123,7 +18123,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/members/{username}/copilot": get: summary: Get Copilot seat assignment details for an enterprise user @@ -18247,7 +18247,7 @@ paths: - name - created_on examples: - default: &449 + default: &433 value: total_count: 2 network_configurations: @@ -18470,7 +18470,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 - - &450 + - &434 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -18482,7 +18482,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &435 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -18516,7 +18516,7 @@ paths: - subnet_id - region examples: - default: &452 + default: &436 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19310,7 +19310,7 @@ paths: required: true content: application/json: - schema: &415 + schema: &405 title: Custom Property Set Payload description: Custom property set payload type: object @@ -20475,7 +20475,7 @@ paths: nullable: true anyOf: - *157 - - &421 + - &411 title: Organization ruleset conditions type: object description: |- @@ -20522,7 +20522,7 @@ paths: - *160 rules: type: array - items: &732 + items: &716 title: Repository Rule type: object description: A repository rule. @@ -20531,7 +20531,7 @@ paths: - *166 - *167 - *168 - - &729 + - &713 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -20625,7 +20625,7 @@ paths: - *182 - *183 - *184 - - &730 + - &714 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -20881,7 +20881,7 @@ paths: type: string format: date-time examples: - default: &424 + default: &414 value: - version_id: 3 actor: @@ -20934,7 +20934,7 @@ paths: description: Response content: application/json: - schema: &425 + schema: &415 allOf: - *189 - type: object @@ -20989,7 +20989,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *41 - - &426 + - &416 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21000,7 +21000,7 @@ paths: enum: - open - resolved - - &427 + - &417 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21010,7 +21010,7 @@ paths: required: false schema: type: string - - &428 + - &418 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21019,7 +21019,7 @@ paths: required: false schema: type: string - - &429 + - &419 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. @@ -21035,7 +21035,7 @@ paths: - *17 - *104 - *105 - - &430 + - &420 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21044,7 +21044,7 @@ paths: required: false schema: type: string - - &431 + - &421 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21053,7 +21053,7 @@ paths: schema: type: boolean default: false - - &432 + - &422 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21062,7 +21062,7 @@ paths: schema: type: boolean default: false - - &433 + - &423 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21078,7 +21078,7 @@ paths: application/json: schema: type: array - items: &434 + items: &424 type: object properties: number: *123 @@ -21097,14 +21097,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &744 + state: &728 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: &745 + resolution: &729 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -21211,8 +21211,8 @@ paths: pull request. ' - oneOf: &746 - - &748 + oneOf: &730 + - &732 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21264,7 +21264,7 @@ paths: - blob_url - commit_sha - commit_url - - &749 + - &733 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. @@ -21319,7 +21319,7 @@ paths: - page_url - commit_sha - commit_url - - &750 + - &734 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21333,7 +21333,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &751 + - &735 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21347,7 +21347,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &752 + - &736 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21361,7 +21361,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &753 + - &737 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -21375,7 +21375,7 @@ paths: example: https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &754 + - &738 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -21389,7 +21389,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &755 + - &739 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -21403,7 +21403,7 @@ paths: example: https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &756 + - &740 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. @@ -21417,7 +21417,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &757 + - &741 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. @@ -21431,7 +21431,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &758 + - &742 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. @@ -21445,7 +21445,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &759 + - &743 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. @@ -21459,7 +21459,7 @@ paths: example: https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &760 + - &744 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. @@ -21486,7 +21486,7 @@ paths: required: *21 nullable: true examples: - default: &435 + default: &425 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -21695,7 +21695,7 @@ paths: description: Response content: application/json: - schema: &436 + schema: &426 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -21778,7 +21778,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *191 examples: - default: &437 + default: &427 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -21897,115 +21897,6 @@ paths: '404': *6 '409': *114 '422': *15 - "/enterprises/{enterprise}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an enterprise - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-actions-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise - parameters: - - *41 - responses: - '200': - description: Response - content: - application/json: - schema: &440 - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes - used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner - machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner - machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner - machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown - examples: - default: &441 - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing "/enterprises/{enterprise}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an enterprise @@ -22020,10 +21911,10 @@ paths: operationId: billing/get-github-advanced-security-billing-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *41 - - &442 + - &430 name: advanced_security_product in: query description: | @@ -22043,7 +21934,7 @@ paths: description: Success content: application/json: - schema: &443 + schema: &431 type: object properties: total_advanced_security_committers: @@ -22098,7 +21989,7 @@ paths: required: - repositories examples: - default: &444 + default: &432 value: total_advanced_security_committers: 2 total_count: 2 @@ -22124,7 +22015,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: enterprise-admin - subcategory: billing + subcategory: licensing "/enterprises/{enterprise}/settings/billing/budgets": get: summary: Get all budgets @@ -22138,11 +22029,11 @@ paths: operationId: billing/get-all-budgets externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets parameters: - *41 responses: - '200': &247 + '200': description: Response when getting all budgets content: application/json: @@ -22261,7 +22152,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets post: summary: Create a budget description: |- @@ -22274,7 +22165,7 @@ paths: operationId: billing/create-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget parameters: - *41 requestBody: @@ -22434,7 +22325,7 @@ paths: feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget '422': *15 '500': description: Internal server error @@ -22445,12 +22336,12 @@ paths: server-error: value: message: Unable to create budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID @@ -22464,7 +22355,7 @@ paths: operationId: billing/get-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - *41 - &193 @@ -22475,7 +22366,7 @@ paths: schema: type: string responses: - '200': &248 + '200': description: Response when updating a budget content: application/json: @@ -22566,7 +22457,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget description: |- @@ -22579,7 +22470,7 @@ paths: operationId: billing/update-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget parameters: - name: enterprise in: path @@ -22738,11 +22629,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': *15 '500': description: Internal server error @@ -22753,7 +22644,7 @@ paths: server-error: value: message: Unable to retrieve budget. - documentation_url: https://docs.github.com/rest/enterprise-admin/billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '503': description: Service unavailable content: @@ -22763,12 +22654,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget description: |- @@ -22781,12 +22672,12 @@ paths: operationId: billing/delete-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - *41 - *193 responses: - '200': &249 + '200': description: Response when deleting a budget content: application/json: @@ -22816,7 +22707,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/cost-centers": get: summary: Get all cost centers for an enterprise @@ -22826,7 +22717,7 @@ paths: operationId: billing/get-all-cost-centers externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise parameters: - *41 - name: state @@ -22914,8 +22805,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers post: summary: Create a new cost center description: Creates a new cost center for an enterprise. The authenticated @@ -22925,7 +22816,7 @@ paths: operationId: billing/create-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center parameters: - *41 requestBody: @@ -23024,8 +22915,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": get: summary: Get a cost center by ID @@ -23036,7 +22927,7 @@ paths: operationId: billing/get-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - *41 - &196 @@ -23108,8 +22999,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers patch: summary: Update a cost center name description: Updates an existing cost center name. @@ -23118,7 +23009,7 @@ paths: operationId: billing/update-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name parameters: - name: enterprise in: path @@ -23166,8 +23057,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Delete a cost center description: Archieves a cost center by ID. The authenticated user must be an @@ -23177,7 +23068,7 @@ paths: operationId: billing/delete-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - *41 - *196 @@ -23223,8 +23114,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add resources to a cost center @@ -23237,7 +23128,7 @@ paths: operationId: billing/add-resource-to-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - *41 - *196 @@ -23316,8 +23207,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Remove resources from a cost center description: |- @@ -23329,7 +23220,7 @@ paths: operationId: billing/remove-resource-from-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - *41 - *196 @@ -23383,61 +23274,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing - "/enterprises/{enterprise}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an enterprise - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-packages-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise - parameters: - - *41 - responses: - '200': - description: Response - content: - application/json: - schema: &445 - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub - Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth - examples: - default: &446 - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise @@ -23450,7 +23288,7 @@ paths: 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 + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - *41 - &197 @@ -23488,15 +23326,13 @@ paths: required: false schema: type: string - - &250 - name: user + - name: user description: The user name to query usage for. The name is not case sensitive. in: query required: false schema: type: string - - &251 - name: model + - name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false @@ -23645,61 +23481,8 @@ paths: 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-shared-storage-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise - parameters: - - *41 - responses: - '200': - description: Response - content: - application/json: - schema: &447 - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) - used in billing cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month - examples: - default: &448 - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage": get: summary: Get billing usage report for an enterprise @@ -23712,12 +23495,11 @@ paths: operationId: billing/get-github-billing-usage-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - *41 - *197 - - &252 - name: 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. @@ -23738,7 +23520,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &253 + schema: type: object properties: usageItems: @@ -23791,7 +23573,7 @@ paths: - netAmount - organizationName examples: - default: &254 + default: value: usageItems: - date: '2023-08-01' @@ -23812,8 +23594,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage/summary": get: summary: Get billing usage summary for an enterprise @@ -23829,23 +23611,21 @@ paths: operationId: billing/get-github-billing-usage-summary-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - *41 - *197 - *199 - *198 - *200 - - &255 - name: repository + - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - *201 - - &256 - name: sku + - name: sku description: The SKU to query for usage. in: query required: false @@ -23981,8 +23761,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -24922,7 +24702,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &666 + properties: &650 id: type: integer format: int64 @@ -25034,7 +24814,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &405 + properties: &395 url: type: string format: uri @@ -25104,7 +24884,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &406 + required: &396 - closed_issues - creator - description @@ -25183,7 +24963,7 @@ paths: timeline_url: type: string format: uri - type: &370 + type: &360 title: Issue Type description: The type of issue. type: object @@ -25294,7 +25074,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &804 + sub_issues_summary: &788 title: Sub-issues Summary type: object properties: @@ -25314,7 +25094,7 @@ paths: type: string format: uri nullable: true - issue_dependencies_summary: &805 + issue_dependencies_summary: &789 title: Issue Dependencies Summary type: object properties: @@ -25333,7 +25113,7 @@ paths: - total_blocking issue_field_values: type: array - items: &806 + items: &790 title: Issue Field Value description: A value assigned to an issue field type: object @@ -25393,7 +25173,7 @@ paths: - node_id - data_type - value - required: &667 + required: &651 - assignee - closed_at - comments @@ -25414,7 +25194,7 @@ paths: - user - created_at - updated_at - comment: &664 + comment: &648 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -25972,7 +25752,7 @@ paths: url: type: string format: uri - user: &818 + user: &802 title: Public User description: Public User type: object @@ -27842,7 +27622,7 @@ paths: - closed - all default: open - - &373 + - &363 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -27893,7 +27673,7 @@ paths: type: array items: *227 examples: - default: &374 + default: &364 value: - id: 1 node_id: MDU6SXNzdWUx @@ -29277,14 +29057,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: - - &472 + - &456 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &473 + - &457 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -29346,7 +29126,7 @@ paths: '404': *6 '403': *29 '304': *37 - '301': &484 + '301': &468 description: Moved permanently content: application/json: @@ -29368,7 +29148,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &696 + - &680 name: all description: If `true`, show notifications marked as read. in: query @@ -29376,7 +29156,7 @@ paths: schema: type: boolean default: false - - &697 + - &681 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -29386,7 +29166,7 @@ paths: type: boolean default: false - *217 - - &698 + - &682 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: @@ -29418,11 +29198,11 @@ paths: properties: id: type: string - repository: &284 + repository: &274 title: Minimal Repository description: Minimal Repository type: object - properties: &343 + properties: &333 id: type: integer format: int64 @@ -29698,7 +29478,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &418 + security_and_analysis: &408 nullable: true type: object properties: @@ -29780,7 +29560,7 @@ paths: the repository. The keys are the custom property names, and the values are the corresponding custom property values. additionalProperties: true - required: &344 + required: &334 - archive_url - assignees_url - blobs_url @@ -29868,7 +29648,7 @@ paths: - url - subscription_url examples: - default: &699 + default: &683 value: - id: '1' repository: @@ -30465,7 +30245,7 @@ paths: type: integer custom_roles: type: array - items: &329 + items: &319 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -30513,7 +30293,7 @@ paths: - created_at - updated_at examples: - default: &330 + default: &320 value: id: 8030 name: Security Engineer @@ -30839,7 +30619,7 @@ paths: type: array items: *151 examples: - default: &705 + default: &689 value: - property_name: environment value: production @@ -30889,7 +30669,7 @@ paths: required: - properties examples: - default: &706 + default: &690 value: properties: - property_name: environment @@ -30910,569 +30690,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: custom-properties-for-orgs - "/organizations/{org}/settings/billing/budgets": - get: - summary: Get all budgets for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-all-budgets-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization - parameters: - - *83 - responses: - '200': *247 - '404': *6 - '403': *29 - '500': *40 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/budgets/{budget_id}": - get: - summary: Get a budget by ID for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a budget by ID. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization - parameters: - - *83 - - *193 - responses: - '200': *248 - '400': *14 - '404': *6 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - patch: - summary: Update a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Updates an existing budget for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/update-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization - parameters: - - *83 - - *193 - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - budget_amount: - type: integer - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the budget - is exceeded - budget_alerting: - type: object - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered in the - budget - examples: - update-budget: - summary: Update budget example - value: - prevent_further_usage: false - budget_amount: 10 - budget_alerting: - will_alert: false - alert_recipients: [] - responses: - '200': - description: Budget updated successfully - content: - application/json: - schema: - type: object - properties: - message: - type: string - example: Budget successfully updated. - budget: - type: object - properties: - id: - type: string - description: ID of the budget. - budget_amount: - type: number - format: float - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the - budget is exceeded - budget_alerting: - type: object - required: - - will_alert - - alert_recipients - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive - alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - default: '' - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered - in the budget - examples: - update-budget: - value: - message: Budget successfully updated. - id: 550e8400-e29b-41d4-a716-446655440000 - '400': *14 - '401': *25 - '403': *29 - '404': - description: Budget not found or feature not enabled - content: - application/json: - schema: *3 - examples: - budget-not-found: - value: - message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not - found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - feature-not-enabled: - value: - message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - '422': *15 - '500': - description: Internal server error - content: - application/json: - schema: *3 - examples: - server-error: - value: - message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: enhanced-billing - delete: - summary: Delete a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Deletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/delete-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization - parameters: - - *83 - - *193 - responses: - '200': *249 - '400': *14 - '404': *6 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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: - - *83 - - *197 - - *199 - - *198 - - *250 - - *251 - - *201 - 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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': *190 - 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/enterprise-cloud@latest//billing/using-the-new-billing-platform)." - tags: - - billing - operationId: billing/get-github-billing-usage-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization - parameters: - - *83 - - *197 - - *252 - - *198 - responses: - '200': - description: Billing usage report response for an organization - content: - application/json: - schema: *253 - examples: - default: *254 - '400': *14 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-an-organization - parameters: - - *83 - - *197 - - *199 - - *198 - - *255 - - *201 - - *256 - responses: - '200': - description: Response when getting a billing usage summary - 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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - organization - - usageItems - examples: - default: - value: - timePeriod: - year: 2025 - organization: GitHub - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 - '400': *14 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -31499,7 +30716,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &247 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -31832,7 +31049,7 @@ paths: - updated_at - archived_at examples: - default-response: &258 + default-response: &248 value: login: github id: 1 @@ -32157,17 +31374,17 @@ paths: description: Response content: application/json: - schema: *257 + schema: *247 examples: - default: *258 + default: *248 '422': description: Validation failed content: application/json: schema: oneOf: - - *259 - - *260 + - *249 + - *250 '409': *114 x-github: githubCloudOnly: false @@ -32222,9 +31439,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *251 examples: - default: *262 + default: *252 headers: Link: *43 x-github: @@ -32265,7 +31482,7 @@ paths: type: integer repository_cache_usages: type: array - items: &489 + items: &473 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -32340,7 +31557,7 @@ paths: type: array items: *44 examples: - default: *263 + default: *253 headers: Link: *43 x-github: @@ -32506,7 +31723,7 @@ paths: application/json: schema: *45 examples: - default: *264 + default: *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32598,7 +31815,7 @@ paths: application/json: schema: *48 examples: - default: *265 + default: *255 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32717,9 +31934,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *256 examples: - default: *267 + default: *257 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32755,7 +31972,7 @@ paths: type: array items: *52 examples: - default: *268 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32943,7 +32160,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &269 + schema: &259 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -32957,7 +32174,7 @@ paths: required: - include_claim_keys examples: - default: &270 + default: &260 value: include_claim_keys: - repo @@ -32984,15 +32201,15 @@ paths: required: true content: application/json: - schema: *269 + schema: *259 examples: - default: *270 + default: *260 responses: '201': description: Empty response content: application/json: - schema: &295 + schema: &285 title: Empty Object description: An object without any properties. type: object @@ -33031,7 +32248,7 @@ paths: schema: type: object properties: - enabled_repositories: &272 + enabled_repositories: &262 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -33045,7 +32262,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *56 - selected_actions_url: *271 + selected_actions_url: *261 sha_pinning_required: *57 required: - enabled_repositories @@ -33087,7 +32304,7 @@ paths: schema: type: object properties: - enabled_repositories: *272 + enabled_repositories: *262 allowed_actions: *56 sha_pinning_required: *57 required: @@ -33123,7 +32340,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *263 examples: response: summary: Example response @@ -33154,7 +32371,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *264 examples: application/json: value: @@ -33192,7 +32409,7 @@ paths: application/json: schema: *58 examples: - default: *275 + default: *265 '404': *6 x-github: enabledForGitHubApps: true @@ -33249,7 +32466,7 @@ paths: description: Response content: application/json: - schema: *276 + schema: *266 examples: default: *59 '403': *29 @@ -33274,7 +32491,7 @@ paths: required: true content: application/json: - schema: *277 + schema: *267 examples: default: *59 responses: @@ -33326,7 +32543,7 @@ paths: type: array items: *74 examples: - default: &279 + default: &269 value: total_count: 1 repositories: @@ -33511,7 +32728,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - &278 + - &268 name: repository_id description: The unique identifier of the repository. in: path @@ -33540,7 +32757,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *83 - - *278 + - *268 responses: '204': description: Response @@ -33736,7 +32953,7 @@ paths: type: array items: *74 examples: - default: *279 + default: *269 '403': *29 '404': *6 x-github: @@ -33805,7 +33022,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: - *83 - - *278 + - *268 responses: '204': description: No content @@ -33832,7 +33049,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: - *83 - - *278 + - *268 responses: '204': description: No content @@ -33866,7 +33083,7 @@ paths: description: Response content: application/json: - schema: *280 + schema: *270 examples: default: *65 x-github: @@ -33900,7 +33117,7 @@ paths: required: false content: application/json: - schema: *281 + schema: *271 examples: default: *65 x-github: @@ -33947,7 +33164,7 @@ paths: type: number runner_groups: type: array - items: &282 + items: &272 type: object properties: id: @@ -34135,9 +33352,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: - default: &283 + default: &273 value: id: 2 name: octo-runner-group @@ -34179,7 +33396,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: default: value: @@ -34270,9 +33487,9 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: - default: *283 + default: *273 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -34336,7 +33553,7 @@ paths: type: array items: *44 examples: - default: *263 + default: *253 headers: Link: *43 x-github: @@ -34377,9 +33594,9 @@ paths: type: number repositories: type: array - items: *284 + items: *274 examples: - default: &821 + default: &805 value: total_count: 1 repositories: @@ -34678,7 +33895,7 @@ paths: parameters: - *83 - *68 - - *278 + - *268 responses: '204': description: Response @@ -34702,7 +33919,7 @@ paths: parameters: - *83 - *68 - - *278 + - *268 responses: '204': description: Response @@ -34920,9 +34137,9 @@ paths: application/json: schema: type: array - items: *285 + items: *275 examples: - default: *286 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34987,7 +34204,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *287 + '201': *277 '404': *6 '422': *7 '409': *114 @@ -35026,7 +34243,7 @@ paths: application/json: schema: *75 examples: - default: *288 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35062,7 +34279,7 @@ paths: application/json: schema: *75 examples: - default: *289 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35093,7 +34310,7 @@ paths: application/json: schema: *72 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35268,7 +34485,7 @@ paths: - *83 - *71 responses: - '200': *291 + '200': *281 '404': *6 x-github: githubCloudOnly: false @@ -35297,7 +34514,7 @@ paths: parameters: - *83 - *71 - - *292 + - *282 responses: '200': *77 '404': *6 @@ -35342,7 +34559,7 @@ paths: type: integer secrets: type: array - items: &293 + items: &283 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -35421,7 +34638,7 @@ paths: description: Response content: application/json: - schema: &509 + schema: &493 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -35450,7 +34667,7 @@ paths: - key_id - key examples: - default: &510 + default: &494 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -35476,7 +34693,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *83 - - &294 + - &284 name: secret_name description: The name of the secret. in: path @@ -35488,7 +34705,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *283 examples: default: value: @@ -35519,7 +34736,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -35576,7 +34793,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -35603,7 +34820,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -35630,7 +34847,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 - *19 - *17 responses: @@ -35648,9 +34865,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: &298 + default: &288 value: total_count: 1 repositories: @@ -35743,7 +34960,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -35796,7 +35013,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -35830,7 +35047,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -35863,7 +35080,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *83 - - &494 + - &478 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)." @@ -35887,7 +35104,7 @@ paths: type: integer variables: type: array - items: &296 + items: &286 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -36020,7 +35237,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -36046,7 +35263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *83 - - &297 + - &287 name: name description: The name of the variable. in: path @@ -36058,7 +35275,7 @@ paths: description: Response content: application/json: - schema: *296 + schema: *286 examples: default: value: @@ -36089,7 +35306,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *83 - - *297 + - *287 requestBody: required: true content: @@ -36152,7 +35369,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *83 - - *297 + - *287 responses: '204': description: Response @@ -36179,7 +35396,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *83 - - *297 + - *287 - *19 - *17 responses: @@ -36197,9 +35414,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 '409': description: Response when the visibility of the variable is not set to `selected` @@ -36226,7 +35443,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *83 - - *297 + - *287 requestBody: required: true content: @@ -36276,7 +35493,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *83 - - *297 + - *287 - name: repository_id in: path required: true @@ -36311,7 +35528,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *83 - - *297 + - *287 - name: repository_id in: path required: true @@ -36369,7 +35586,7 @@ paths: required: true content: application/json: - schema: *299 + schema: *289 examples: default: *81 parameters: @@ -36526,7 +35743,7 @@ paths: type: integer deployment_records: type: array - items: &300 + items: &290 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -36570,7 +35787,7 @@ paths: with the deployment record. nullable: true examples: - default: &301 + default: &291 value: total_count: 1 deployment_records: @@ -36716,9 +35933,9 @@ paths: type: integer deployment_records: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36914,9 +36131,9 @@ paths: type: integer deployment_records: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37045,12 +36262,12 @@ paths: required: - subject_digests examples: - default: &849 + default: &833 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &850 + withPredicateType: &834 value: subject_digests: - sha256:abc123 @@ -37108,7 +36325,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &851 + default: &835 value: attestations_subject_digests: - sha256:abc: @@ -37457,7 +36674,7 @@ paths: initiator: type: string examples: - default: &523 + default: &507 value: attestations: - bundle: @@ -37583,10 +36800,10 @@ paths: required: false schema: type: string - - *302 - - *303 - - *304 - - *305 + - *292 + - *293 + - *294 + - *295 - *17 responses: '200': @@ -37595,9 +36812,9 @@ paths: application/json: schema: type: array - items: *306 + items: *296 examples: - default: *307 + default: *297 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37720,7 +36937,7 @@ paths: subcategory: bypass-requests parameters: - *83 - - &310 + - &300 name: repository_name description: The name of the repository to filter on. in: query @@ -37739,9 +36956,9 @@ paths: application/json: schema: type: array - items: *308 + items: *298 examples: - default: *309 + default: *299 '404': *6 '500': *40 "/orgs/{org}/bypass-requests/secret-scanning": @@ -37765,7 +36982,7 @@ paths: subcategory: delegated-bypass parameters: - *83 - - *310 + - *300 - *99 - *100 - *101 @@ -37779,9 +36996,9 @@ paths: application/json: schema: type: array - items: *311 + items: *301 examples: - default: *312 + default: *302 '404': *6 '500': *40 "/orgs/{org}/campaigns": @@ -37808,7 +37025,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &314 + schema: &304 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -37834,7 +37051,7 @@ paths: application/json: schema: type: array - items: &315 + items: &305 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -37865,7 +37082,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *313 + items: *303 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -37883,7 +37100,7 @@ paths: type: string format: date-time nullable: true - state: *314 + state: *304 contact_link: description: The contact link of the campaign. type: string @@ -38103,9 +37320,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: &316 + default: &306 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -38188,9 +37405,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '404': *6 '422': description: Unprocessable Entity @@ -38267,7 +37484,7 @@ paths: type: string format: uri nullable: true - state: *314 + state: *304 examples: default: value: @@ -38277,9 +37494,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *305 examples: - default: *316 + default: *306 '400': description: Bad Request content: @@ -38346,8 +37563,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *83 - - *317 - - *318 + - *307 + - *308 - *104 - *105 - *19 @@ -38358,7 +37575,7 @@ paths: be returned. in: query required: false - schema: *319 + schema: *309 - name: sort description: The property by which to sort the results. in: query @@ -38374,7 +37591,7 @@ paths: be returned. in: query required: false - schema: &550 + schema: &534 type: string description: Severity of a code scanning alert. enum: @@ -38392,9 +37609,9 @@ paths: application/json: schema: type: array - items: *320 + items: *310 examples: - default: *321 + default: *311 headers: Link: *43 '404': *6 @@ -38609,7 +37826,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *322 + code_scanning_options: *312 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -38752,7 +37969,7 @@ paths: application/json: schema: *110 examples: - default: *323 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38780,9 +37997,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *314 examples: - default: *325 + default: *315 '304': *37 '403': *29 '404': *6 @@ -38869,7 +38086,7 @@ paths: application/json: schema: *110 examples: - default: *323 + default: *313 '304': *37 '403': *29 '404': *6 @@ -39291,7 +38508,7 @@ paths: default: value: default_for_new_repos: all - configuration: *323 + configuration: *313 '403': *29 '404': *6 x-github: @@ -39344,13 +38561,13 @@ paths: application/json: schema: type: array - items: *326 + items: *316 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *327 + repository: *317 '403': *29 '404': *6 x-github: @@ -39390,7 +38607,7 @@ paths: type: integer codespaces: type: array - items: &375 + items: &365 type: object title: Codespace description: A codespace. @@ -39415,12 +38632,12 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *284 + repository: *274 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &579 + properties: &563 name: type: string description: The name of the machine. @@ -39462,7 +38679,7 @@ paths: - ready - in_progress nullable: true - required: &580 + required: &564 - name - display_name - operating_system @@ -39667,7 +38884,7 @@ paths: - pulls_url - recent_folders examples: - default: &376 + default: &366 value: total_count: 3 codespaces: @@ -40291,7 +39508,7 @@ paths: type: integer secrets: type: array - items: &328 + items: &318 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -40330,7 +39547,7 @@ paths: - updated_at - visibility examples: - default: &581 + default: &565 value: total_count: 2 secrets: @@ -40368,7 +39585,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &566 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -40397,7 +39614,7 @@ paths: - key_id - key examples: - default: &583 + default: &567 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -40421,15 +39638,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '200': description: Response content: application/json: - schema: *328 + schema: *318 examples: - default: &585 + default: &569 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -40457,7 +39674,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -40512,7 +39729,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -40539,7 +39756,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -40565,7 +39782,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 - *19 - *17 responses: @@ -40583,9 +39800,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 '404': *6 x-github: githubCloudOnly: false @@ -40608,7 +39825,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -40659,7 +39876,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -40693,7 +39910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -41500,7 +40717,7 @@ paths: type: integer custom_roles: type: array - items: *329 + items: *319 examples: default: value: @@ -41592,7 +40809,7 @@ paths: required: true content: application/json: - schema: &331 + schema: &321 type: object properties: name: @@ -41633,9 +40850,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41666,9 +40883,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '404': *6 x-github: githubCloudOnly: true @@ -41696,7 +40913,7 @@ paths: required: true content: application/json: - schema: &332 + schema: &322 type: object properties: name: @@ -41734,9 +40951,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41794,7 +41011,7 @@ paths: required: true content: application/json: - schema: *331 + schema: *321 examples: default: value: @@ -41808,9 +41025,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41847,9 +41064,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '404': *6 x-github: githubCloudOnly: true @@ -41883,7 +41100,7 @@ paths: required: true content: application/json: - schema: *332 + schema: *322 examples: default: value: @@ -41898,9 +41115,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *319 examples: - default: *330 + default: *320 '422': *15 '404': *6 x-github: @@ -41960,11 +41177,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *83 - - *333 - - *334 - - *335 - - *336 - - *337 + - *323 + - *324 + - *325 + - *326 + - *327 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -42002,8 +41219,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *338 - - *339 + - *328 + - *329 - *106 - *104 - *105 @@ -42015,9 +41232,9 @@ paths: application/json: schema: type: array - items: *340 + items: *330 examples: - default: *341 + default: *331 '304': *37 '400': *14 '403': *29 @@ -42061,7 +41278,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &332 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -42138,7 +41355,7 @@ paths: description: Response content: application/json: - schema: &611 + schema: &595 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -42155,7 +41372,7 @@ paths: - key_id - key examples: - default: &612 + default: &596 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -42179,13 +41396,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '200': description: Response content: application/json: - schema: *342 + schema: *332 examples: default: value: @@ -42214,7 +41431,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -42273,7 +41490,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -42298,7 +41515,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -42323,7 +41540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 - *19 - *17 responses: @@ -42341,9 +41558,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42365,7 +41582,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -42416,7 +41633,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -42448,7 +41665,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *83 - - *294 + - *284 - name: repository_id in: path required: true @@ -42485,7 +41702,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - &620 + - &604 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -42493,7 +41710,7 @@ paths: required: false schema: type: string - - &621 + - &605 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -42501,7 +41718,7 @@ paths: required: false schema: type: string - - &622 + - &606 name: time_period description: |- The time period to filter by. @@ -42517,7 +41734,7 @@ paths: - week - month default: month - - &623 + - &607 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -42532,7 +41749,7 @@ paths: - denied - all default: all - - *310 + - *300 - *17 - *19 responses: @@ -42542,7 +41759,7 @@ paths: application/json: schema: type: array - items: &624 + items: &608 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -42698,7 +41915,7 @@ paths: format: uri example: https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &625 + default: &609 value: - id: 21 number: 42 @@ -42785,11 +42002,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *83 - - *310 + - *300 - *99 - *100 - *101 - - &626 + - &610 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -42815,7 +42032,7 @@ paths: application/json: schema: type: array - items: &627 + items: &611 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -42936,7 +42153,7 @@ paths: format: uri example: https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &628 + default: &612 value: - id: 21 number: 42 @@ -43024,7 +42241,7 @@ paths: application/json: schema: type: array - items: &386 + items: &376 title: Package description: A software package type: object @@ -43074,8 +42291,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *343 - required: *344 + properties: *333 + required: *334 nullable: true created_at: type: string @@ -43094,7 +42311,7 @@ paths: - created_at - updated_at examples: - default: &387 + default: &377 value: - id: 197 name: hello_docker @@ -43281,7 +42498,7 @@ paths: description: Response content: application/json: - schema: &467 + schema: &451 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -43362,7 +42579,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &468 + default: &452 value: group_id: '123' group_name: Octocat admins @@ -43417,7 +42634,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &449 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -43454,7 +42671,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &466 + default: &450 value: groups: - group_id: '123' @@ -43498,7 +42715,7 @@ paths: application/json: schema: type: array - items: &367 + items: &357 title: Organization Invitation description: Organization Invitation type: object @@ -43545,7 +42762,7 @@ paths: - invitation_teams_url - node_id examples: - default: &368 + default: &358 value: - id: 1 login: monalisa @@ -43612,7 +42829,7 @@ paths: application/json: schema: type: array - items: &419 + items: &409 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -43626,7 +42843,7 @@ paths: - name - description examples: - default: &420 + default: &410 value: - name: add_assignee description: Assign or remove a user @@ -43667,7 +42884,7 @@ paths: application/json: schema: type: array - items: &345 + items: &335 title: Org Hook description: Org Hook type: object @@ -43836,9 +43053,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *335 examples: - default: &346 + default: &336 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -43883,7 +43100,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *83 - - &347 + - &337 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. @@ -43896,9 +43113,9 @@ paths: description: Response content: application/json: - schema: *345 + schema: *335 examples: - default: *346 + default: *336 '404': *6 x-github: githubCloudOnly: false @@ -43920,7 +43137,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *83 - - *347 + - *337 requestBody: required: false content: @@ -43965,7 +43182,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *335 examples: default: value: @@ -44005,7 +43222,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *83 - - *347 + - *337 responses: '204': description: Response @@ -44031,7 +43248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *83 - - *347 + - *337 responses: '200': description: Response @@ -44060,7 +43277,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *83 - - *347 + - *337 requestBody: required: false content: @@ -44109,9 +43326,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *83 - - *347 + - *337 - *17 - - *348 + - *338 responses: '200': description: Response @@ -44119,9 +43336,9 @@ paths: application/json: schema: type: array - items: *349 + items: *339 examples: - default: *350 + default: *340 '400': *14 '422': *15 x-github: @@ -44145,16 +43362,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *83 - - *347 + - *337 - *16 responses: '200': description: Response content: application/json: - schema: *351 + schema: *341 examples: - default: *352 + default: *342 '400': *14 '422': *15 x-github: @@ -44178,7 +43395,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *83 - - *347 + - *337 - *16 responses: '202': *39 @@ -44205,7 +43422,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *83 - - *347 + - *337 responses: '204': description: Response @@ -44228,7 +43445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *83 - - &357 + - &347 name: actor_type in: path description: The type of the actor @@ -44241,14 +43458,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &358 + - &348 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &353 + - &343 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`.' @@ -44256,7 +43473,7 @@ paths: required: true schema: type: string - - &354 + - &344 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) @@ -44350,12 +43567,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *83 - - *353 - - *354 + - *343 + - *344 - *19 - *17 - *106 - - &363 + - &353 name: sort description: The property to sort the results by. in: query @@ -44434,14 +43651,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *83 - - *353 - - *354 + - *343 + - *344 responses: '200': description: Response content: application/json: - schema: &355 + schema: &345 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -44457,7 +43674,7 @@ paths: type: integer format: int64 examples: - default: &356 + default: &346 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -44478,23 +43695,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *83 - - &359 + - &349 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *353 - - *354 + - *343 + - *344 responses: '200': description: Response content: application/json: - schema: *355 + schema: *345 examples: - default: *356 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -44513,18 +43730,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *83 - - *353 - - *354 - - *357 - - *358 + - *343 + - *344 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *355 + schema: *345 examples: - default: *356 + default: *346 x-github: enabledForGitHubApps: true category: orgs @@ -44542,9 +43759,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *83 - - *353 - - *354 - - &360 + - *343 + - *344 + - &350 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -44557,7 +43774,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &351 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -44573,7 +43790,7 @@ paths: type: integer format: int64 examples: - default: &362 + default: &352 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -44610,18 +43827,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *83 - - *359 - - *353 - - *354 - - *360 + - *349 + - *343 + - *344 + - *350 responses: '200': description: Response content: application/json: - schema: *361 + schema: *351 examples: - default: *362 + default: *352 x-github: enabledForGitHubApps: true category: orgs @@ -44639,19 +43856,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *83 - - *357 - - *358 - - *353 - - *354 - - *360 + - *347 + - *348 + - *343 + - *344 + - *350 responses: '200': description: Response content: application/json: - schema: *361 + schema: *351 examples: - default: *362 + default: *352 x-github: enabledForGitHubApps: true category: orgs @@ -44669,13 +43886,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *83 - - *359 - - *353 - - *354 + - *349 + - *343 + - *344 - *19 - *17 - *106 - - *363 + - *353 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -44756,7 +43973,7 @@ paths: application/json: schema: *22 examples: - default: &659 + default: &643 value: id: 1 account: @@ -44922,12 +44139,12 @@ paths: application/json: schema: anyOf: - - &365 + - &355 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &364 + limit: &354 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -44952,7 +44169,7 @@ paths: properties: {} additionalProperties: false examples: - default: &366 + default: &356 value: limit: collaborators_only origin: organization @@ -44981,13 +44198,13 @@ paths: required: true content: application/json: - schema: &660 + schema: &644 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *364 + limit: *354 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -45011,9 +44228,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: - default: *366 + default: *356 '422': *15 x-github: githubCloudOnly: false @@ -45091,9 +44308,9 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: - default: *368 + default: *358 headers: Link: *43 '404': *6 @@ -45171,7 +44388,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -45228,7 +44445,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *83 - - &369 + - &359 name: invitation_id description: The unique identifier of the invitation. in: path @@ -45262,7 +44479,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *83 - - *369 + - *359 - *17 - *19 responses: @@ -45272,9 +44489,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: &385 + default: &375 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -45317,7 +44534,7 @@ paths: application/json: schema: type: array - items: *370 + items: *360 examples: default: value: @@ -45402,9 +44619,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: &371 + default: &361 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -45437,7 +44654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *83 - - &372 + - &362 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -45490,9 +44707,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *360 examples: - default: *371 + default: *361 '404': *6 '422': *7 x-github: @@ -45517,7 +44734,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *83 - - *372 + - *362 responses: '204': description: Response @@ -45580,7 +44797,7 @@ paths: - closed - all default: open - - *373 + - *363 - name: type description: Can be the name of an issue type. in: query @@ -45611,7 +44828,7 @@ paths: type: array items: *227 examples: - default: *374 + default: *364 headers: Link: *43 '404': *6 @@ -45770,9 +44987,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *365 examples: - default: *376 + default: *366 '304': *37 '500': *40 '401': *25 @@ -45799,7 +45016,7 @@ paths: parameters: - *83 - *138 - - &377 + - &367 name: codespace_name in: path required: true @@ -45834,15 +45051,15 @@ paths: parameters: - *83 - *138 - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: &578 + default: &562 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -46098,7 +45315,7 @@ paths: description: Response content: application/json: - schema: &378 + schema: &368 title: Org Membership description: Org Membership type: object @@ -46165,7 +45382,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &379 + response-if-user-has-an-active-admin-membership-with-organization: &369 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -46262,9 +45479,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *368 examples: - response-if-user-already-had-membership-with-organization: *379 + response-if-user-already-had-membership-with-organization: *369 '422': *15 '403': *29 x-github: @@ -46335,7 +45552,7 @@ paths: application/json: schema: type: array - items: &380 + items: &370 title: Migration description: A migration. type: object @@ -46664,7 +45881,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -46843,7 +46060,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *83 - - &381 + - &371 name: migration_id description: The unique identifier of the migration. in: path @@ -46870,7 +46087,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -47040,7 +46257,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *83 - - *381 + - *371 responses: '302': description: Response @@ -47062,7 +46279,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *83 - - *381 + - *371 responses: '204': description: Response @@ -47086,8 +46303,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *83 - - *381 - - &834 + - *371 + - &818 name: repo_name description: repo_name parameter in: path @@ -47115,7 +46332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *83 - - *381 + - *371 - *17 - *19 responses: @@ -47125,9 +46342,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: &392 + default: &382 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -47336,7 +46553,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &382 + items: &372 title: Organization Role description: Organization roles type: object @@ -47543,7 +46760,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *372 examples: default: value: @@ -47773,7 +46990,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *372 examples: default: value: @@ -47870,7 +47087,7 @@ paths: description: Response content: application/json: - schema: *382 + schema: *372 examples: default: value: @@ -48028,8 +47245,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *383 - required: *384 + properties: *373 + required: *374 nullable: true type: description: The ownership type of the team @@ -48061,7 +47278,7 @@ paths: - type - parent examples: - default: *385 + default: *375 headers: Link: *43 '404': @@ -48119,13 +47336,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &439 + items: &429 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *383 - required: *384 + properties: *373 + required: *374 name: nullable: true type: string @@ -48413,7 +47630,7 @@ paths: - nuget - container - *83 - - &835 + - &819 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -48449,12 +47666,12 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *387 + default: *377 '403': *29 '401': *25 - '400': &837 + '400': &821 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -48476,7 +47693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &388 + - &378 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 @@ -48494,7 +47711,7 @@ paths: - docker - nuget - container - - &389 + - &379 name: package_name description: The name of the package. in: path @@ -48507,7 +47724,7 @@ paths: description: Response content: application/json: - schema: *386 + schema: *376 examples: default: value: @@ -48559,8 +47776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 responses: '204': @@ -48593,8 +47810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 - name: token description: package token @@ -48627,8 +47844,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: - - *388 - - *389 + - *378 + - *379 - *83 - *19 - *17 @@ -48649,7 +47866,7 @@ paths: application/json: schema: type: array - items: &390 + items: &380 title: Package Version description: A version of a software package type: object @@ -48774,10 +47991,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: - - *388 - - *389 + - *378 + - *379 - *83 - - &391 + - &381 name: package_version_id description: Unique identifier of the package version. in: path @@ -48789,7 +48006,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *380 examples: default: value: @@ -48825,10 +48042,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 - - *391 + - *381 responses: '204': description: Response @@ -48860,10 +48077,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *388 - - *389 + - *378 + - *379 - *83 - - *391 + - *381 responses: '204': description: Response @@ -48893,7 +48110,7 @@ paths: - *83 - *17 - *19 - - &393 + - &383 name: sort description: The property by which to sort the results. in: query @@ -48904,7 +48121,7 @@ paths: - created_at default: created_at - *106 - - &394 + - &384 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -48915,7 +48132,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &395 + - &385 name: repository description: The name of the repository to use to filter the results. in: query @@ -48923,7 +48140,7 @@ paths: schema: type: string example: Hello-World - - &396 + - &386 name: permission description: The permission to use to filter the results. in: query @@ -48931,7 +48148,7 @@ paths: schema: type: string example: issues_read - - &397 + - &387 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) @@ -48941,7 +48158,7 @@ paths: schema: type: string format: date-time - - &398 + - &388 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) @@ -48951,7 +48168,7 @@ paths: schema: type: string format: date-time - - &399 + - &389 name: token_id description: The ID of the token in: query @@ -49262,9 +48479,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -49290,14 +48507,14 @@ paths: - *83 - *17 - *19 - - *393 + - *383 - *106 - - *394 - - *395 - - *396 - - *397 - - *398 - - *399 + - *384 + - *385 + - *386 + - *387 + - *388 + - *389 responses: '500': *40 '422': *15 @@ -49577,9 +48794,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -49621,7 +48838,7 @@ paths: type: integer configurations: type: array - items: &400 + items: &390 title: Organization private registry description: Private registry configuration for an organization type: object @@ -49911,7 +49128,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &401 + org-private-registry-with-selected-visibility: &391 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -50001,15 +49218,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *83 - - *294 + - *284 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *400 + schema: *390 examples: - default: *401 + default: *391 '404': *6 x-github: githubCloudOnly: false @@ -50031,7 +49248,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *83 - - *294 + - *284 requestBody: required: true content: @@ -50136,7 +49353,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *83 - - *294 + - *284 responses: '204': description: Response @@ -50176,7 +49393,7 @@ paths: application/json: schema: type: array - items: &402 + items: &392 title: Projects v2 Project description: A projects v2 project type: object @@ -50246,7 +49463,7 @@ paths: title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: &914 + properties: &898 id: type: number description: The unique identifier of the status update. @@ -50294,7 +49511,7 @@ paths: example: The project is off to a great start! type: string nullable: true - required: &915 + required: &899 - id - node_id - created_at @@ -50319,7 +49536,7 @@ paths: - deleted_at - deleted_by examples: - default: &403 + default: &393 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -50422,7 +49639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &404 + - &394 name: project_number description: The project's number. in: path @@ -50435,9 +49652,9 @@ paths: description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *403 + default: *393 headers: Link: *43 '304': *37 @@ -50460,7 +49677,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *83 - - *404 + - *394 requestBody: required: true description: Details of the draft item to create in the project. @@ -50494,7 +49711,7 @@ paths: description: Response content: application/json: - schema: &410 + schema: &400 title: Projects v2 Item description: An item belonging to a project type: object @@ -50508,7 +49725,7 @@ paths: content: oneOf: - *227 - - &593 + - &577 title: Pull Request Simple description: Pull Request Simple type: object @@ -50614,8 +49831,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 nullable: true active_lock_reason: type: string @@ -50660,7 +49877,7 @@ paths: nullable: true requested_teams: type: array - items: *313 + items: *303 nullable: true head: type: object @@ -50711,7 +49928,7 @@ paths: _links: type: object properties: - comments: &407 + comments: &397 title: Link description: Hypermedia Link type: object @@ -50720,13 +49937,13 @@ paths: type: string required: - href - commits: *407 - statuses: *407 - html: *407 - issue: *407 - review_comments: *407 - review_comment: *407 - self: *407 + commits: *397 + statuses: *397 + html: *397 + issue: *397 + review_comments: *397 + review_comment: *397 + self: *397 required: - comments - commits @@ -50737,7 +49954,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: &708 + auto_merge: &692 title: Auto merge description: The status of auto merging a pull request. type: object @@ -50839,7 +50056,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &409 + content_type: &399 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -50879,7 +50096,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &411 + draft_issue: &401 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -50953,7 +50170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *404 + - *394 - *83 - *17 - *104 @@ -50965,7 +50182,7 @@ paths: application/json: schema: type: array - items: &408 + items: &398 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -51112,7 +50329,7 @@ paths: - updated_at - project_url examples: - default: &854 + default: &838 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -51243,8 +50460,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *404 - - &855 + - *394 + - &839 name: field_id description: The unique identifier of the field. in: path @@ -51257,9 +50474,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *398 examples: - default: &856 + default: &840 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -51303,7 +50520,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: - - *404 + - *394 - *83 - 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) @@ -51336,7 +50553,7 @@ paths: application/json: schema: type: array - items: &412 + items: &402 title: Projects v2 Item description: An item belonging to a project type: object @@ -51352,7 +50569,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: *409 + content_type: *399 content: type: object additionalProperties: true @@ -51395,7 +50612,7 @@ paths: - updated_at - archived_at examples: - default: &413 + default: &403 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -52092,7 +51309,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *83 - - *404 + - *394 requestBody: required: true description: Details of the item to add to the project. @@ -52129,10 +51346,10 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: - issue: *411 - pull_request: *411 + issue: *401 + pull_request: *401 '304': *37 '403': *29 '401': *25 @@ -52152,9 +51369,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: - - *404 + - *394 - *83 - - &414 + - &404 name: item_id description: The unique identifier of the project item. in: path @@ -52180,9 +51397,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - default: *413 + default: *403 headers: Link: *43 '304': *37 @@ -52203,9 +51420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *404 + - *394 - *83 - - *414 + - *404 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -52275,13 +51492,13 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - text_field: *413 - number_field: *413 - date_field: *413 - single_select_field: *413 - iteration_field: *413 + text_field: *403 + number_field: *403 + date_field: *403 + single_select_field: *403 + iteration_field: *403 '401': *25 '403': *29 '404': *6 @@ -52301,9 +51518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *404 + - *394 - *83 - - *414 + - *404 responses: '204': description: Response @@ -52466,7 +51683,7 @@ paths: required: true content: application/json: - schema: *415 + schema: *405 examples: default: value: @@ -52829,9 +52046,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -53034,7 +52251,7 @@ paths: description: Response content: application/json: - schema: &483 + schema: &467 title: Full Repository description: Full Repository type: object @@ -53311,8 +52528,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *416 - required: *417 + properties: *406 + required: *407 nullable: true temp_clone_token: type: string @@ -53427,7 +52644,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &598 + properties: &582 url: type: string format: uri @@ -53443,12 +52660,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &599 + required: &583 - url - key - name - html_url - security_and_analysis: *418 + security_and_analysis: *408 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -53532,7 +52749,7 @@ paths: - network_count - subscribers_count examples: - default: &485 + default: &469 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -54058,9 +53275,9 @@ paths: application/json: schema: type: array - items: *419 + items: *409 examples: - default: *420 + default: *410 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -54085,7 +53302,7 @@ paths: - *83 - *17 - *19 - - &731 + - &715 name: targets description: | A comma-separated list of rule targets to filter by. @@ -54176,11 +53393,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *421 + conditions: *411 rules: type: array description: An array of rules within the ruleset. - items: &423 + items: &413 title: Repository Rule type: object description: A repository rule. @@ -54244,7 +53461,7 @@ paths: application/json: schema: *185 examples: - default: &422 + default: &412 value: id: 21 name: super cool ruleset @@ -54299,7 +53516,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *83 - - &733 + - &717 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 @@ -54309,16 +53526,16 @@ paths: schema: type: string x-multi-segment: true - - *310 + - *300 - *101 - - &734 + - &718 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 - - &735 + - &719 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -54338,7 +53555,7 @@ paths: description: Response content: application/json: - schema: &736 + schema: &720 title: Rule Suites description: Response type: array @@ -54393,7 +53610,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &737 + default: &721 value: - id: 21 actor_id: 12 @@ -54437,7 +53654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *83 - - &738 + - &722 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -54453,7 +53670,7 @@ paths: description: Response content: application/json: - schema: &739 + schema: &723 title: Rule Suite description: Response type: object @@ -54552,7 +53769,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &740 + default: &724 value: id: 21 actor_id: 12 @@ -54627,7 +53844,7 @@ paths: application/json: schema: *185 examples: - default: *422 + default: *412 '404': *6 '500': *40 put: @@ -54676,11 +53893,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *164 - conditions: *421 + conditions: *411 rules: description: An array of rules within the ruleset. type: array - items: *423 + items: *413 examples: default: value: @@ -54717,7 +53934,7 @@ paths: application/json: schema: *185 examples: - default: *422 + default: *412 '404': *6 '500': *40 delete: @@ -54776,7 +53993,7 @@ paths: type: array items: *189 examples: - default: *424 + default: *414 '404': *6 '500': *40 x-github: @@ -54813,7 +54030,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: default: value: @@ -54876,14 +54093,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *83 - - *426 - - *427 - - *428 - - *429 + - *416 + - *417 + - *418 + - *419 - *106 - *19 - *17 - - &742 + - &726 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 @@ -54893,7 +54110,7 @@ paths: required: false schema: type: string - - &743 + - &727 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 @@ -54903,10 +54120,10 @@ paths: required: false schema: type: string - - *430 - - *431 - - *432 - - *433 + - *420 + - *421 + - *422 + - *423 responses: '200': description: Response @@ -54914,9 +54131,9 @@ paths: application/json: schema: type: array - items: *434 + items: *424 examples: - default: *435 + default: *425 headers: Link: *43 '404': *6 @@ -54951,9 +54168,9 @@ paths: description: Response content: application/json: - schema: *436 + schema: *426 examples: - default: *437 + default: *427 '403': *29 '404': *6 patch: @@ -55106,7 +54323,7 @@ paths: application/json: schema: type: array - items: &764 + items: &748 description: A repository security advisory. type: object properties: @@ -55326,7 +54543,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *428 credits_detailed: type: array nullable: true @@ -55336,7 +54553,7 @@ paths: type: object properties: user: *4 - type: *438 + type: *428 state: type: string description: The state of the user's acceptance of the @@ -55360,7 +54577,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *313 + items: *303 private_fork: readOnly: true nullable: true @@ -55397,7 +54614,7 @@ paths: - private_fork additionalProperties: false examples: - default: &765 + default: &749 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -55784,9 +55001,9 @@ paths: application/json: schema: type: array - items: *439 + items: *429 examples: - default: *385 + default: *375 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55849,36 +55066,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - *83 - responses: - '200': - description: Response - content: - application/json: - schema: *440 - examples: - default: *441 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an organization @@ -55898,7 +55085,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *83 - - *442 + - *430 - *17 - *19 responses: @@ -55906,74 +55093,14 @@ paths: description: Success content: application/json: - schema: *443 + schema: *431 examples: - default: *444 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: true category: billing subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - *83 - responses: - '200': - description: Response - content: - application/json: - schema: *445 - examples: - default: *446 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - *83 - responses: - '200': - description: Response - content: - application/json: - schema: *447 - examples: - default: *448 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -56112,9 +55239,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *298 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56183,7 +55310,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *278 + - *268 responses: '204': description: Response @@ -56206,7 +55333,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *83 - - *278 + - *268 responses: '204': description: Response @@ -56249,7 +55376,7 @@ paths: type: array items: *143 examples: - default: *449 + default: *433 headers: Link: *43 x-github: @@ -56450,15 +55577,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: - *83 - - *450 + - *434 responses: '200': description: Response content: application/json: - schema: *451 + schema: *435 examples: - default: *452 + default: *436 headers: Link: *43 x-github: @@ -56496,7 +55623,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &458 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -56542,7 +55669,7 @@ paths: type: string nullable: true examples: - default: &475 + default: &459 value: groups: - group_id: '123' @@ -56654,9 +55781,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 headers: Link: *43 '403': *29 @@ -56750,7 +55877,7 @@ paths: description: Response content: application/json: - schema: &453 + schema: &437 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -56813,8 +55940,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *383 - required: *384 + properties: *373 + required: *374 nullable: true members_count: type: integer @@ -57077,7 +56204,7 @@ paths: - repos_count - organization examples: - default: &454 + default: &438 value: id: 1 node_id: MDQ6VGVhbTE= @@ -57154,9 +56281,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -57240,16 +56367,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '201': description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 '422': *15 '403': *29 @@ -57319,7 +56446,7 @@ paths: application/json: schema: type: array - items: &455 + items: &439 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -57418,7 +56545,7 @@ paths: - updated_at - url examples: - default: &808 + default: &792 value: - author: login: octocat @@ -57527,9 +56654,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: &456 + default: &440 value: author: login: octocat @@ -57603,7 +56730,7 @@ paths: parameters: - *83 - *210 - - &457 + - &441 name: discussion_number description: The number that identifies the discussion. in: path @@ -57615,9 +56742,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *456 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57641,7 +56768,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 requestBody: required: false content: @@ -57664,9 +56791,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: &809 + default: &793 value: author: login: octocat @@ -57738,7 +56865,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 responses: '204': description: Response @@ -57766,7 +56893,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 - *106 - *17 - *19 @@ -57777,7 +56904,7 @@ paths: application/json: schema: type: array - items: &458 + items: &442 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -57849,7 +56976,7 @@ paths: - updated_at - url examples: - default: &810 + default: &794 value: - author: login: octocat @@ -57919,7 +57046,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 requestBody: required: true content: @@ -57941,9 +57068,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: &459 + default: &443 value: author: login: octocat @@ -58011,8 +57138,8 @@ paths: parameters: - *83 - *210 - - *457 - - &460 + - *441 + - &444 name: comment_number description: The number that identifies the comment. in: path @@ -58024,9 +57151,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *459 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58050,8 +57177,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 requestBody: required: true content: @@ -58073,9 +57200,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: &811 + default: &795 value: author: login: octocat @@ -58141,8 +57268,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 responses: '204': description: Response @@ -58170,8 +57297,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 - 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. @@ -58197,7 +57324,7 @@ paths: application/json: schema: type: array - items: &461 + items: &445 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -58240,7 +57367,7 @@ paths: - content - created_at examples: - default: &463 + default: &447 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58292,8 +57419,8 @@ paths: parameters: - *83 - *210 - - *457 - - *460 + - *441 + - *444 requestBody: required: true content: @@ -58326,9 +57453,9 @@ paths: team discussion comment content: application/json: - schema: *461 + schema: *445 examples: - default: &462 + default: &446 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -58357,9 +57484,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58384,9 +57511,9 @@ paths: parameters: - *83 - *210 - - *457 - - *460 - - &464 + - *441 + - *444 + - &448 name: reaction_id description: The unique identifier of the reaction. in: path @@ -58420,7 +57547,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 - 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. @@ -58446,9 +57573,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 x-github: @@ -58476,7 +57603,7 @@ paths: parameters: - *83 - *210 - - *457 + - *441 requestBody: required: true content: @@ -58508,16 +57635,16 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -58542,8 +57669,8 @@ paths: parameters: - *83 - *210 - - *457 - - *464 + - *441 + - *448 responses: '204': description: Response @@ -58573,9 +57700,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *466 + default: *450 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -58618,9 +57745,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *451 examples: - default: *468 + default: *452 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -58675,9 +57802,9 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: - default: *368 + default: *358 headers: Link: *43 x-github: @@ -58761,7 +57888,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &453 title: Team Membership description: Team Membership type: object @@ -58788,7 +57915,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &812 + response-if-user-is-a-team-maintainer: &796 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -58851,9 +57978,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *453 examples: - response-if-users-membership-with-team-is-now-pending: &813 + response-if-users-membership-with-team-is-now-pending: &797 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -58926,7 +58053,7 @@ paths: application/json: schema: type: array - items: &470 + items: &454 title: Team Project description: A team's access to a project. type: object @@ -58994,7 +58121,7 @@ paths: - updated_at - permissions examples: - default: &814 + default: &798 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59059,7 +58186,7 @@ paths: parameters: - *83 - *210 - - &471 + - &455 name: project_id description: The unique identifier of the project. in: path @@ -59071,9 +58198,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *454 examples: - default: &815 + default: &799 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -59137,7 +58264,7 @@ paths: parameters: - *83 - *210 - - *471 + - *455 requestBody: required: false content: @@ -59205,7 +58332,7 @@ paths: parameters: - *83 - *210 - - *471 + - *455 responses: '204': description: Response @@ -59243,9 +58370,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -59276,14 +58403,14 @@ paths: parameters: - *83 - *210 - - *472 - - *473 + - *456 + - *457 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &816 + schema: &800 title: Team Repository description: A team's access to a repository. type: object @@ -59854,8 +58981,8 @@ paths: parameters: - *83 - *210 - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -59902,8 +59029,8 @@ paths: parameters: - *83 - *210 - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -59936,9 +59063,9 @@ paths: description: Response content: application/json: - schema: *474 + schema: *458 examples: - default: *475 + default: *459 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60004,7 +59131,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *458 examples: default: value: @@ -60047,9 +59174,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - response-if-child-teams-exist: &817 + response-if-child-teams-exist: &801 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -60176,7 +59303,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &476 + - &460 name: card_id description: The unique identifier of the card. in: path @@ -60188,7 +59315,7 @@ paths: description: Response content: application/json: - schema: &477 + schema: &461 title: Project Card description: Project cards represent a scope of work. type: object @@ -60255,7 +59382,7 @@ paths: - created_at - updated_at examples: - default: &478 + default: &462 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -60311,7 +59438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *476 + - *460 requestBody: required: false content: @@ -60338,9 +59465,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *461 examples: - default: *478 + default: *462 '304': *37 '403': *29 '401': *25 @@ -60367,7 +59494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *476 + - *460 responses: '204': description: Response @@ -60411,7 +59538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *476 + - *460 requestBody: required: true content: @@ -60522,7 +59649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &479 + - &463 name: column_id description: The unique identifier of the column. in: path @@ -60534,7 +59661,7 @@ paths: description: Response content: application/json: - schema: &480 + schema: &464 title: Project Column description: Project columns contain cards of work. type: object @@ -60580,7 +59707,7 @@ paths: - created_at - updated_at examples: - default: &481 + default: &465 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -60615,7 +59742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *479 + - *463 requestBody: required: true content: @@ -60639,9 +59766,9 @@ paths: description: Response content: application/json: - schema: *480 + schema: *464 examples: - default: *481 + default: *465 '304': *37 '403': *29 '401': *25 @@ -60666,7 +59793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *479 + - *463 responses: '204': description: Response @@ -60695,7 +59822,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *479 + - *463 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -60716,7 +59843,7 @@ paths: application/json: schema: type: array - items: *477 + items: *461 examples: default: value: @@ -60775,7 +59902,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *479 + - *463 requestBody: required: true content: @@ -60815,9 +59942,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *461 examples: - default: *478 + default: *462 '304': *37 '403': *29 '401': *25 @@ -60827,8 +59954,8 @@ paths: application/json: schema: oneOf: - - *259 - - *260 + - *249 + - *250 '503': description: Response content: @@ -60873,7 +60000,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *479 + - *463 requestBody: required: true content: @@ -60933,7 +60060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *471 + - *455 - 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 @@ -60990,7 +60117,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *471 + - *455 - *138 requestBody: required: false @@ -61043,7 +60170,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *471 + - *455 - *138 responses: '204': @@ -61075,7 +60202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *471 + - *455 - *138 responses: '200': @@ -61176,7 +60303,7 @@ paths: resources: type: object properties: - core: &482 + core: &466 title: Rate Limit type: object properties: @@ -61193,21 +60320,21 @@ paths: - remaining - reset - used - graphql: *482 - search: *482 - code_search: *482 - source_import: *482 - integration_manifest: *482 - code_scanning_upload: *482 - actions_runner_registration: *482 - scim: *482 - dependency_snapshots: *482 - dependency_sbom: *482 - code_scanning_autofix: *482 + graphql: *466 + search: *466 + code_search: *466 + source_import: *466 + integration_manifest: *466 + code_scanning_upload: *466 + actions_runner_registration: *466 + scim: *466 + dependency_snapshots: *466 + dependency_sbom: *466 + code_scanning_autofix: *466 required: - core - search - rate: *482 + rate: *466 required: - rate - resources @@ -61312,14 +60439,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *483 + schema: *467 examples: default-response: summary: Default response @@ -61824,7 +60951,7 @@ paths: status: disabled '403': *29 '404': *6 - '301': *484 + '301': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61842,8 +60969,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -62100,10 +61227,10 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 - '307': &486 + default: *469 + '307': &470 description: Temporary Redirect content: application/json: @@ -62132,8 +61259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -62155,7 +61282,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': *486 + '307': *470 '404': *6 '409': *114 x-github: @@ -62179,11 +61306,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - - &501 + - &485 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -62206,7 +61333,7 @@ paths: type: integer artifacts: type: array - items: &487 + items: &471 title: Artifact description: An artifact type: object @@ -62284,7 +61411,7 @@ paths: - expires_at - updated_at examples: - default: &502 + default: &486 value: total_count: 2 artifacts: @@ -62345,9 +61472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *472 - - *473 - - &488 + - *456 + - *457 + - &472 name: artifact_id description: The unique identifier of the artifact. in: path @@ -62359,7 +61486,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *471 examples: default: value: @@ -62397,9 +61524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *456 + - *457 - *472 - - *473 - - *488 responses: '204': description: Response @@ -62423,9 +61550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *456 + - *457 - *472 - - *473 - - *488 - name: archive_format in: path required: true @@ -62439,7 +61566,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': &663 + '410': &647 description: Gone content: application/json: @@ -62466,14 +61593,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *489 + schema: *473 examples: default: value: @@ -62499,11 +61626,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: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - - &490 + - &474 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 @@ -62537,7 +61664,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &475 title: Repository actions caches description: Repository actions caches type: object @@ -62579,7 +61706,7 @@ paths: - total_count - actions_caches examples: - default: &492 + default: &476 value: total_count: 1 actions_caches: @@ -62611,23 +61738,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: - - *472 - - *473 + - *456 + - *457 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *490 + - *474 responses: '200': description: Response content: application/json: - schema: *491 + schema: *475 examples: - default: *492 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62647,8 +61774,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: - - *472 - - *473 + - *456 + - *457 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -62679,9 +61806,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: - - *472 - - *473 - - &493 + - *456 + - *457 + - &477 name: job_id description: The unique identifier of the job. in: path @@ -62693,7 +61820,7 @@ paths: description: Response content: application/json: - schema: &505 + schema: &489 title: Job description: Information of a job execution in a workflow run type: object @@ -63000,9 +62127,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: - - *472 - - *473 - - *493 + - *456 + - *457 + - *477 responses: '302': description: Response @@ -63030,9 +62157,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: - - *472 - - *473 - - *493 + - *456 + - *457 + - *477 requestBody: required: false content: @@ -63053,7 +62180,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -63077,8 +62204,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Status response @@ -63128,8 +62255,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -63163,7 +62290,7 @@ paths: description: Empty response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -63192,8 +62319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -63211,7 +62338,7 @@ paths: type: integer secrets: type: array - items: &507 + items: &491 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -63231,7 +62358,7 @@ paths: - created_at - updated_at examples: - default: &508 + default: &492 value: total_count: 2 secrets: @@ -63264,9 +62391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *472 - - *473 - - *494 + - *456 + - *457 + - *478 - *19 responses: '200': @@ -63283,7 +62410,7 @@ paths: type: integer variables: type: array - items: &511 + items: &495 title: Actions Variable type: object properties: @@ -63313,7 +62440,7 @@ paths: - created_at - updated_at examples: - default: &512 + default: &496 value: total_count: 2 variables: @@ -63346,8 +62473,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63356,11 +62483,11 @@ paths: schema: type: object properties: - enabled: &495 + enabled: &479 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *56 - selected_actions_url: *271 + selected_actions_url: *261 sha_pinning_required: *57 required: - enabled @@ -63391,8 +62518,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -63403,7 +62530,7 @@ paths: schema: type: object properties: - enabled: *495 + enabled: *479 allowed_actions: *56 sha_pinning_required: *57 required: @@ -63436,14 +62563,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: &496 + schema: &480 type: object properties: access_level: @@ -63461,7 +62588,7 @@ paths: required: - access_level examples: - default: &497 + default: &481 value: access_level: organization x-github: @@ -63486,15 +62613,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: application/json: - schema: *496 + schema: *480 examples: - default: *497 + default: *481 responses: '204': description: Response @@ -63518,14 +62645,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *273 + schema: *263 examples: default: value: @@ -63549,8 +62676,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Empty response for successful settings update @@ -63560,7 +62687,7 @@ paths: required: true content: application/json: - schema: *274 + schema: *264 examples: default: summary: Set retention days @@ -63584,8 +62711,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63593,7 +62720,7 @@ paths: application/json: schema: *58 examples: - default: *275 + default: *265 '404': *6 x-github: enabledForGitHubApps: true @@ -63612,8 +62739,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -63647,14 +62774,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *276 + schema: *266 examples: default: *59 '403': *29 @@ -63676,13 +62803,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: application/json: - schema: *277 + schema: *267 examples: default: *59 responses: @@ -63708,8 +62835,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63740,8 +62867,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -63773,14 +62900,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *280 + schema: *270 examples: default: *65 x-github: @@ -63803,8 +62930,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Success response @@ -63815,7 +62942,7 @@ paths: required: true content: application/json: - schema: *281 + schema: *271 examples: default: *65 x-github: @@ -63844,8 +62971,8 @@ paths: in: query schema: type: string - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -63889,8 +63016,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -63898,9 +63025,9 @@ paths: application/json: schema: type: array - items: *285 + items: *275 examples: - default: *286 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63922,8 +63049,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -63966,7 +63093,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *287 + '201': *277 '404': *6 '422': *7 '409': *114 @@ -63997,8 +63124,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: - - *472 - - *473 + - *456 + - *457 responses: '201': description: Response @@ -64006,7 +63133,7 @@ paths: application/json: schema: *75 examples: - default: *288 + default: *278 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64034,8 +63161,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: - - *472 - - *473 + - *456 + - *457 responses: '201': description: Response @@ -64043,7 +63170,7 @@ paths: application/json: schema: *75 examples: - default: *289 + default: *279 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64065,8 +63192,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: '200': @@ -64075,7 +63202,7 @@ paths: application/json: schema: *72 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64096,8 +63223,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: '204': @@ -64124,8 +63251,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: '200': *77 @@ -64150,8 +63277,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: - - *472 - - *473 + - *456 + - *457 - *71 requestBody: required: true @@ -64200,8 +63327,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: - - *472 - - *473 + - *456 + - *457 - *71 requestBody: required: true @@ -64251,11 +63378,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: - - *472 - - *473 + - *456 + - *457 - *71 responses: - '200': *291 + '200': *281 '404': *6 x-github: githubCloudOnly: false @@ -64282,10 +63409,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: - - *472 - - *473 + - *456 + - *457 - *71 - - *292 + - *282 responses: '200': *77 '404': *6 @@ -64313,9 +63440,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: - - *472 - - *473 - - &515 + - *456 + - *457 + - &499 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. @@ -64323,7 +63450,7 @@ paths: required: false schema: type: string - - &516 + - &500 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -64331,7 +63458,7 @@ paths: required: false schema: type: string - - &517 + - &501 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -64340,7 +63467,7 @@ paths: required: false schema: type: string - - &518 + - &502 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 @@ -64367,7 +63494,7 @@ paths: - pending - *17 - *19 - - &519 + - &503 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)." @@ -64376,7 +63503,7 @@ paths: schema: type: string format: date-time - - &498 + - &482 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -64385,13 +63512,13 @@ paths: schema: type: boolean default: false - - &520 + - &504 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &521 + - &505 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -64414,7 +63541,7 @@ paths: type: integer workflow_runs: type: array - items: &499 + items: &483 title: Workflow Run description: An invocation of a workflow type: object @@ -64509,7 +63636,7 @@ paths: that triggered the run. type: array nullable: true - items: &540 + items: &524 title: Pull Request Minimal type: object properties: @@ -64628,7 +63755,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &544 + properties: &528 id: type: string description: SHA for the commit @@ -64679,7 +63806,7 @@ paths: - name - email nullable: true - required: &545 + required: &529 - id - tree_id - message @@ -64687,8 +63814,8 @@ paths: - author - committer nullable: true - repository: *284 - head_repository: *284 + repository: *274 + head_repository: *274 head_repository_id: type: integer example: 5 @@ -64726,7 +63853,7 @@ paths: - workflow_url - pull_requests examples: - default: &522 + default: &506 value: total_count: 1 workflow_runs: @@ -64962,24 +64089,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *472 - - *473 - - &500 + - *456 + - *457 + - &484 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *498 + - *482 responses: '200': description: Response content: application/json: - schema: *499 + schema: *483 examples: - default: &503 + default: &487 value: id: 30433642 name: Build @@ -65220,9 +64347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '204': description: Response @@ -65245,9 +64372,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '200': description: Response @@ -65366,15 +64493,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -65401,12 +64528,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 - *17 - *19 - - *501 + - *485 responses: '200': description: Response @@ -65422,9 +64549,9 @@ paths: type: integer artifacts: type: array - items: *487 + items: *471 examples: - default: *502 + default: *486 headers: Link: *43 x-github: @@ -65448,25 +64575,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *472 - - *473 - - *500 - - &504 + - *456 + - *457 + - *484 + - &488 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *498 + - *482 responses: '200': description: Response content: application/json: - schema: *499 + schema: *483 examples: - default: *503 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65489,10 +64616,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: - - *472 - - *473 - - *500 - - *504 + - *456 + - *457 + - *484 + - *488 - *17 - *19 responses: @@ -65510,9 +64637,9 @@ paths: type: integer jobs: type: array - items: *505 + items: *489 examples: - default: &506 + default: &490 value: total_count: 1 jobs: @@ -65625,10 +64752,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *472 - - *473 - - *500 - - *504 + - *456 + - *457 + - *484 + - *488 responses: '302': description: Response @@ -65656,15 +64783,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '202': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -65691,9 +64818,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: true content: @@ -65760,15 +64887,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '202': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -65795,9 +64922,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 - 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 @@ -65827,9 +64954,9 @@ paths: type: integer jobs: type: array - items: *505 + items: *489 examples: - default: *506 + default: *490 headers: Link: *43 x-github: @@ -65854,9 +64981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '302': description: Response @@ -65883,9 +65010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '204': description: Response @@ -65912,9 +65039,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '200': description: Response @@ -65974,7 +65101,7 @@ paths: items: type: object properties: - type: &629 + type: &613 type: string description: The type of reviewer. enum: @@ -65984,7 +65111,7 @@ paths: reviewer: anyOf: - *4 - - *313 + - *303 required: - environment - wait_timer @@ -66059,9 +65186,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: true content: @@ -66108,7 +65235,7 @@ paths: application/json: schema: type: array - items: &615 + items: &599 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -66214,7 +65341,7 @@ paths: - created_at - updated_at examples: - default: &616 + default: &600 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -66270,9 +65397,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: false content: @@ -66293,7 +65420,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66316,9 +65443,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: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 requestBody: required: false content: @@ -66339,7 +65466,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66372,9 +65499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *472 - - *473 - - *500 + - *456 + - *457 + - *484 responses: '200': description: Response @@ -66511,8 +65638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -66530,9 +65657,9 @@ paths: type: integer secrets: type: array - items: *507 + items: *491 examples: - default: *508 + default: *492 headers: Link: *43 x-github: @@ -66557,16 +65684,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *509 + schema: *493 examples: - default: *510 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66588,17 +65715,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '200': description: Response content: application/json: - schema: *507 + schema: *491 examples: - default: &642 + default: &626 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -66624,9 +65751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 requestBody: required: true content: @@ -66657,7 +65784,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66683,9 +65810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '204': description: Response @@ -66710,9 +65837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *472 - - *473 - - *494 + - *456 + - *457 + - *478 - *19 responses: '200': @@ -66729,9 +65856,9 @@ paths: type: integer variables: type: array - items: *511 + items: *495 examples: - default: *512 + default: *496 headers: Link: *43 x-github: @@ -66754,8 +65881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -66782,7 +65909,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -66807,17 +65934,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *472 - - *473 - - *297 + - *456 + - *457 + - *287 responses: '200': description: Response content: application/json: - schema: *511 + schema: *495 examples: - default: &643 + default: &627 value: name: USERNAME value: octocat @@ -66843,9 +65970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *472 - - *473 - - *297 + - *456 + - *457 + - *287 requestBody: required: true content: @@ -66887,9 +66014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *472 - - *473 - - *297 + - *456 + - *457 + - *287 responses: '204': description: Response @@ -66914,8 +66041,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -66933,7 +66060,7 @@ paths: type: integer workflows: type: array - items: &513 + items: &497 title: Workflow description: A GitHub Actions workflow type: object @@ -67040,9 +66167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *472 - - *473 - - &514 + - *456 + - *457 + - &498 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -67057,7 +66184,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *497 examples: default: value: @@ -67090,9 +66217,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '204': description: Response @@ -67117,9 +66244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '204': description: Response @@ -67170,9 +66297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '204': description: Response @@ -67199,19 +66326,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: - - *472 - - *473 - - *514 - - *515 - - *516 - - *517 - - *518 + - *456 + - *457 + - *498 + - *499 + - *500 + - *501 + - *502 - *17 - *19 - - *519 - - *498 - - *520 - - *521 + - *503 + - *482 + - *504 + - *505 responses: '200': description: Response @@ -67227,9 +66354,9 @@ paths: type: integer workflow_runs: type: array - items: *499 + items: *483 examples: - default: *522 + default: *506 headers: Link: *43 x-github: @@ -67262,9 +66389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *472 - - *473 - - *514 + - *456 + - *457 + - *498 responses: '200': description: Response @@ -67325,8 +66452,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *472 - - *473 + - *456 + - *457 - *106 - *17 - *104 @@ -67490,8 +66617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -67528,8 +66655,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: - - *472 - - *473 + - *456 + - *457 - name: assignee in: path required: true @@ -67565,8 +66692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -67678,8 +66805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *104 - *105 @@ -67736,7 +66863,7 @@ paths: initiator: type: string examples: - default: *523 + default: *507 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67756,8 +66883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -67765,7 +66892,7 @@ paths: application/json: schema: type: array - items: &524 + items: &508 title: Autolink reference description: An autolink reference. type: object @@ -67819,8 +66946,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -67859,9 +66986,9 @@ paths: description: response content: application/json: - schema: *524 + schema: *508 examples: - default: &525 + default: &509 value: id: 1 key_prefix: TICKET- @@ -67892,9 +67019,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: - - *472 - - *473 - - &526 + - *456 + - *457 + - &510 name: autolink_id description: The unique identifier of the autolink. in: path @@ -67906,9 +67033,9 @@ paths: description: Response content: application/json: - schema: *524 + schema: *508 examples: - default: *525 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -67928,9 +67055,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: - - *472 - - *473 - - *526 + - *456 + - *457 + - *510 responses: '204': description: Response @@ -67954,8 +67081,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response if Dependabot is enabled @@ -68003,8 +67130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -68025,8 +67152,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -68046,8 +67173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *472 - - *473 + - *456 + - *457 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -68085,7 +67212,7 @@ paths: - url protected: type: boolean - protection: &528 + protection: &512 title: Branch Protection description: Branch Protection type: object @@ -68127,7 +67254,7 @@ paths: required: - contexts - checks - enforce_admins: &531 + enforce_admins: &515 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -68142,7 +67269,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &533 + required_pull_request_reviews: &517 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -68163,7 +67290,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *313 + items: *303 apps: description: The list of apps with review dismissal access. @@ -68192,7 +67319,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *313 + items: *303 apps: description: The list of apps allowed to bypass pull request requirements. @@ -68218,7 +67345,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &530 + restrictions: &514 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -68281,7 +67408,7 @@ paths: type: string teams: type: array - items: *313 + items: *303 apps: type: array items: @@ -68495,9 +67622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *472 - - *473 - - &529 + - *456 + - *457 + - &513 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). @@ -68511,14 +67638,14 @@ paths: description: Response content: application/json: - schema: &539 + schema: &523 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &589 + commit: &573 title: Commit description: Commit type: object @@ -68552,7 +67679,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &527 + properties: &511 name: type: string example: '"Chris Wanstrath"' @@ -68567,7 +67694,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *527 + properties: *511 nullable: true message: type: string @@ -68588,7 +67715,7 @@ paths: required: - sha - url - verification: &649 + verification: &633 title: Verification type: object properties: @@ -68622,12 +67749,12 @@ paths: nullable: true oneOf: - *4 - - *295 + - *285 committer: nullable: true oneOf: - *4 - - *295 + - *285 parents: type: array items: @@ -68658,7 +67785,7 @@ paths: type: integer files: type: array - items: &602 + items: &586 title: Diff Entry description: Diff Entry type: object @@ -68742,7 +67869,7 @@ paths: - self protected: type: boolean - protection: *528 + protection: *512 protection_url: type: string format: uri @@ -68849,7 +67976,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *484 + '301': *468 '404': *6 x-github: githubCloudOnly: false @@ -68871,15 +67998,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *528 + schema: *512 examples: default: value: @@ -69073,9 +68200,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -69330,7 +68457,7 @@ paths: url: type: string format: uri - required_status_checks: &536 + required_status_checks: &520 title: Status Check Policy description: Status Check Policy type: object @@ -69406,7 +68533,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *303 apps: type: array items: *5 @@ -69424,7 +68551,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *303 apps: type: array items: *5 @@ -69482,7 +68609,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *530 + restrictions: *514 required_conversation_resolution: type: object properties: @@ -69594,9 +68721,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -69621,17 +68748,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: &532 + default: &516 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -69653,17 +68780,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: *532 + default: *516 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69682,9 +68809,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -69709,17 +68836,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *533 + schema: *517 examples: - default: &534 + default: &518 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -69815,9 +68942,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -69915,9 +69042,9 @@ paths: description: Response content: application/json: - schema: *533 + schema: *517 examples: - default: *534 + default: *518 '422': *15 x-github: githubCloudOnly: false @@ -69938,9 +69065,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -69967,17 +69094,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: &535 + default: &519 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -70000,17 +69127,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *531 + schema: *515 examples: - default: *535 + default: *519 '404': *6 x-github: githubCloudOnly: false @@ -70030,9 +69157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -70057,17 +69184,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *536 + schema: *520 examples: - default: &537 + default: &521 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -70093,9 +69220,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70147,9 +69274,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *520 examples: - default: *537 + default: *521 '404': *6 '422': *15 x-github: @@ -70171,9 +69298,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -70197,9 +69324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -70233,9 +69360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70302,9 +69429,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70368,9 +69495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: content: application/json: @@ -70436,15 +69563,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response content: application/json: - schema: *530 + schema: *514 examples: default: value: @@ -70535,9 +69662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '204': description: Response @@ -70560,9 +69687,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: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -70572,7 +69699,7 @@ paths: type: array items: *5 examples: - default: &538 + default: &522 value: - id: 1 slug: octoapp @@ -70629,9 +69756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -70665,7 +69792,7 @@ paths: type: array items: *5 examples: - default: *538 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -70686,9 +69813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -70722,7 +69849,7 @@ paths: type: array items: *5 examples: - default: *538 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -70743,9 +69870,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -70779,7 +69906,7 @@ paths: type: array items: *5 examples: - default: *538 + default: *522 '422': *15 x-github: githubCloudOnly: false @@ -70801,9 +69928,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: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -70811,9 +69938,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '404': *6 x-github: githubCloudOnly: false @@ -70833,9 +69960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70871,9 +69998,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -70894,9 +70021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: false content: @@ -70932,9 +70059,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -70955,9 +70082,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: content: application/json: @@ -70992,9 +70119,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -71016,9 +70143,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: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 responses: '200': description: Response @@ -71052,9 +70179,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71112,9 +70239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71172,9 +70299,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71234,9 +70361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 requestBody: required: true content: @@ -71258,7 +70385,7 @@ paths: description: Response content: application/json: - schema: *539 + schema: *523 examples: default: value: @@ -71372,8 +70499,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *472 - - *473 + - *456 + - *457 - *99 - *100 - *101 @@ -71387,9 +70514,9 @@ paths: application/json: schema: type: array - items: *308 + items: *298 examples: - default: *309 + default: *299 '404': *6 '500': *40 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -71409,8 +70536,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_request_number in: path required: true @@ -71424,7 +70551,7 @@ paths: description: Response content: application/json: - schema: *308 + schema: *298 examples: default: value: @@ -71483,8 +70610,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - *99 - *100 - *101 @@ -71498,9 +70625,9 @@ paths: application/json: schema: type: array - items: *311 + items: *301 examples: - default: *312 + default: *302 '404': *6 '403': *29 '500': *40 @@ -71524,8 +70651,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_request_number in: path required: true @@ -71537,7 +70664,7 @@ paths: description: A single bypass request. content: application/json: - schema: *311 + schema: *301 examples: default: value: @@ -71595,8 +70722,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_request_number in: path required: true @@ -71667,8 +70794,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *472 - - *473 + - *456 + - *457 - name: bypass_response_id in: path required: true @@ -71701,8 +70828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -71981,7 +71108,7 @@ paths: description: Response content: application/json: - schema: &541 + schema: &525 title: CheckRun description: A check performed on the code of a given code change type: object @@ -72100,8 +71227,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *540 - deployment: &867 + items: *524 + deployment: &851 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -72381,9 +71508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *472 - - *473 - - &542 + - *456 + - *457 + - &526 name: check_run_id description: The unique identifier of the check run. in: path @@ -72395,9 +71522,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *525 examples: - default: &543 + default: &527 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -72497,9 +71624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *472 - - *473 - - *542 + - *456 + - *457 + - *526 requestBody: required: true content: @@ -72739,9 +71866,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *525 examples: - default: *543 + default: *527 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72761,9 +71888,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *472 - - *473 - - *542 + - *456 + - *457 + - *526 - *17 - *19 responses: @@ -72858,15 +71985,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *472 - - *473 - - *542 + - *456 + - *457 + - *526 responses: '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -72904,8 +72031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -72927,7 +72054,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &546 + schema: &530 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -72991,7 +72118,7 @@ paths: nullable: true pull_requests: type: array - items: *540 + items: *524 nullable: true app: title: GitHub app @@ -73004,7 +72131,7 @@ paths: nullable: true properties: *212 required: *213 - repository: *284 + repository: *274 created_at: type: string format: date-time @@ -73013,12 +72140,12 @@ paths: type: string format: date-time nullable: true - head_commit: &898 + head_commit: &882 title: Simple Commit description: A commit. type: object - properties: *544 - required: *545 + properties: *528 + required: *529 latest_check_runs_count: type: integer check_runs_url: @@ -73046,7 +72173,7 @@ paths: - check_runs_url - pull_requests examples: - default: &547 + default: &531 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -73337,9 +72464,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *546 + schema: *530 examples: - default: *547 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73358,8 +72485,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -73420,7 +72547,7 @@ paths: required: - app_id - setting - repository: *284 + repository: *274 examples: default: value: @@ -73668,9 +72795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *472 - - *473 - - &548 + - *456 + - *457 + - &532 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -73682,9 +72809,9 @@ paths: description: Response content: application/json: - schema: *546 + schema: *530 examples: - default: *547 + default: *531 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73707,17 +72834,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: - - *472 - - *473 - - *548 - - &595 + - *456 + - *457 + - *532 + - &579 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &596 + - &580 name: status description: Returns check runs with the specified `status`. in: query @@ -73756,9 +72883,9 @@ paths: type: integer check_runs: type: array - items: *541 + items: *525 examples: - default: &597 + default: &581 value: total_count: 1 check_runs: @@ -73860,15 +72987,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *472 - - *473 - - *548 + - *456 + - *457 + - *532 responses: '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -73895,21 +73022,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: - - *472 - - *473 - - *317 - - *318 + - *456 + - *457 + - *307 + - *308 - *19 - *17 - - &564 + - &548 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: *549 - - &565 + schema: *533 + - &549 name: pr description: The number of the pull request for the results you want to list. in: query @@ -73934,13 +73061,13 @@ paths: be returned. in: query required: false - schema: *319 + schema: *309 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *550 + schema: *534 responses: '200': description: Response @@ -73956,7 +73083,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *551 + instances_url: *535 state: *109 fixed_at: *133 dismissed_by: @@ -73967,11 +73094,11 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *552 - dismissed_comment: *553 - rule: *554 - tool: *555 - most_recent_instance: *556 + dismissed_reason: *536 + dismissed_comment: *537 + rule: *538 + tool: *539 + most_recent_instance: *540 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74097,7 +73224,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &557 + '403': &541 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -74124,9 +73251,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: - - *472 - - *473 - - &558 + - *456 + - *457 + - &542 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -74140,7 +73267,7 @@ paths: description: Response content: application/json: - schema: &559 + schema: &543 type: object properties: number: *123 @@ -74148,7 +73275,7 @@ paths: updated_at: *131 url: *128 html_url: *129 - instances_url: *551 + instances_url: *535 state: *109 fixed_at: *133 dismissed_by: @@ -74159,8 +73286,8 @@ paths: required: *21 nullable: true dismissed_at: *132 - dismissed_reason: *552 - dismissed_comment: *553 + dismissed_reason: *536 + dismissed_comment: *537 rule: type: object properties: @@ -74214,8 +73341,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *555 - most_recent_instance: *556 + tool: *539 + most_recent_instance: *540 dismissal_approved_by: title: Simple User description: A GitHub user. @@ -74314,7 +73441,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74334,9 +73461,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 requestBody: required: true content: @@ -74351,8 +73478,8 @@ paths: enum: - open - dismissed - dismissed_reason: *552 - dismissed_comment: *553 + dismissed_reason: *536 + dismissed_comment: *537 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -74371,7 +73498,7 @@ paths: description: Response content: application/json: - schema: *559 + schema: *543 examples: default: value: @@ -74447,7 +73574,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &563 + '403': &547 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -74474,15 +73601,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 responses: '200': description: Response content: application/json: - schema: &560 + schema: &544 type: object properties: status: @@ -74508,13 +73635,13 @@ paths: - description - started_at examples: - default: &561 + default: &545 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &562 + '400': &546 description: Bad Request content: application/json: @@ -74525,7 +73652,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': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74550,29 +73677,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 responses: '200': description: OK content: application/json: - schema: *560 + schema: *544 examples: - default: *561 + default: *545 '202': description: Accepted content: application/json: - schema: *560 + schema: *544 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *562 + '400': *546 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -74604,9 +73731,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 requestBody: required: false content: @@ -74651,8 +73778,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *562 - '403': *563 + '400': *546 + '403': *547 '404': *6 '422': description: Unprocessable Entity @@ -74676,13 +73803,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 - *19 - *17 - - *564 - - *565 + - *548 + - *549 responses: '200': description: Response @@ -74690,7 +73817,7 @@ paths: application/json: schema: type: array - items: *556 + items: *540 examples: default: value: @@ -74729,7 +73856,7 @@ paths: end_column: 50 classifications: - source - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74763,25 +73890,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: - - *472 - - *473 - - *317 - - *318 + - *456 + - *457 + - *307 + - *308 - *19 - *17 - - *565 + - *549 - 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: *549 + schema: *533 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &568 + schema: &552 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -74802,23 +73929,23 @@ paths: application/json: schema: type: array - items: &569 + items: &553 type: object properties: - ref: *549 - commit_sha: &577 + ref: *533 + commit_sha: &561 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: *566 + analysis_key: *550 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *567 + category: *551 error: type: string example: error reading field xyz @@ -74842,8 +73969,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *568 - tool: *555 + sarif_id: *552 + tool: *539 deletable: type: boolean warning: @@ -74904,7 +74031,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -74940,8 +74067,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: - - *472 - - *473 + - *456 + - *457 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -74954,7 +74081,7 @@ paths: description: Response content: application/json: - schema: *569 + schema: *553 examples: response: summary: application/json response @@ -75008,7 +74135,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *557 + '403': *541 '404': *6 '422': description: Response if analysis could not be processed @@ -75095,8 +74222,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: - - *472 - - *473 + - *456 + - *457 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -75149,7 +74276,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': *563 + '403': *547 '404': *6 '503': *190 x-github: @@ -75171,8 +74298,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -75180,7 +74307,7 @@ paths: application/json: schema: type: array - items: &570 + items: &554 title: CodeQL Database description: A CodeQL database. type: object @@ -75291,7 +74418,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': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -75320,8 +74447,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: - - *472 - - *473 + - *456 + - *457 - name: language in: path description: The language of the CodeQL database. @@ -75333,7 +74460,7 @@ paths: description: Response content: application/json: - schema: *570 + schema: *554 examples: default: value: @@ -75365,9 +74492,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': &604 + '302': &588 description: Found - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -75389,8 +74516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *472 - - *473 + - *456 + - *457 - name: language in: path description: The language of the CodeQL database. @@ -75400,7 +74527,7 @@ paths: responses: '204': description: Response - '403': *563 + '403': *547 '404': *6 '503': *190 x-github: @@ -75428,8 +74555,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -75438,7 +74565,7 @@ paths: type: object additionalProperties: false properties: - language: &571 + language: &555 type: string description: The language targeted by the CodeQL query enum: @@ -75518,7 +74645,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &575 + schema: &559 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -75528,7 +74655,7 @@ paths: description: The ID of the variant analysis. controller_repo: *115 actor: *4 - query_language: *571 + query_language: *555 query_pack_url: type: string description: The download url for the query pack. @@ -75575,7 +74702,7 @@ paths: items: type: object properties: - repository: &572 + repository: &556 title: Repository Identifier description: Repository Identifier type: object @@ -75611,7 +74738,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &576 + analysis_status: &560 type: string description: The new status of the CodeQL variant analysis repository task. @@ -75643,7 +74770,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &573 + access_mismatch_repos: &557 type: object properties: repository_count: @@ -75657,7 +74784,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: *572 + items: *556 required: - repository_count - repositories @@ -75679,8 +74806,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *573 - over_limit_repos: *573 + no_codeql_db_repos: *557 + over_limit_repos: *557 required: - access_mismatch_repos - not_found_repos @@ -75696,7 +74823,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &574 + value: &558 summary: Default response value: id: 1 @@ -75848,10 +74975,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *574 + value: *558 repository_lists: summary: Response for a successful variant analysis submission - value: *574 + value: *558 '404': *6 '422': description: Unable to process variant analysis submission @@ -75879,8 +75006,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: - - *472 - - *473 + - *456 + - *457 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -75892,9 +75019,9 @@ paths: description: Response content: application/json: - schema: *575 + schema: *559 examples: - default: *574 + default: *558 '404': *6 '503': *190 x-github: @@ -75917,7 +75044,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: - - *472 + - *456 - name: repo in: path description: The name of the controller repository. @@ -75952,7 +75079,7 @@ paths: type: object properties: repository: *115 - analysis_status: *576 + analysis_status: *560 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -76077,8 +75204,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -76163,7 +75290,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *557 + '403': *541 '404': *6 '503': *190 x-github: @@ -76184,8 +75311,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -76252,7 +75379,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -76277,7 +75404,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *563 + '403': *547 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -76348,8 +75475,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -76357,7 +75484,7 @@ paths: schema: type: object properties: - commit_sha: *577 + commit_sha: *561 ref: type: string description: |- @@ -76415,7 +75542,7 @@ paths: schema: type: object properties: - id: *568 + id: *552 url: type: string description: The REST API URL for checking the status of the upload. @@ -76429,7 +75556,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': *563 + '403': *547 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -76452,8 +75579,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: - - *472 - - *473 + - *456 + - *457 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -76499,7 +75626,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': *557 + '403': *541 '404': description: Not Found if the sarif id does not match any upload '503': *190 @@ -76524,8 +75651,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -76606,8 +75733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *472 - - *473 + - *456 + - *457 - 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 @@ -76727,8 +75854,8 @@ paths: parameters: - *17 - *19 - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -76744,7 +75871,7 @@ paths: type: integer codespaces: type: array - items: *375 + items: *365 examples: default: value: @@ -77042,8 +76169,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -77106,17 +76233,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '400': *14 '401': *25 '403': *29 @@ -77145,8 +76272,8 @@ paths: parameters: - *17 - *19 - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -77210,8 +76337,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: - - *472 - - *473 + - *456 + - *457 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -77246,14 +76373,14 @@ paths: type: integer machines: type: array - items: &824 + items: &808 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *579 - required: *580 + properties: *563 + required: *564 examples: - default: &825 + default: &809 value: total_count: 2 machines: @@ -77293,8 +76420,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *472 - - *473 + - *456 + - *457 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -77378,8 +76505,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: - - *472 - - *473 + - *456 + - *457 - 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 @@ -77445,8 +76572,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -77464,7 +76591,7 @@ paths: type: integer secrets: type: array - items: &584 + items: &568 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -77484,7 +76611,7 @@ paths: - created_at - updated_at examples: - default: *581 + default: *565 headers: Link: *43 x-github: @@ -77507,16 +76634,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *582 + schema: *566 examples: - default: *583 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -77536,17 +76663,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '200': description: Response content: application/json: - schema: *584 + schema: *568 examples: - default: *585 + default: *569 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77566,9 +76693,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: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 requestBody: required: true content: @@ -77596,7 +76723,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -77620,9 +76747,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '204': description: Response @@ -77650,8 +76777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *472 - - *473 + - *456 + - *457 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -77693,7 +76820,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &586 + properties: &570 login: type: string example: octocat @@ -77786,7 +76913,7 @@ paths: user_view_type: type: string example: public - required: &587 + required: &571 - avatar_url - events_url - followers_url @@ -77860,8 +76987,8 @@ 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: - - *472 - - *473 + - *456 + - *457 - *138 responses: '204': @@ -77908,8 +77035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *472 - - *473 + - *456 + - *457 - *138 requestBody: required: false @@ -77936,7 +77063,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &662 + schema: &646 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -77947,7 +77074,7 @@ paths: example: 42 type: integer format: int64 - repository: *284 + repository: *274 invitee: title: Simple User description: A GitHub user. @@ -78125,7 +77252,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *259 + schema: *249 '403': *29 x-github: triggersNotification: true @@ -78165,8 +77292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *472 - - *473 + - *456 + - *457 - *138 responses: '204': @@ -78198,8 +77325,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *472 - - *473 + - *456 + - *457 - *138 responses: '200': @@ -78220,8 +77347,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *586 - required: *587 + properties: *570 + required: *571 nullable: true required: - permission @@ -78276,8 +77403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -78287,7 +77414,7 @@ paths: application/json: schema: type: array - items: &588 + items: &572 title: Commit Comment description: Commit Comment type: object @@ -78345,7 +77472,7 @@ paths: - created_at - updated_at examples: - default: &591 + default: &575 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78404,17 +77531,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '200': description: Response content: application/json: - schema: *588 + schema: *572 examples: - default: &592 + default: &576 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -78471,8 +77598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -78495,7 +77622,7 @@ paths: description: Response content: application/json: - schema: *588 + schema: *572 examples: default: value: @@ -78546,8 +77673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '204': @@ -78569,8 +77696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -78597,9 +77724,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -78620,8 +77747,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -78654,16 +77781,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -78685,10 +77812,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *472 - - *473 + - *456 + - *457 - *226 - - *464 + - *448 responses: '204': description: Response @@ -78737,8 +77864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *472 - - *473 + - *456 + - *457 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -78794,9 +77921,9 @@ paths: application/json: schema: type: array - items: *589 + items: *573 examples: - default: &715 + default: &699 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -78890,9 +78017,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *472 - - *473 - - &590 + - *456 + - *457 + - &574 name: commit_sha description: The SHA of the commit. in: path @@ -78964,9 +78091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 - *17 - *19 responses: @@ -78976,9 +78103,9 @@ paths: application/json: schema: type: array - items: *588 + items: *572 examples: - default: *591 + default: *575 headers: Link: *43 x-github: @@ -79006,9 +78133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 requestBody: required: true content: @@ -79043,9 +78170,9 @@ paths: description: Response content: application/json: - schema: *588 + schema: *572 examples: - default: *592 + default: *576 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -79073,9 +78200,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: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 - *17 - *19 responses: @@ -79085,9 +78212,9 @@ paths: application/json: schema: type: array - items: *593 + items: *577 examples: - default: &707 + default: &691 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79624,11 +78751,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *472 - - *473 + - *456 + - *457 - *19 - *17 - - &594 + - &578 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)" @@ -79643,9 +78770,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *573 examples: - default: &692 + default: &676 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -79758,11 +78885,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: - - *472 - - *473 - - *594 - - *595 - - *596 + - *456 + - *457 + - *578 + - *579 + - *580 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -79796,9 +78923,9 @@ paths: type: integer check_runs: type: array - items: *541 + items: *525 examples: - default: *597 + default: *581 headers: Link: *43 x-github: @@ -79823,9 +78950,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: - - *472 - - *473 - - *594 + - *456 + - *457 + - *578 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -79833,7 +78960,7 @@ paths: schema: type: integer example: 1 - - *595 + - *579 - *17 - *19 responses: @@ -79851,7 +78978,7 @@ paths: type: integer check_suites: type: array - items: *546 + items: *530 examples: default: value: @@ -80051,9 +79178,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: - - *472 - - *473 - - *594 + - *456 + - *457 + - *578 - *17 - *19 responses: @@ -80120,7 +79247,7 @@ paths: type: string total_count: type: integer - repository: *284 + repository: *274 commit_url: type: string format: uri @@ -80251,9 +79378,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *472 - - *473 - - *594 + - *456 + - *457 + - *578 - *17 - *19 responses: @@ -80263,7 +79390,7 @@ paths: application/json: schema: type: array - items: &769 + items: &753 title: Status description: The status of a commit. type: object @@ -80344,7 +79471,7 @@ paths: site_admin: false headers: Link: *43 - '301': *484 + '301': *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80372,8 +79499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -80402,20 +79529,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *598 - required: *599 + properties: *582 + required: *583 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &600 + properties: &584 url: type: string format: uri html_url: type: string format: uri - required: &601 + required: &585 - url - html_url nullable: true @@ -80429,26 +79556,26 @@ paths: contributing: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true readme: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true issue_template: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true pull_request_template: title: Community Health File type: object - properties: *600 - required: *601 + properties: *584 + required: *585 nullable: true required: - code_of_conduct @@ -80575,8 +79702,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *472 - - *473 + - *456 + - *457 - *19 - *17 - name: basehead @@ -80619,8 +79746,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *589 - merge_base_commit: *589 + base_commit: *573 + merge_base_commit: *573 status: type: string enum: @@ -80640,10 +79767,10 @@ paths: example: 6 commits: type: array - items: *589 + items: *573 files: type: array - items: *602 + items: *586 required: - url - html_url @@ -80929,8 +80056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *472 - - *473 + - *456 + - *457 - name: path description: path parameter in: path @@ -81073,7 +80200,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &603 + response-if-content-is-a-file: &587 summary: Response if content is a file value: type: file @@ -81205,7 +80332,7 @@ paths: - size - type - url - - &720 + - &704 title: Content File description: Content File type: object @@ -81406,7 +80533,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *603 + response-if-content-is-a-file: *587 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -81475,7 +80602,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *29 - '302': *604 + '302': *588 '304': *37 x-github: githubCloudOnly: false @@ -81498,8 +80625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *472 - - *473 + - *456 + - *457 - name: path description: path parameter in: path @@ -81592,7 +80719,7 @@ paths: description: Response content: application/json: - schema: &605 + schema: &589 title: File Commit description: File Commit type: object @@ -81744,7 +80871,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *589 examples: example-for-creating-a-file: value: @@ -81798,7 +80925,7 @@ paths: schema: oneOf: - *3 - - &644 + - &628 description: Repository rule violation was detected type: object properties: @@ -81819,7 +80946,7 @@ paths: items: type: object properties: - placeholder_id: &761 + placeholder_id: &745 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -81851,8 +80978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *472 - - *473 + - *456 + - *457 - name: path description: path parameter in: path @@ -81913,7 +81040,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *589 examples: default: value: @@ -81968,8 +81095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *472 - - *473 + - *456 + - *457 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -82092,22 +81219,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *472 - - *473 - - *333 - - *334 - - *335 - - *336 + - *456 + - *457 + - *323 + - *324 + - *325 + - *326 - 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 - - *337 - - *606 - - *338 - - *339 + - *327 + - *590 + - *328 + - *329 - *106 - name: per_page description: The number of results per page (max 100). For more information, @@ -82126,7 +81253,7 @@ paths: application/json: schema: type: array - items: &609 + items: &593 type: object description: A Dependabot alert. properties: @@ -82172,7 +81299,7 @@ paths: - unknown - direct - transitive - security_advisory: *607 + security_advisory: *591 security_vulnerability: *127 url: *128 html_url: *129 @@ -82203,7 +81330,7 @@ paths: nullable: true maxLength: 280 fixed_at: *133 - auto_dismissed_at: *608 + auto_dismissed_at: *592 required: - number - state @@ -82433,9 +81560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *472 - - *473 - - &610 + - *456 + - *457 + - &594 name: alert_number in: path description: |- @@ -82450,7 +81577,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *593 examples: default: value: @@ -82563,9 +81690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *472 - - *473 - - *610 + - *456 + - *457 + - *594 requestBody: required: true content: @@ -82610,7 +81737,7 @@ paths: description: Response content: application/json: - schema: *609 + schema: *593 examples: default: value: @@ -82739,8 +81866,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -82758,7 +81885,7 @@ paths: type: integer secrets: type: array - items: &613 + items: &597 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -82811,16 +81938,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *611 + schema: *595 examples: - default: *612 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82840,15 +81967,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '200': description: Response content: application/json: - schema: *613 + schema: *597 examples: default: value: @@ -82874,9 +82001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 requestBody: required: true content: @@ -82904,7 +82031,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -82928,9 +82055,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *472 - - *473 - - *294 + - *456 + - *457 + - *284 responses: '204': description: Response @@ -82952,8 +82079,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: - - *472 - - *473 + - *456 + - *457 - 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 @@ -83113,8 +82240,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -83353,8 +82480,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -83429,7 +82556,7 @@ paths: - version - url additionalProperties: false - metadata: &614 + metadata: &598 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -83462,7 +82589,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *614 + metadata: *598 resolved: type: object description: A collection of resolved package dependencies. @@ -83475,7 +82602,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *614 + metadata: *598 relationship: type: string description: A notation of whether a dependency is requested @@ -83604,8 +82731,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *472 - - *473 + - *456 + - *457 - name: sha description: The SHA recorded at creation time. in: query @@ -83645,9 +82772,9 @@ paths: application/json: schema: type: array - items: *615 + items: *599 examples: - default: *616 + default: *600 headers: Link: *43 x-github: @@ -83713,8 +82840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -83795,7 +82922,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *599 examples: simple-example: summary: Simple example @@ -83868,9 +82995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *472 - - *473 - - &617 + - *456 + - *457 + - &601 name: deployment_id description: deployment_id parameter in: path @@ -83882,7 +83009,7 @@ paths: description: Response content: application/json: - schema: *615 + schema: *599 examples: default: value: @@ -83947,9 +83074,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 responses: '204': description: Response @@ -83971,9 +83098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 - *17 - *19 responses: @@ -83983,7 +83110,7 @@ paths: application/json: schema: type: array - items: &618 + items: &602 title: Deployment Status description: The status of a deployment. type: object @@ -84144,9 +83271,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 requestBody: required: true content: @@ -84221,9 +83348,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *602 examples: - default: &619 + default: &603 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -84279,9 +83406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *472 - - *473 - - *617 + - *456 + - *457 + - *601 - name: status_id in: path required: true @@ -84292,9 +83419,9 @@ paths: description: Response content: application/json: - schema: *618 + schema: *602 examples: - default: *619 + default: *603 '404': *6 x-github: githubCloudOnly: false @@ -84321,12 +83448,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 - - *620 - - *621 - - *622 - - *623 + - *456 + - *457 + - *604 + - *605 + - *606 + - *607 - *17 - *19 responses: @@ -84336,9 +83463,9 @@ paths: application/json: schema: type: array - items: *624 + items: *608 examples: - default: *625 + default: *609 '404': *6 '403': *29 '500': *40 @@ -84362,8 +83489,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84375,7 +83502,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *624 + schema: *608 examples: default: value: @@ -84431,8 +83558,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84491,12 +83618,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - *99 - *100 - *101 - - *626 + - *610 - *17 - *19 responses: @@ -84506,9 +83633,9 @@ paths: application/json: schema: type: array - items: *627 + items: *611 examples: - default: *628 + default: *612 '404': *6 '403': *29 '500': *40 @@ -84533,8 +83660,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84546,7 +83673,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *627 + schema: *611 examples: default: value: @@ -84604,8 +83731,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: alert_number in: path required: true @@ -84674,8 +83801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -84732,8 +83859,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -84750,7 +83877,7 @@ paths: type: integer environments: type: array - items: &630 + items: &614 title: Environment description: Details of a deployment environment type: object @@ -84802,7 +83929,7 @@ paths: type: type: string example: wait_timer - wait_timer: &632 + wait_timer: &616 type: integer example: 30 description: The amount of time to delay a job after @@ -84839,11 +83966,11 @@ paths: items: type: object properties: - type: *629 + type: *613 reviewer: anyOf: - *4 - - *313 + - *303 required: - id - node_id @@ -84863,7 +83990,7 @@ paths: - id - node_id - type - deployment_branch_policy: &633 + deployment_branch_policy: &617 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -84979,9 +84106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *472 - - *473 - - &631 + - *456 + - *457 + - &615 name: environment_name in: path required: true @@ -84994,9 +84121,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: &634 + default: &618 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -85080,9 +84207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 requestBody: required: false content: @@ -85091,7 +84218,7 @@ paths: type: object nullable: true properties: - wait_timer: *632 + wait_timer: *616 prevent_self_review: type: boolean example: false @@ -85108,13 +84235,13 @@ paths: items: type: object properties: - type: *629 + type: *613 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *633 + deployment_branch_policy: *617 additionalProperties: false examples: default: @@ -85134,9 +84261,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: *634 + default: *618 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -85160,9 +84287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 responses: '204': description: Default response @@ -85187,9 +84314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 - *17 - *19 responses: @@ -85207,7 +84334,7 @@ paths: example: 2 branch_policies: type: array - items: &635 + items: &619 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -85264,9 +84391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 requestBody: required: true content: @@ -85312,9 +84439,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *619 examples: - example-wildcard: &636 + example-wildcard: &620 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -85356,10 +84483,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 - - &637 + - *456 + - *457 + - *615 + - &621 name: branch_policy_id in: path required: true @@ -85371,9 +84498,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *619 examples: - default: *636 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85392,10 +84519,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 - - *637 + - *456 + - *457 + - *615 + - *621 requestBody: required: true content: @@ -85423,9 +84550,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *619 examples: - default: *636 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85444,10 +84571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *472 - - *473 - - *631 - - *637 + - *456 + - *457 + - *615 + - *621 responses: '204': description: Response @@ -85472,9 +84599,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: - - *631 - - *473 - - *472 + - *615 + - *457 + - *456 responses: '200': description: List of deployment protection rules @@ -85490,7 +84617,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &638 + items: &622 title: Deployment protection rule description: Deployment protection rule type: object @@ -85509,7 +84636,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &639 + app: &623 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -85608,9 +84735,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: - - *631 - - *473 - - *472 + - *615 + - *457 + - *456 requestBody: content: application/json: @@ -85631,9 +84758,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *638 + schema: *622 examples: - default: &640 + default: &624 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -85668,9 +84795,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: - - *631 - - *473 - - *472 + - *615 + - *457 + - *456 - *19 - *17 responses: @@ -85689,7 +84816,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *639 + items: *623 examples: default: value: @@ -85724,10 +84851,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: - - *472 - - *473 - - *631 - - &641 + - *456 + - *457 + - *615 + - &625 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -85739,9 +84866,9 @@ paths: description: Response content: application/json: - schema: *638 + schema: *622 examples: - default: *640 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85762,10 +84889,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: - - *631 - - *473 - - *472 - - *641 + - *615 + - *457 + - *456 + - *625 responses: '204': description: Response @@ -85791,9 +84918,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 - *17 - *19 responses: @@ -85811,9 +84938,9 @@ paths: type: integer secrets: type: array - items: *507 + items: *491 examples: - default: *508 + default: *492 headers: Link: *43 x-github: @@ -85838,17 +84965,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 responses: '200': description: Response content: application/json: - schema: *509 + schema: *493 examples: - default: *510 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85870,18 +84997,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *472 - - *473 - - *631 - - *294 + - *456 + - *457 + - *615 + - *284 responses: '200': description: Response content: application/json: - schema: *507 + schema: *491 examples: - default: *642 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85903,10 +85030,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *472 - - *473 - - *631 - - *294 + - *456 + - *457 + - *615 + - *284 requestBody: required: true content: @@ -85937,7 +85064,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -85963,10 +85090,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *472 - - *473 - - *631 - - *294 + - *456 + - *457 + - *615 + - *284 responses: '204': description: Default response @@ -85991,10 +85118,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *472 - - *473 - - *631 - - *494 + - *456 + - *457 + - *615 + - *478 - *19 responses: '200': @@ -86011,9 +85138,9 @@ paths: type: integer variables: type: array - items: *511 + items: *495 examples: - default: *512 + default: *496 headers: Link: *43 x-github: @@ -86036,9 +85163,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *472 - - *473 - - *631 + - *456 + - *457 + - *615 requestBody: required: true content: @@ -86065,7 +85192,7 @@ paths: description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -86090,18 +85217,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *472 - - *473 - - *631 - - *297 + - *456 + - *457 + - *615 + - *287 responses: '200': description: Response content: application/json: - schema: *511 + schema: *495 examples: - default: *643 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86122,10 +85249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *472 - - *473 - - *297 - - *631 + - *456 + - *457 + - *287 + - *615 requestBody: required: true content: @@ -86167,10 +85294,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *472 - - *473 - - *297 - - *631 + - *456 + - *457 + - *287 + - *615 responses: '204': description: Response @@ -86192,8 +85319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -86261,8 +85388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *472 - - *473 + - *456 + - *457 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -86284,7 +85411,7 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: default: value: @@ -86421,8 +85548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -86454,9 +85581,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 '400': *14 '422': *15 '403': *29 @@ -86477,8 +85604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -86537,8 +85664,8 @@ paths: application/json: schema: oneOf: - - *259 - - *644 + - *249 + - *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86563,8 +85690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *472 - - *473 + - *456 + - *457 - name: file_sha in: path required: true @@ -86663,8 +85790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -86773,7 +85900,7 @@ paths: description: Response content: application/json: - schema: &645 + schema: &629 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -86987,15 +86114,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *472 - - *473 - - *590 + - *456 + - *457 + - *574 responses: '200': description: Response content: application/json: - schema: *645 + schema: *629 examples: default: value: @@ -87051,9 +86178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *472 - - *473 - - &646 + - *456 + - *457 + - &630 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. @@ -87070,7 +86197,7 @@ paths: application/json: schema: type: array - items: &647 + items: &631 title: Git Reference description: Git references within a repository type: object @@ -87145,17 +86272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *472 - - *473 - - *646 + - *456 + - *457 + - *630 responses: '200': description: Response content: application/json: - schema: *647 + schema: *631 examples: - default: &648 + default: &632 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -87184,8 +86311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -87214,9 +86341,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *631 examples: - default: *648 + default: *632 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -87242,9 +86369,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *472 - - *473 - - *646 + - *456 + - *457 + - *630 requestBody: required: true content: @@ -87273,9 +86400,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *631 examples: - default: *648 + default: *632 '422': *15 '409': *114 x-github: @@ -87293,9 +86420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *472 - - *473 - - *646 + - *456 + - *457 + - *630 responses: '204': description: Response @@ -87350,8 +86477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -87418,7 +86545,7 @@ paths: description: Response content: application/json: - schema: &650 + schema: &634 title: Git Tag description: Metadata for a Git tag type: object @@ -87469,7 +86596,7 @@ paths: - sha - type - url - verification: *649 + verification: *633 required: - sha - url @@ -87479,7 +86606,7 @@ paths: - tag - message examples: - default: &651 + default: &635 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -87552,8 +86679,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *472 - - *473 + - *456 + - *457 - name: tag_sha in: path required: true @@ -87564,9 +86691,9 @@ paths: description: Response content: application/json: - schema: *650 + schema: *634 examples: - default: *651 + default: *635 '404': *6 '409': *114 x-github: @@ -87590,8 +86717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -87664,7 +86791,7 @@ paths: description: Response content: application/json: - schema: &652 + schema: &636 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -87760,8 +86887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *472 - - *473 + - *456 + - *457 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -87784,7 +86911,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *636 examples: default-response: summary: Default response @@ -87843,8 +86970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -87854,7 +86981,7 @@ paths: application/json: schema: type: array - items: &653 + items: &637 title: Webhook description: Webhooks for repositories. type: object @@ -87908,7 +87035,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &906 + last_response: &890 title: Hook Response type: object properties: @@ -87982,8 +87109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -88035,9 +87162,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *637 examples: - default: &654 + default: &638 value: type: Repository id: 12345678 @@ -88085,17 +87212,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '200': description: Response content: application/json: - schema: *653 + schema: *637 examples: - default: *654 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -88115,9 +87242,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 requestBody: required: true content: @@ -88162,9 +87289,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *637 examples: - default: *654 + default: *638 '422': *15 '404': *6 x-github: @@ -88185,9 +87312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '204': description: Response @@ -88211,9 +87338,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '200': description: Response @@ -88240,9 +87367,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 requestBody: required: false content: @@ -88286,11 +87413,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 - *17 - - *348 + - *338 responses: '200': description: Response @@ -88298,9 +87425,9 @@ paths: application/json: schema: type: array - items: *349 + items: *339 examples: - default: *350 + default: *340 '400': *14 '422': *15 x-github: @@ -88319,18 +87446,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 - *16 responses: '200': description: Response content: application/json: - schema: *351 + schema: *341 examples: - default: *352 + default: *342 '400': *14 '422': *15 x-github: @@ -88349,9 +87476,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: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 - *16 responses: '202': *39 @@ -88374,9 +87501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '204': description: Response @@ -88401,9 +87528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *472 - - *473 - - *347 + - *456 + - *457 + - *337 responses: '204': description: Response @@ -88426,8 +87553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-immutable-releases-are-enabled-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response if immutable releases are enabled @@ -88473,8 +87600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '409': *114 @@ -88494,8 +87621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '409': *114 @@ -88552,14 +87679,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: &655 + schema: &639 title: Import description: A repository import from an external source. type: object @@ -88658,7 +87785,7 @@ paths: - html_url - authors_url examples: - default: &658 + default: &642 value: vcs: subversion use_lfs: true @@ -88674,7 +87801,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': &656 + '503': &640 description: Unavailable due to service under maintenance. content: application/json: @@ -88703,8 +87830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -88752,7 +87879,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *639 examples: default: value: @@ -88777,7 +87904,7 @@ paths: type: string '422': *15 '404': *6 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88805,8 +87932,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -88855,7 +87982,7 @@ paths: description: Response content: application/json: - schema: *655 + schema: *639 examples: example-1: summary: Example 1 @@ -88903,7 +88030,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': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88926,12 +88053,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88957,9 +88084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *472 - - *473 - - &846 + - *456 + - *457 + - &830 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -88973,7 +88100,7 @@ paths: application/json: schema: type: array - items: &657 + items: &641 title: Porter Author description: Porter Author type: object @@ -89027,7 +88154,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': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89052,8 +88179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *472 - - *473 + - *456 + - *457 - name: author_id in: path required: true @@ -89083,7 +88210,7 @@ paths: description: Response content: application/json: - schema: *657 + schema: *641 examples: default: value: @@ -89096,7 +88223,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89120,8 +88247,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -89162,7 +88289,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89190,8 +88317,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -89218,11 +88345,11 @@ paths: description: Response content: application/json: - schema: *655 + schema: *639 examples: - default: *658 + default: *642 '422': *15 - '503': *656 + '503': *640 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89245,8 +88372,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -89254,8 +88381,8 @@ paths: application/json: schema: *22 examples: - default: *659 - '301': *484 + default: *643 + '301': *468 '404': *6 x-github: githubCloudOnly: false @@ -89275,8 +88402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -89284,12 +88411,12 @@ paths: application/json: schema: anyOf: - - *365 + - *355 - type: object properties: {} additionalProperties: false examples: - default: &661 + default: &645 value: limit: collaborators_only origin: repository @@ -89314,13 +88441,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: application/json: - schema: *660 + schema: *644 examples: default: summary: Example request body @@ -89332,9 +88459,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: - default: *661 + default: *645 '409': description: Response x-github: @@ -89356,8 +88483,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -89380,8 +88507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -89391,9 +88518,9 @@ paths: application/json: schema: type: array - items: *662 + items: *646 examples: - default: &839 + default: &823 value: - id: 1 repository: @@ -89524,9 +88651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *472 - - *473 - - *369 + - *456 + - *457 + - *359 requestBody: required: false content: @@ -89555,7 +88682,7 @@ paths: description: Response content: application/json: - schema: *662 + schema: *646 examples: default: value: @@ -89686,9 +88813,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *472 - - *473 - - *369 + - *456 + - *457 + - *359 responses: '204': description: Response @@ -89719,8 +88846,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *472 - - *473 + - *456 + - *457 - 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 @@ -89768,7 +88895,7 @@ paths: required: false schema: type: string - - *373 + - *363 - name: sort description: What to sort results by. in: query @@ -89793,7 +88920,7 @@ paths: type: array items: *227 examples: - default: &672 + default: &656 value: - id: 1 node_id: MDU6SXNzdWUx @@ -89941,7 +89068,7 @@ paths: state_reason: completed headers: Link: *43 - '301': *484 + '301': *468 '422': *15 '404': *6 x-github: @@ -89970,8 +89097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -90055,7 +89182,7 @@ paths: application/json: schema: *227 examples: - default: &669 + default: &653 value: id: 1 node_id: MDU6SXNzdWUx @@ -90211,7 +89338,7 @@ paths: '422': *15 '503': *190 '404': *6 - '410': *663 + '410': *647 x-github: triggersNotification: true githubCloudOnly: false @@ -90239,8 +89366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *237 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -90261,9 +89388,9 @@ paths: application/json: schema: type: array - items: *664 + items: *648 examples: - default: &671 + default: &655 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90321,17 +89448,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '200': description: Response content: application/json: - schema: *664 + schema: *648 examples: - default: &665 + default: &649 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -90385,8 +89512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -90409,9 +89536,9 @@ paths: description: Response content: application/json: - schema: *664 + schema: *648 examples: - default: *665 + default: *649 '422': *15 x-github: githubCloudOnly: false @@ -90429,8 +89556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '204': @@ -90451,8 +89578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -90479,9 +89606,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -90502,8 +89629,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -90536,16 +89663,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -90567,10 +89694,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *472 - - *473 + - *456 + - *457 - *226 - - *464 + - *448 responses: '204': description: Response @@ -90590,8 +89717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -90601,7 +89728,7 @@ paths: application/json: schema: type: array - items: &668 + items: &652 title: Issue Event description: Issue Event type: object @@ -90644,8 +89771,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *666 - required: *667 + properties: *650 + required: *651 nullable: true label: title: Issue Event Label @@ -90689,7 +89816,7 @@ paths: properties: *20 required: *21 nullable: true - requested_team: *313 + requested_team: *303 dismissed_review: title: Issue Event Dismissed Review type: object @@ -90952,8 +90079,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *472 - - *473 + - *456 + - *457 - name: event_id in: path required: true @@ -90964,7 +90091,7 @@ paths: description: Response content: application/json: - schema: *668 + schema: *652 examples: default: value: @@ -91157,7 +90284,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *663 + '410': *647 '403': *29 x-github: githubCloudOnly: false @@ -91191,9 +90318,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *472 - - *473 - - &670 + - *456 + - *457 + - &654 name: issue_number description: The number that identifies the issue. in: path @@ -91207,10 +90334,10 @@ paths: application/json: schema: *227 examples: - default: *669 - '301': *484 + default: *653 + '301': *468 '404': *6 - '410': *663 + '410': *647 '304': *37 x-github: githubCloudOnly: false @@ -91235,9 +90362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -91343,13 +90470,13 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 '422': *15 '503': *190 '403': *29 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91367,9 +90494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -91397,7 +90524,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91413,9 +90540,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: content: application/json: @@ -91442,7 +90569,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91464,9 +90591,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - name: assignee in: path required: true @@ -91506,9 +90633,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *217 - *17 - *19 @@ -91519,13 +90646,13 @@ paths: application/json: schema: type: array - items: *664 + items: *648 examples: - default: *671 + default: *655 headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91554,9 +90681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -91578,16 +90705,16 @@ paths: description: Response content: application/json: - schema: *664 + schema: *648 examples: - default: *665 + default: *649 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *663 + '410': *647 '422': *15 '404': *6 x-github: @@ -91615,9 +90742,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -91629,12 +90756,12 @@ paths: type: array items: *227 examples: - default: *672 + default: *656 headers: Link: *43 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91662,9 +90789,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -91688,15 +90815,15 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *484 + '301': *468 '403': *29 - '410': *663 + '410': *647 '422': *15 '404': *6 x-github: @@ -91727,9 +90854,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -91743,13 +90870,13 @@ paths: application/json: schema: *227 examples: - default: *669 - '301': *484 + default: *653 + '301': *468 '400': *14 '401': *25 '403': *29 '404': *6 - '410': *663 + '410': *647 x-github: triggersNotification: true githubCloudOnly: false @@ -91775,9 +90902,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: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -91789,12 +90916,12 @@ paths: type: array items: *227 examples: - default: *672 + default: *656 headers: Link: *43 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91811,9 +90938,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -91827,7 +90954,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &675 + - &659 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -91881,7 +91008,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &676 + - &660 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -92017,7 +91144,7 @@ paths: - performed_via_github_app - assignee - assigner - - &677 + - &661 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -92068,7 +91195,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &678 + - &662 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -92119,7 +91246,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &679 + - &663 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -92173,7 +91300,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &680 + - &664 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -92207,7 +91334,7 @@ paths: properties: *212 required: *213 review_requester: *4 - requested_team: *313 + requested_team: *303 requested_reviewer: *4 required: - review_requester @@ -92220,7 +91347,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &681 + - &665 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -92254,7 +91381,7 @@ paths: properties: *212 required: *213 review_requester: *4 - requested_team: *313 + requested_team: *303 requested_reviewer: *4 required: - review_requester @@ -92267,7 +91394,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &682 + - &666 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -92327,7 +91454,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &683 + - &667 title: Locked Issue Event description: Locked Issue Event type: object @@ -92375,7 +91502,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &684 + - &668 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -92441,7 +91568,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &685 + - &669 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -92507,7 +91634,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &686 + - &670 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -92573,7 +91700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &687 + - &671 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -92664,7 +91791,7 @@ paths: color: red headers: Link: *43 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92681,9 +91808,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -92693,7 +91820,7 @@ paths: application/json: schema: type: array - items: &673 + items: &657 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -92740,7 +91867,7 @@ paths: - color - default examples: - default: &674 + default: &658 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92758,9 +91885,9 @@ paths: default: false headers: Link: *43 - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92777,9 +91904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -92838,12 +91965,12 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 - '301': *484 + default: *658 + '301': *468 '404': *6 - '410': *663 + '410': *647 '422': *15 x-github: githubCloudOnly: false @@ -92860,9 +91987,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -92922,12 +92049,12 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 - '301': *484 + default: *658 + '301': *468 '404': *6 - '410': *663 + '410': *647 '422': *15 x-github: githubCloudOnly: false @@ -92944,15 +92071,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 responses: '204': description: Response - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92971,9 +92098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - name: name in: path required: true @@ -92986,7 +92113,7 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: default: value: @@ -92997,9 +92124,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *484 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93019,9 +92146,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: false content: @@ -93049,7 +92176,7 @@ paths: '204': description: Response '403': *29 - '410': *663 + '410': *647 '404': *6 '422': *15 x-github: @@ -93067,9 +92194,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 responses: '204': description: Response @@ -93099,9 +92226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 responses: '200': description: Response @@ -93109,10 +92236,10 @@ paths: application/json: schema: *227 examples: - default: *669 - '301': *484 + default: *653 + '301': *468 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93129,9 +92256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - 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. @@ -93157,13 +92284,13 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93181,9 +92308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93215,16 +92342,16 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -93246,10 +92373,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *472 - - *473 - - *670 - - *464 + - *456 + - *457 + - *654 + - *448 responses: '204': description: Response @@ -93278,9 +92405,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93304,7 +92431,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -93337,9 +92464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -93351,11 +92478,11 @@ paths: type: array items: *227 examples: - default: *672 + default: *656 headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93383,9 +92510,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93414,14 +92541,14 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *663 + '410': *647 '422': *15 '404': *6 x-github: @@ -93441,9 +92568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 requestBody: required: true content: @@ -93476,7 +92603,7 @@ paths: application/json: schema: *227 examples: - default: *669 + default: *653 '403': *29 '404': *6 '422': *7 @@ -93498,9 +92625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *472 - - *473 - - *670 + - *456 + - *457 + - *654 - *17 - *19 responses: @@ -93515,19 +92642,19 @@ paths: description: Timeline Event type: object anyOf: - - *675 - - *676 - - *677 - - *678 - - *679 - - *680 - - *681 - - *682 - - *683 - - *684 - - *685 - - *686 - - *687 + - *659 + - *660 + - *661 + - *662 + - *663 + - *664 + - *665 + - *666 + - *667 + - *668 + - *669 + - *670 + - *671 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -93836,7 +92963,7 @@ paths: type: string comments: type: array - items: &709 + items: &693 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -94045,7 +93172,7 @@ paths: type: string comments: type: array - items: *588 + items: *572 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -94334,7 +93461,7 @@ paths: headers: Link: *43 '404': *6 - '410': *663 + '410': *647 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94351,8 +93478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -94362,7 +93489,7 @@ paths: application/json: schema: type: array - items: &688 + items: &672 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -94428,8 +93555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -94465,9 +93592,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *672 examples: - default: &689 + default: &673 value: id: 1 key: ssh-rsa AAA... @@ -94501,9 +93628,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *472 - - *473 - - &690 + - *456 + - *457 + - &674 name: key_id description: The unique identifier of the key. in: path @@ -94515,9 +93642,9 @@ paths: description: Response content: application/json: - schema: *688 + schema: *672 examples: - default: *689 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -94535,9 +93662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *472 - - *473 - - *690 + - *456 + - *457 + - *674 responses: '204': description: Response @@ -94557,8 +93684,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -94568,9 +93695,9 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 + default: *658 headers: Link: *43 '404': *6 @@ -94591,8 +93718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -94628,9 +93755,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *657 examples: - default: &691 + default: &675 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94662,8 +93789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *472 - - *473 + - *456 + - *457 - name: name in: path required: true @@ -94674,9 +93801,9 @@ paths: description: Response content: application/json: - schema: *673 + schema: *657 examples: - default: *691 + default: *675 '404': *6 x-github: githubCloudOnly: false @@ -94693,8 +93820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *472 - - *473 + - *456 + - *457 - name: name in: path required: true @@ -94733,7 +93860,7 @@ paths: description: Response content: application/json: - schema: *673 + schema: *657 examples: default: value: @@ -94759,8 +93886,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *472 - - *473 + - *456 + - *457 - name: name in: path required: true @@ -94786,8 +93913,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -94823,8 +93950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '202': *39 '403': @@ -94852,8 +93979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -94879,9 +94006,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *472 - - *473 - - *564 + - *456 + - *457 + - *548 responses: '200': description: Response @@ -95026,8 +94153,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95092,8 +94219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95127,9 +94254,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *589 + schema: *573 examples: - default: *692 + default: *676 '204': description: Response when already merged '404': @@ -95154,8 +94281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *472 - - *473 + - *456 + - *457 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -95196,12 +94323,12 @@ paths: application/json: schema: type: array - items: &693 + items: &677 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 examples: default: value: @@ -95257,8 +94384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95298,9 +94425,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *677 examples: - default: &694 + default: &678 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -95359,9 +94486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *472 - - *473 - - &695 + - *456 + - *457 + - &679 name: milestone_number description: The number that identifies the milestone. in: path @@ -95373,9 +94500,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *677 examples: - default: *694 + default: *678 '404': *6 x-github: githubCloudOnly: false @@ -95392,9 +94519,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *472 - - *473 - - *695 + - *456 + - *457 + - *679 requestBody: required: false content: @@ -95432,9 +94559,9 @@ paths: description: Response content: application/json: - schema: *693 + schema: *677 examples: - default: *694 + default: *678 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95450,9 +94577,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *472 - - *473 - - *695 + - *456 + - *457 + - *679 responses: '204': description: Response @@ -95473,9 +94600,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: - - *472 - - *473 - - *695 + - *456 + - *457 + - *679 - *17 - *19 responses: @@ -95485,9 +94612,9 @@ paths: application/json: schema: type: array - items: *673 + items: *657 examples: - default: *674 + default: *658 headers: Link: *43 x-github: @@ -95506,12 +94633,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: - - *472 - - *473 - - *696 - - *697 + - *456 + - *457 + - *680 + - *681 - *217 - - *698 + - *682 - *17 - *19 responses: @@ -95523,7 +94650,7 @@ paths: type: array items: *240 examples: - default: *699 + default: *683 headers: Link: *43 x-github: @@ -95547,8 +94674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -95606,14 +94733,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: &700 + schema: &684 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -95738,7 +94865,7 @@ paths: - custom_404 - public examples: - default: &701 + default: &685 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -95779,8 +94906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95834,9 +94961,9 @@ paths: description: Response content: application/json: - schema: *700 + schema: *684 examples: - default: *701 + default: *685 '422': *15 '409': *114 x-github: @@ -95859,8 +94986,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -95967,8 +95094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -95994,8 +95121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -96005,7 +95132,7 @@ paths: application/json: schema: type: array - items: &702 + items: &686 title: Page Build description: Page Build type: object @@ -96099,8 +95226,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *472 - - *473 + - *456 + - *457 responses: '201': description: Response @@ -96145,16 +95272,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *702 + schema: *686 examples: - default: &703 + default: &687 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -96202,8 +95329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *472 - - *473 + - *456 + - *457 - name: build_id in: path required: true @@ -96214,9 +95341,9 @@ paths: description: Response content: application/json: - schema: *702 + schema: *686 examples: - default: *703 + default: *687 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96236,8 +95363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -96342,9 +95469,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: - - *472 - - *473 - - &704 + - *456 + - *457 + - &688 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -96402,9 +95529,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *472 - - *473 - - *704 + - *456 + - *457 + - *688 responses: '204': *150 '404': *6 @@ -96431,8 +95558,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -96663,7 +95790,7 @@ paths: description: Empty response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -96690,8 +95817,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Private vulnerability reporting status @@ -96728,8 +95855,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: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '422': *14 @@ -96750,8 +95877,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: - - *472 - - *473 + - *456 + - *457 responses: '204': *150 '422': *14 @@ -96773,8 +95900,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -96784,7 +95911,7 @@ paths: type: array items: *151 examples: - default: *705 + default: *689 '403': *29 '404': *6 x-github: @@ -96806,8 +95933,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -96823,7 +95950,7 @@ paths: required: - properties examples: - default: *706 + default: *690 responses: '204': description: No Content when custom property values are successfully created @@ -96861,8 +95988,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *472 - - *473 + - *456 + - *457 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -96922,9 +96049,9 @@ paths: application/json: schema: type: array - items: *593 + items: *577 examples: - default: *707 + default: *691 headers: Link: *43 '304': *37 @@ -96956,8 +96083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -97022,7 +96149,7 @@ paths: description: Response content: application/json: - schema: &711 + schema: &695 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -97133,8 +96260,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 nullable: true active_lock_reason: type: string @@ -97179,7 +96306,7 @@ paths: nullable: true requested_teams: type: array - items: *439 + items: *429 nullable: true head: type: object @@ -97218,14 +96345,14 @@ paths: _links: type: object properties: - comments: *407 - commits: *407 - statuses: *407 - html: *407 - issue: *407 - review_comments: *407 - review_comment: *407 - self: *407 + comments: *397 + commits: *397 + statuses: *397 + html: *397 + issue: *397 + review_comments: *397 + review_comment: *397 + self: *397 required: - comments - commits @@ -97236,7 +96363,7 @@ paths: - review_comment - self author_association: *214 - auto_merge: *708 + auto_merge: *692 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -97328,7 +96455,7 @@ paths: - merged_by - review_comments examples: - default: &712 + default: &696 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -97855,8 +96982,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *472 - - *473 + - *456 + - *457 - name: sort in: query required: false @@ -97885,9 +97012,9 @@ paths: application/json: schema: type: array - items: *709 + items: *693 examples: - default: &714 + default: &698 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -97964,17 +97091,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: - - *472 - - *473 + - *456 + - *457 - *226 responses: '200': description: Response content: application/json: - schema: *709 + schema: *693 examples: - default: &710 + default: &694 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -98049,8 +97176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -98073,9 +97200,9 @@ paths: description: Response content: application/json: - schema: *709 + schema: *693 examples: - default: *710 + default: *694 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98091,8 +97218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *472 - - *473 + - *456 + - *457 - *226 responses: '204': @@ -98114,8 +97241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -98142,9 +97269,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -98165,8 +97292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *472 - - *473 + - *456 + - *457 - *226 requestBody: required: true @@ -98199,16 +97326,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -98230,10 +97357,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *472 - - *473 + - *456 + - *457 - *226 - - *464 + - *448 responses: '204': description: Response @@ -98276,9 +97403,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *472 - - *473 - - &713 + - *456 + - *457 + - &697 name: pull_number description: The number that identifies the pull request. in: path @@ -98291,9 +97418,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *711 + schema: *695 examples: - default: *712 + default: *696 '304': *37 '404': *6 '406': @@ -98328,9 +97455,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -98372,9 +97499,9 @@ paths: description: Response content: application/json: - schema: *711 + schema: *695 examples: - default: *712 + default: *696 '422': *15 '403': *29 x-github: @@ -98396,9 +97523,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: true content: @@ -98458,17 +97585,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '401': *25 '403': *29 '404': *6 @@ -98498,9 +97625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *237 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -98521,9 +97648,9 @@ paths: application/json: schema: type: array - items: *709 + items: *693 examples: - default: *714 + default: *698 headers: Link: *43 x-github: @@ -98556,9 +97683,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: true content: @@ -98663,7 +97790,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *693 examples: example-for-a-multi-line-comment: value: @@ -98751,9 +97878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *226 requestBody: required: true @@ -98776,7 +97903,7 @@ paths: description: Response content: application/json: - schema: *709 + schema: *693 examples: default: value: @@ -98862,9 +97989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *17 - *19 responses: @@ -98874,9 +98001,9 @@ paths: application/json: schema: type: array - items: *589 + items: *573 examples: - default: *715 + default: *699 headers: Link: *43 x-github: @@ -98906,9 +98033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *17 - *19 responses: @@ -98918,7 +98045,7 @@ paths: application/json: schema: type: array - items: *602 + items: *586 examples: default: value: @@ -98956,9 +98083,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 responses: '204': description: Response if pull request has been merged @@ -98981,9 +98108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -99094,9 +98221,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 responses: '200': description: Response @@ -99112,7 +98239,7 @@ paths: items: *4 teams: type: array - items: *313 + items: *303 required: - users - teams @@ -99171,9 +98298,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -99210,7 +98337,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *577 examples: default: value: @@ -99746,9 +98873,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: true content: @@ -99782,7 +98909,7 @@ paths: description: Response content: application/json: - schema: *593 + schema: *577 examples: default: value: @@ -100287,9 +99414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 - *17 - *19 responses: @@ -100299,7 +99426,7 @@ paths: application/json: schema: type: array - items: &716 + items: &700 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -100450,9 +99577,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: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -100538,9 +99665,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: &718 + default: &702 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100603,10 +99730,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: - - *472 - - *473 - - *713 - - &717 + - *456 + - *457 + - *697 + - &701 name: review_id description: The unique identifier of the review. in: path @@ -100618,9 +99745,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: &719 + default: &703 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -100679,10 +99806,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 requestBody: required: true content: @@ -100705,7 +99832,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: default: value: @@ -100767,18 +99894,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 responses: '200': description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: *718 + default: *702 '422': *7 '404': *6 x-github: @@ -100805,10 +99932,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 - *17 - *19 responses: @@ -100891,9 +100018,9 @@ paths: _links: type: object properties: - self: *407 - html: *407 - pull_request: *407 + self: *397 + html: *397 + pull_request: *397 required: - self - html @@ -101043,10 +100170,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 requestBody: required: true content: @@ -101074,7 +100201,7 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: default: value: @@ -101137,10 +100264,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: - - *472 - - *473 - - *713 - - *717 + - *456 + - *457 + - *697 + - *701 requestBody: required: true content: @@ -101175,9 +100302,9 @@ paths: description: Response content: application/json: - schema: *716 + schema: *700 examples: - default: *719 + default: *703 '404': *6 '422': *7 '403': *29 @@ -101199,9 +100326,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *472 - - *473 - - *713 + - *456 + - *457 + - *697 requestBody: required: false content: @@ -101264,8 +100391,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *472 - - *473 + - *456 + - *457 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -101278,9 +100405,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *704 examples: - default: &721 + default: &705 value: type: file encoding: base64 @@ -101322,8 +100449,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: - - *472 - - *473 + - *456 + - *457 - name: dir description: The alternate path to look for a README file in: path @@ -101343,9 +100470,9 @@ paths: description: Response content: application/json: - schema: *720 + schema: *704 examples: - default: *721 + default: *705 '404': *6 '422': *15 x-github: @@ -101367,8 +100494,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -101378,7 +100505,7 @@ paths: application/json: schema: type: array - items: &722 + items: &706 title: Release description: A release. type: object @@ -101449,7 +100576,7 @@ paths: author: *4 assets: type: array - items: &723 + items: &707 title: Release Asset description: Data related to a release. type: object @@ -101636,8 +100763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -101713,9 +100840,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: &726 + default: &710 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -101820,9 +100947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *472 - - *473 - - &724 + - *456 + - *457 + - &708 name: asset_id description: The unique identifier of the asset. in: path @@ -101834,9 +100961,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *707 examples: - default: &725 + default: &709 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 @@ -101871,7 +100998,7 @@ paths: type: User site_admin: false '404': *6 - '302': *604 + '302': *588 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101887,9 +101014,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *472 - - *473 - - *724 + - *456 + - *457 + - *708 requestBody: required: false content: @@ -101917,9 +101044,9 @@ paths: description: Response content: application/json: - schema: *723 + schema: *707 examples: - default: *725 + default: *709 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -101935,9 +101062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *472 - - *473 - - *724 + - *456 + - *457 + - *708 responses: '204': description: Response @@ -101961,8 +101088,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -102047,16 +101174,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: *726 + default: *710 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -102073,8 +101200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *472 - - *473 + - *456 + - *457 - name: tag description: tag parameter in: path @@ -102087,9 +101214,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: *726 + default: *710 '404': *6 x-github: githubCloudOnly: false @@ -102111,9 +101238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *472 - - *473 - - &727 + - *456 + - *457 + - &711 name: release_id description: The unique identifier of the release. in: path @@ -102127,9 +101254,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: *722 + schema: *706 examples: - default: *726 + default: *710 '401': description: Unauthorized x-github: @@ -102147,9 +101274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 requestBody: required: false content: @@ -102213,9 +101340,9 @@ paths: description: Response content: application/json: - schema: *722 + schema: *706 examples: - default: *726 + default: *710 '404': description: Not Found if the discussion category name is invalid content: @@ -102236,9 +101363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 responses: '204': description: Response @@ -102258,9 +101385,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 - *17 - *19 responses: @@ -102270,7 +101397,7 @@ paths: application/json: schema: type: array - items: *723 + items: *707 examples: default: value: @@ -102352,9 +101479,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: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 - name: name in: query required: true @@ -102380,7 +101507,7 @@ paths: description: Response for successful upload content: application/json: - schema: *723 + schema: *707 examples: response-for-successful-upload: value: @@ -102435,9 +101562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 - 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. @@ -102461,9 +101588,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 '404': *6 @@ -102484,9 +101611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *472 - - *473 - - *727 + - *456 + - *457 + - *711 requestBody: required: true content: @@ -102516,16 +101643,16 @@ paths: description: Reaction exists content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '201': description: Reaction created content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 '422': *15 x-github: githubCloudOnly: false @@ -102547,10 +101674,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *472 - - *473 - - *727 - - *464 + - *456 + - *457 + - *711 + - *448 responses: '204': description: Response @@ -102574,9 +101701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *472 - - *473 - - *529 + - *456 + - *457 + - *513 - *17 - *19 responses: @@ -102593,7 +101720,7 @@ paths: oneOf: - allOf: - *165 - - &728 + - &712 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -102614,67 +101741,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *166 - - *728 + - *712 - allOf: - *167 - - *728 + - *712 - allOf: - *168 - - *728 + - *712 - allOf: - - *729 - - *728 + - *713 + - *712 - allOf: - *169 - - *728 + - *712 - allOf: - *170 - - *728 + - *712 - allOf: - *171 - - *728 + - *712 - allOf: - *172 - - *728 + - *712 - allOf: - *173 - - *728 + - *712 - allOf: - *174 - - *728 + - *712 - allOf: - *175 - - *728 + - *712 - allOf: - *176 - - *728 + - *712 - allOf: - *177 - - *728 + - *712 - allOf: - *178 - - *728 + - *712 - allOf: - *179 - - *728 + - *712 - allOf: - *180 - - *728 + - *712 - allOf: - *181 - - *728 + - *712 - allOf: - *182 - - *728 + - *712 - allOf: - *183 - - *728 + - *712 - allOf: - *184 - - *728 + - *712 - allOf: - - *730 - - *728 + - *714 + - *712 examples: default: value: @@ -102713,8 +101840,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - name: includes_parents @@ -102725,7 +101852,7 @@ paths: schema: type: boolean default: true - - *731 + - *715 responses: '200': description: Response @@ -102780,8 +101907,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 requestBody: description: Request body required: true @@ -102810,7 +101937,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *732 + items: *716 required: - name - enforcement @@ -102843,7 +101970,7 @@ paths: application/json: schema: *185 examples: - default: &741 + default: &725 value: id: 42 name: super cool ruleset @@ -102890,12 +102017,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *472 - - *473 - - *733 + - *456 + - *457 + - *717 - *101 - - *734 - - *735 + - *718 + - *719 - *17 - *19 responses: @@ -102903,9 +102030,9 @@ paths: description: Response content: application/json: - schema: *736 + schema: *720 examples: - default: *737 + default: *721 '404': *6 '500': *40 x-github: @@ -102926,17 +102053,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *472 - - *473 - - *738 + - *456 + - *457 + - *722 responses: '200': description: Response content: application/json: - schema: *739 + schema: *723 examples: - default: *740 + default: *724 '404': *6 '500': *40 x-github: @@ -102964,8 +102091,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -102987,7 +102114,7 @@ paths: application/json: schema: *185 examples: - default: *741 + default: *725 '404': *6 '500': *40 put: @@ -103005,8 +102132,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103040,7 +102167,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *732 + items: *716 examples: default: value: @@ -103070,7 +102197,7 @@ paths: application/json: schema: *185 examples: - default: *741 + default: *725 '404': *6 '500': *40 delete: @@ -103088,8 +102215,8 @@ paths: category: repos subcategory: rules parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103112,8 +102239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 - name: ruleset_id @@ -103131,7 +102258,7 @@ paths: type: array items: *189 examples: - default: *424 + default: *414 '404': *6 '500': *40 x-github: @@ -103150,8 +102277,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *472 - - *473 + - *456 + - *457 - name: ruleset_id description: The ID of the ruleset. in: path @@ -103169,7 +102296,7 @@ paths: description: Response content: application/json: - schema: *425 + schema: *415 examples: default: value: @@ -103224,21 +102351,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: - - *472 - - *473 - - *426 - - *427 - - *428 - - *429 + - *456 + - *457 + - *416 + - *417 + - *418 + - *419 - *106 - *19 - *17 - - *742 - - *743 - - *430 - - *431 - - *432 - - *433 + - *726 + - *727 + - *420 + - *421 + - *422 + - *423 responses: '200': description: Response @@ -103246,7 +102373,7 @@ paths: application/json: schema: type: array - items: &747 + items: &731 type: object properties: number: *123 @@ -103265,8 +102392,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *744 - resolution: *745 + state: *728 + resolution: *729 resolved_at: type: string format: date-time @@ -103362,7 +102489,7 @@ paths: pull request. ' - oneOf: *746 + oneOf: *730 nullable: true has_more_locations: type: boolean @@ -103511,16 +102638,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: - - *472 - - *473 - - *558 - - *433 + - *456 + - *457 + - *542 + - *423 responses: '200': description: Response content: application/json: - schema: *747 + schema: *731 examples: default: value: @@ -103572,9 +102699,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 requestBody: required: true content: @@ -103582,8 +102709,8 @@ paths: schema: type: object properties: - state: *744 - resolution: *745 + state: *728 + resolution: *729 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -103602,7 +102729,7 @@ paths: description: Response content: application/json: - schema: *747 + schema: *731 examples: default: value: @@ -103677,9 +102804,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: - - *472 - - *473 - - *558 + - *456 + - *457 + - *542 - *19 - *17 responses: @@ -103690,7 +102817,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &928 + items: &912 type: object properties: type: @@ -103716,19 +102843,19 @@ paths: example: commit details: oneOf: - - *748 - - *749 - - *750 - - *751 - - *752 - - *753 - - *754 - - *755 - - *756 - - *757 - - *758 - - *759 - - *760 + - *732 + - *733 + - *734 + - *735 + - *736 + - *737 + - *738 + - *739 + - *740 + - *741 + - *742 + - *743 + - *744 examples: default: value: @@ -103814,8 +102941,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -103823,14 +102950,14 @@ paths: schema: type: object properties: - reason: &762 + reason: &746 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *761 + placeholder_id: *745 required: - reason - placeholder_id @@ -103847,7 +102974,7 @@ paths: schema: type: object properties: - reason: *762 + reason: *746 expire_at: type: string format: date-time @@ -103893,8 +103020,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: - - *472 - - *473 + - *456 + - *457 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -103909,7 +103036,7 @@ paths: properties: incremental_scans: type: array - items: &763 + items: &747 description: Information on a single scan performed by secret scanning on the repository type: object @@ -103935,15 +103062,15 @@ paths: nullable: true pattern_update_scans: type: array - items: *763 + items: *747 backfill_scans: type: array - items: *763 + items: *747 custom_pattern_backfill_scans: type: array items: allOf: - - *763 + - *747 - type: object properties: pattern_name: @@ -104013,8 +103140,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *472 - - *473 + - *456 + - *457 - *106 - name: sort description: The property to sort the results by. @@ -104058,9 +103185,9 @@ paths: application/json: schema: type: array - items: *764 + items: *748 examples: - default: *765 + default: *749 '400': *14 '404': *6 x-github: @@ -104083,8 +103210,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -104157,7 +103284,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *428 required: - login - type @@ -104244,9 +103371,9 @@ paths: description: Response content: application/json: - schema: *764 + schema: *748 examples: - default: &767 + default: &751 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -104479,8 +103606,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -104584,7 +103711,7 @@ paths: description: Response content: application/json: - schema: *764 + schema: *748 examples: default: value: @@ -104731,17 +103858,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 responses: '200': description: Response content: application/json: - schema: *764 + schema: *748 examples: - default: *767 + default: *751 '403': *29 '404': *6 x-github: @@ -104765,9 +103892,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 requestBody: required: true content: @@ -104840,7 +103967,7 @@ paths: login: type: string description: The username of the user credited. - type: *438 + type: *428 required: - login - type @@ -104926,17 +104053,17 @@ paths: description: Response content: application/json: - schema: *764 + schema: *748 examples: - default: *767 - add_credit: *767 + default: *751 + add_credit: *751 '403': *29 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *259 + schema: *249 examples: invalid_state_transition: value: @@ -104967,9 +104094,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 responses: '202': *39 '400': *14 @@ -104996,17 +104123,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: - - *472 - - *473 - - *766 + - *456 + - *457 + - *750 responses: '202': description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 '400': *14 '422': *15 '403': *29 @@ -105032,8 +104159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -105132,8 +104259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -105142,7 +104269,7 @@ paths: application/json: schema: type: array - items: &768 + items: &752 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -105175,8 +104302,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -105252,8 +104379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -105349,8 +104476,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -105504,8 +104631,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -105515,7 +104642,7 @@ paths: application/json: schema: type: array - items: *768 + items: *752 examples: default: value: @@ -105548,8 +104675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *472 - - *473 + - *456 + - *457 - name: sha in: path required: true @@ -105603,7 +104730,7 @@ paths: description: Response content: application/json: - schema: *769 + schema: *753 examples: default: value: @@ -105657,8 +104784,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -105690,14 +104817,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &770 + schema: &754 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -105765,8 +104892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: false content: @@ -105792,7 +104919,7 @@ paths: description: Response content: application/json: - schema: *770 + schema: *754 examples: default: value: @@ -105819,8 +104946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -105840,8 +104967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -105920,8 +105047,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: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -105929,7 +105056,7 @@ paths: application/json: schema: type: array - items: &771 + items: &755 title: Tag protection description: Tag protection type: object @@ -105981,8 +105108,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: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -106005,7 +105132,7 @@ paths: description: Response content: application/json: - schema: *771 + schema: *755 examples: default: value: @@ -106036,8 +105163,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: - - *472 - - *473 + - *456 + - *457 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -106074,8 +105201,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *472 - - *473 + - *456 + - *457 - name: ref in: path required: true @@ -106111,8 +105238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *472 - - *473 + - *456 + - *457 - *17 - *19 responses: @@ -106122,9 +105249,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - default: *385 + default: *375 headers: Link: *43 '404': *6 @@ -106144,8 +105271,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *472 - - *473 + - *456 + - *457 - *19 - *17 responses: @@ -106153,7 +105280,7 @@ paths: description: Response content: application/json: - schema: &772 + schema: &756 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -106165,7 +105292,7 @@ paths: required: - names examples: - default: &773 + default: &757 value: names: - octocat @@ -106188,8 +105315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -106220,9 +105347,9 @@ paths: description: Response content: application/json: - schema: *772 + schema: *756 examples: - default: *773 + default: *757 '404': *6 '422': *7 x-github: @@ -106243,9 +105370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *472 - - *473 - - &774 + - *456 + - *457 + - &758 name: per description: The time frame to display results for. in: query @@ -106274,7 +105401,7 @@ paths: example: 128 clones: type: array - items: &775 + items: &759 title: Traffic type: object properties: @@ -106361,8 +105488,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -106452,8 +105579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *472 - - *473 + - *456 + - *457 responses: '200': description: Response @@ -106513,9 +105640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *472 - - *473 - - *774 + - *456 + - *457 + - *758 responses: '200': description: Response @@ -106534,7 +105661,7 @@ paths: example: 3782 views: type: array - items: *775 + items: *759 required: - uniques - count @@ -106611,8 +105738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *472 - - *473 + - *456 + - *457 requestBody: required: true content: @@ -106648,7 +105775,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -106886,8 +106013,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -106910,8 +106037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -106933,8 +106060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -106960,8 +106087,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *472 - - *473 + - *456 + - *457 - name: ref in: path required: true @@ -107053,9 +106180,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -107096,7 +106223,7 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: default: value: @@ -107206,7 +106333,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &783 + - &767 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -107215,7 +106342,7 @@ paths: schema: type: string example: members - - &788 + - &772 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -107226,7 +106353,7 @@ paths: default: 1 format: int32 example: 1 - - &789 + - &773 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -107268,7 +106395,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &778 + items: &762 allOf: - type: object required: @@ -107343,7 +106470,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: &790 + meta: &774 type: object description: The metadata associated with the creation/updates to the user. @@ -107403,30 +106530,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &779 + '400': &763 description: Bad request content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '401': *777 - '403': &780 + schema: *760 + '401': *761 + '403': &764 description: Permission denied - '429': &781 + '429': &765 description: Too many requests content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '500': &782 + schema: *760 + '500': &766 description: Internal server error content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 + schema: *760 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107450,7 +106577,7 @@ paths: required: true content: application/json: - schema: &786 + schema: &770 type: object required: - schemas @@ -107510,9 +106637,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *778 + schema: *762 examples: - group: &784 + group: &768 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -107531,13 +106658,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': *779 - '401': *777 - '403': *780 - '409': &787 + '400': *763 + '401': *761 + '403': *764 + '409': &771 description: Duplicate record detected - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107554,7 +106681,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: - - &785 + - &769 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -107562,22 +106689,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *783 + - *767 - *41 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *778 + schema: *762 examples: - default: *784 - '400': *779 - '401': *777 - '403': *780 + default: *768 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107596,13 +106723,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: - - *785 + - *769 - *41 requestBody: required: true content: application/json: - schema: *786 + schema: *770 examples: group: summary: Group @@ -107628,17 +106755,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *778 + schema: *762 examples: - group: *784 - groupWithMembers: *784 - '400': *779 - '401': *777 - '403': *780 + group: *768 + groupWithMembers: *768 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107662,13 +106789,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: - - *785 + - *769 - *41 requestBody: required: true content: application/json: - schema: &797 + schema: &781 type: object required: - Operations @@ -107728,17 +106855,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *778 + schema: *762 examples: - updateGroup: *784 - addMembers: *784 - '400': *779 - '401': *777 - '403': *780 + updateGroup: *768 + addMembers: *768 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107754,17 +106881,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: - - *785 + - *769 - *41 responses: '204': description: Group was deleted, no content - '400': *779 - '401': *777 - '403': *780 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -107798,8 +106925,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *788 - - *789 + - *772 + - *773 - *41 responses: '200': @@ -107832,7 +106959,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &792 + items: &776 allOf: - type: object required: @@ -107911,7 +107038,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &791 + roles: &775 type: array description: The roles assigned to the user. items: @@ -107967,7 +107094,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *790 + meta: *774 startIndex: type: integer description: A starting index for the returned page @@ -108004,11 +107131,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *779 - '401': *777 - '403': *780 - '429': *781 - '500': *782 + '400': *763 + '401': *761 + '403': *764 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108032,7 +107159,7 @@ paths: required: true content: application/json: - schema: &795 + schema: &779 type: object required: - schemas @@ -108114,9 +107241,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *791 + roles: *775 examples: - user: &796 + user: &780 summary: User value: schemas: @@ -108163,9 +107290,9 @@ paths: description: User has been created content: application/scim+json: - schema: *792 + schema: *776 examples: - user: &793 + user: &777 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108191,13 +107318,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: *793 - '400': *779 - '401': *777 - '403': *780 - '409': *787 - '429': *781 - '500': *782 + enterpriseOwner: *777 + '400': *763 + '401': *761 + '403': *764 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108214,7 +107341,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: - - &794 + - &778 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -108227,15 +107354,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *792 + schema: *776 examples: - default: *793 - '400': *779 - '401': *777 - '403': *780 + default: *777 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108257,30 +107384,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: - - *794 + - *778 - *41 requestBody: required: true content: application/json: - schema: *795 + schema: *779 examples: - user: *796 + user: *780 responses: '200': description: User was updated content: application/scim+json: - schema: *792 + schema: *776 examples: - user: *793 - '400': *779 - '401': *777 - '403': *780 + user: *777 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108315,13 +107442,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: - - *794 + - *778 - *41 requestBody: required: true content: application/json: - schema: *797 + schema: *781 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -108361,18 +107488,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *792 + schema: *776 examples: - userMultiValuedProperties: *793 - userSingleValuedProperties: *793 - disableUser: *793 - '400': *779 - '401': *777 - '403': *780 + userMultiValuedProperties: *777 + userSingleValuedProperties: *777 + disableUser: *777 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '409': *787 - '429': *781 - '500': *782 + '409': *771 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108392,17 +107519,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: - - *794 + - *778 - *41 responses: '204': description: User was deleted, no content - '400': *779 - '401': *777 - '403': *780 + '400': *763 + '401': *761 + '403': *764 '404': *6 - '429': *781 - '500': *782 + '429': *765 + '500': *766 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -108489,7 +107616,7 @@ paths: example: 1 Resources: type: array - items: &798 + items: &782 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -108720,22 +107847,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': &799 + '404': &783 description: Resource not found content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '403': &800 + schema: *760 + '403': &784 description: Forbidden content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '400': *779 - '429': *781 + schema: *760 + '400': *763 + '429': *765 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -108761,9 +107888,9 @@ paths: description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: &801 + default: &785 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -108786,17 +107913,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': *799 - '403': *800 - '500': *782 + '404': *783 + '403': *784 + '500': *766 '409': description: Conflict content: application/json: - schema: *776 + schema: *760 application/scim+json: - schema: *776 - '400': *779 + schema: *760 + '400': *763 requestBody: required: true content: @@ -108894,17 +108021,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *83 - - *794 + - *778 responses: '200': description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: *801 - '404': *799 - '403': *800 + default: *785 + '404': *783 + '403': *784 '304': *37 x-github: githubCloudOnly: true @@ -108928,18 +108055,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *83 - - *794 + - *778 responses: '200': description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: *801 + default: *785 '304': *37 - '404': *799 - '403': *800 + '404': *783 + '403': *784 requestBody: required: true content: @@ -109052,19 +108179,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *83 - - *794 + - *778 responses: '200': description: Response content: application/scim+json: - schema: *798 + schema: *782 examples: - default: *801 + default: *785 '304': *37 - '404': *799 - '403': *800 - '400': *779 + '404': *783 + '403': *784 + '400': *763 '429': description: Response content: @@ -109155,12 +108282,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *83 - - *794 + - *778 responses: '204': description: Response - '404': *799 - '403': *800 + '404': *783 + '403': *784 '304': *37 x-github: githubCloudOnly: true @@ -109275,7 +108402,7 @@ paths: html_url: type: string format: uri - repository: *284 + repository: *274 score: type: number file_size: @@ -109293,7 +108420,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &802 + text_matches: &786 title: Search Result Text Matches type: array items: @@ -109456,7 +108583,7 @@ paths: enum: - author-date - committer-date - - &803 + - &787 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 @@ -109527,7 +108654,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *527 + properties: *511 nullable: true comment_count: type: integer @@ -109547,7 +108674,7 @@ paths: url: type: string format: uri - verification: *649 + verification: *633 required: - author - committer @@ -109566,7 +108693,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *527 + properties: *511 nullable: true parents: type: array @@ -109579,12 +108706,12 @@ paths: type: string sha: type: string - repository: *284 + repository: *274 score: type: number node_id: type: string - text_matches: *802 + text_matches: *786 required: - sha - node_id @@ -109777,7 +108904,7 @@ paths: - interactions - created - updated - - *803 + - *787 - *17 - *19 - name: advanced_search @@ -109874,11 +109001,11 @@ paths: description: type: string nullable: true - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: type: string state_reason: @@ -109895,8 +109022,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *405 - required: *406 + properties: *395 + required: *396 nullable: true comments: type: integer @@ -109910,7 +109037,7 @@ paths: type: string format: date-time nullable: true - text_matches: *802 + text_matches: *786 pull_request: type: object properties: @@ -109954,7 +109081,7 @@ paths: timeline_url: type: string format: uri - type: *370 + type: *360 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -110135,7 +109262,7 @@ paths: enum: - created - updated - - *803 + - *787 - *17 - *19 responses: @@ -110179,7 +109306,7 @@ paths: nullable: true score: type: number - text_matches: *802 + text_matches: *786 required: - id - node_id @@ -110265,7 +109392,7 @@ paths: - forks - help-wanted-issues - updated - - *803 + - *787 - *17 - *19 responses: @@ -110504,7 +109631,7 @@ paths: - admin - pull - push - text_matches: *802 + text_matches: *786 temp_clone_token: type: string allow_merge_commit: @@ -110805,7 +109932,7 @@ paths: type: string format: uri nullable: true - text_matches: *802 + text_matches: *786 related: type: array nullable: true @@ -110998,7 +110125,7 @@ paths: - followers - repositories - joined - - *803 + - *787 - *17 - *19 responses: @@ -111102,7 +110229,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *802 + text_matches: *786 blog: type: string nullable: true @@ -111181,7 +110308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &807 + - &791 name: team_id description: The unique identifier of the team. in: path @@ -111193,9 +110320,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 x-github: githubCloudOnly: false @@ -111222,7 +110349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *807 + - *791 requestBody: required: true content: @@ -111285,16 +110412,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '201': description: Response content: application/json: - schema: *453 + schema: *437 examples: - default: *454 + default: *438 '404': *6 '422': *15 '403': *29 @@ -111322,7 +110449,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *807 + - *791 responses: '204': description: Response @@ -111353,7 +110480,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *807 + - *791 - *106 - *17 - *19 @@ -111364,9 +110491,9 @@ paths: application/json: schema: type: array - items: *455 + items: *439 examples: - default: *808 + default: *792 headers: Link: *43 x-github: @@ -111395,7 +110522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *807 + - *791 requestBody: required: true content: @@ -111429,9 +110556,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *456 + default: *440 x-github: triggersNotification: true githubCloudOnly: false @@ -111458,16 +110585,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *807 - - *457 + - *791 + - *441 responses: '200': description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *456 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111492,8 +110619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *807 - - *457 + - *791 + - *441 requestBody: required: false content: @@ -111516,9 +110643,9 @@ paths: description: Response content: application/json: - schema: *455 + schema: *439 examples: - default: *809 + default: *793 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111543,8 +110670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *807 - - *457 + - *791 + - *441 responses: '204': description: Response @@ -111573,8 +110700,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *807 - - *457 + - *791 + - *441 - *106 - *17 - *19 @@ -111585,9 +110712,9 @@ paths: application/json: schema: type: array - items: *458 + items: *442 examples: - default: *810 + default: *794 headers: Link: *43 x-github: @@ -111616,8 +110743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *807 - - *457 + - *791 + - *441 requestBody: required: true content: @@ -111639,9 +110766,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *459 + default: *443 x-github: triggersNotification: true githubCloudOnly: false @@ -111668,17 +110795,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 responses: '200': description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *459 + default: *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111703,9 +110830,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 requestBody: required: true content: @@ -111727,9 +110854,9 @@ paths: description: Response content: application/json: - schema: *458 + schema: *442 examples: - default: *811 + default: *795 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111754,9 +110881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 responses: '204': description: Response @@ -111785,9 +110912,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: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 - 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. @@ -111813,9 +110940,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 x-github: @@ -111844,9 +110971,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: - - *807 - - *457 - - *460 + - *791 + - *441 + - *444 requestBody: required: true content: @@ -111878,9 +111005,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -111906,8 +111033,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: - - *807 - - *457 + - *791 + - *441 - 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. @@ -111933,9 +111060,9 @@ paths: application/json: schema: type: array - items: *461 + items: *445 examples: - default: *463 + default: *447 headers: Link: *43 x-github: @@ -111964,8 +111091,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: - - *807 - - *457 + - *791 + - *441 requestBody: required: true content: @@ -111997,9 +111124,9 @@ paths: description: Response content: application/json: - schema: *461 + schema: *445 examples: - default: *462 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -112023,7 +111150,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112033,9 +111160,9 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: - default: *368 + default: *358 headers: Link: *43 x-github: @@ -112061,7 +111188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *807 + - *791 - name: role description: Filters members returned by their role in the team. in: query @@ -112112,7 +111239,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112149,7 +111276,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112189,7 +111316,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112226,16 +111353,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: - - *807 + - *791 - *138 responses: '200': description: Response content: application/json: - schema: *469 + schema: *453 examples: - response-if-user-is-a-team-maintainer: *812 + response-if-user-is-a-team-maintainer: *796 '404': *6 x-github: githubCloudOnly: false @@ -112268,7 +111395,7 @@ 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: - - *807 + - *791 - *138 requestBody: required: false @@ -112294,9 +111421,9 @@ paths: description: Response content: application/json: - schema: *469 + schema: *453 examples: - response-if-users-membership-with-team-is-now-pending: *813 + response-if-users-membership-with-team-is-now-pending: *797 '403': description: Forbidden if team synchronization is set up '422': @@ -112330,7 +111457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *807 + - *791 - *138 responses: '204': @@ -112359,7 +111486,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112369,9 +111496,9 @@ paths: application/json: schema: type: array - items: *470 + items: *454 examples: - default: *814 + default: *798 headers: Link: *43 '404': *6 @@ -112397,16 +111524,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: - - *807 - - *471 + - *791 + - *455 responses: '200': description: Response content: application/json: - schema: *470 + schema: *454 examples: - default: *815 + default: *799 '404': description: Not Found if project is not managed by this team x-github: @@ -112430,8 +111557,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: - - *807 - - *471 + - *791 + - *455 requestBody: required: false content: @@ -112498,8 +111625,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: - - *807 - - *471 + - *791 + - *455 responses: '204': description: Response @@ -112526,7 +111653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112536,9 +111663,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 '404': *6 @@ -112568,15 +111695,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: - - *807 - - *472 - - *473 + - *791 + - *456 + - *457 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *816 + schema: *800 examples: alternative-response-with-extra-repository-information: value: @@ -112727,9 +111854,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: - - *807 - - *472 - - *473 + - *791 + - *456 + - *457 requestBody: required: false content: @@ -112779,9 +111906,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: - - *807 - - *472 - - *473 + - *791 + - *456 + - *457 responses: '204': description: Response @@ -112810,15 +111937,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: - - *807 + - *791 responses: '200': description: Response content: application/json: - schema: *474 + schema: *458 examples: - default: *475 + default: *459 '403': *29 '404': *6 x-github: @@ -112845,7 +111972,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: - - *807 + - *791 requestBody: required: true content: @@ -112902,7 +112029,7 @@ paths: description: Response content: application/json: - schema: *474 + schema: *458 examples: default: value: @@ -112933,7 +112060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *807 + - *791 - *17 - *19 responses: @@ -112943,9 +112070,9 @@ paths: application/json: schema: type: array - items: *313 + items: *303 examples: - response-if-child-teams-exist: *817 + response-if-child-teams-exist: *801 headers: Link: *43 '404': *6 @@ -112978,7 +112105,7 @@ paths: application/json: schema: oneOf: - - &819 + - &803 title: Private User description: Private User type: object @@ -113181,7 +112308,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *818 + - *802 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -113334,7 +112461,7 @@ paths: description: Response content: application/json: - schema: *819 + schema: *803 examples: default: value: @@ -113537,9 +112664,9 @@ paths: type: integer codespaces: type: array - items: *375 + items: *365 examples: - default: *376 + default: *366 '304': *37 '500': *40 '401': *25 @@ -113678,17 +112805,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '401': *25 '403': *29 '404': *6 @@ -113732,7 +112859,7 @@ paths: type: integer secrets: type: array - items: &820 + items: &804 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -113772,7 +112899,7 @@ paths: - visibility - selected_repositories_url examples: - default: *581 + default: *565 headers: Link: *43 x-github: @@ -113842,13 +112969,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: - - *294 + - *284 responses: '200': description: Response content: application/json: - schema: *820 + schema: *804 examples: default: value: @@ -113878,7 +113005,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: - - *294 + - *284 requestBody: required: true content: @@ -113923,7 +113050,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -113951,7 +113078,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: - - *294 + - *284 responses: '204': description: Response @@ -113976,7 +113103,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: - - *294 + - *284 responses: '200': description: Response @@ -113992,9 +113119,9 @@ paths: type: integer repositories: type: array - items: *284 + items: *274 examples: - default: *821 + default: *805 '401': *25 '403': *29 '404': *6 @@ -114019,7 +113146,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: - - *294 + - *284 requestBody: required: true content: @@ -114073,7 +113200,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: - - *294 + - *284 - name: repository_id in: path required: true @@ -114106,7 +113233,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: - - *294 + - *284 - name: repository_id in: path required: true @@ -114138,15 +113265,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: - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '304': *37 '500': *40 '401': *25 @@ -114172,7 +113299,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: - - *377 + - *367 requestBody: required: false content: @@ -114202,9 +113329,9 @@ paths: description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '401': *25 '403': *29 '404': *6 @@ -114226,7 +113353,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: - - *377 + - *367 responses: '202': *39 '304': *37 @@ -114255,13 +113382,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: - - *377 + - *367 responses: '202': description: Response content: application/json: - schema: &822 + schema: &806 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -114302,7 +113429,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &823 + default: &807 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -114334,7 +113461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *377 + - *367 - name: export_id in: path required: true @@ -114347,9 +113474,9 @@ paths: description: Response content: application/json: - schema: *822 + schema: *806 examples: - default: *823 + default: *807 '404': *6 x-github: githubCloudOnly: false @@ -114370,7 +113497,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *377 + - *367 responses: '200': description: Response @@ -114386,9 +113513,9 @@ paths: type: integer machines: type: array - items: *824 + items: *808 examples: - default: *825 + default: *809 '304': *37 '500': *40 '401': *25 @@ -114417,7 +113544,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: - - *377 + - *367 requestBody: required: true content: @@ -114467,13 +113594,13 @@ paths: nullable: true owner: *4 billable_owner: *4 - repository: *483 + repository: *467 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *579 - required: *580 + properties: *563 + required: *564 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -115247,15 +114374,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: - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '304': *37 '500': *40 '400': *14 @@ -115287,15 +114414,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: - - *377 + - *367 responses: '200': description: Response content: application/json: - schema: *375 + schema: *365 examples: - default: *578 + default: *562 '500': *40 '401': *25 '403': *29 @@ -115325,9 +114452,9 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: &836 + default: &820 value: - id: 197 name: hello_docker @@ -115428,7 +114555,7 @@ paths: application/json: schema: type: array - items: &826 + items: &810 title: Email description: Email type: object @@ -115493,9 +114620,9 @@ paths: application/json: schema: type: array - items: *826 + items: *810 examples: - default: &838 + default: &822 value: - email: octocat@github.com verified: true @@ -115570,7 +114697,7 @@ paths: application/json: schema: type: array - items: *826 + items: *810 examples: default: value: @@ -115826,7 +114953,7 @@ paths: application/json: schema: type: array - items: &827 + items: &811 title: GPG Key description: A unique encryption key type: object @@ -115957,7 +115084,7 @@ paths: - subkeys - revoked examples: - default: &852 + default: &836 value: - id: 3 name: Octocat's GPG Key @@ -116042,9 +115169,9 @@ paths: description: Response content: application/json: - schema: *827 + schema: *811 examples: - default: &828 + default: &812 value: id: 3 name: Octocat's GPG Key @@ -116101,7 +115228,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: - - &829 + - &813 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -116113,9 +115240,9 @@ paths: description: Response content: application/json: - schema: *827 + schema: *811 examples: - default: *828 + default: *812 '404': *6 '304': *37 '403': *29 @@ -116138,7 +115265,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: - - *829 + - *813 responses: '204': description: Response @@ -116329,7 +115456,7 @@ paths: type: array items: *74 examples: - default: *279 + default: *269 headers: Link: *43 '404': *6 @@ -116354,7 +115481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *278 + - *268 responses: '204': description: Response @@ -116380,7 +115507,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *278 + - *268 responses: '204': description: Response @@ -116414,12 +115541,12 @@ paths: application/json: schema: anyOf: - - *365 + - *355 - type: object properties: {} additionalProperties: false examples: - default: *366 + default: *356 '204': description: Response when there are no restrictions x-github: @@ -116443,7 +115570,7 @@ paths: required: true content: application/json: - schema: *660 + schema: *644 examples: default: value: @@ -116454,7 +115581,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: default: value: @@ -116535,7 +115662,7 @@ paths: - closed - all default: open - - *373 + - *363 - name: sort description: What to sort results by. in: query @@ -116560,7 +115687,7 @@ paths: type: array items: *227 examples: - default: *374 + default: *364 headers: Link: *43 '404': *6 @@ -116593,7 +115720,7 @@ paths: application/json: schema: type: array - items: &830 + items: &814 title: Key description: Key type: object @@ -116694,9 +115821,9 @@ paths: description: Response content: application/json: - schema: *830 + schema: *814 examples: - default: &831 + default: &815 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -116729,15 +115856,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: - - *690 + - *674 responses: '200': description: Response content: application/json: - schema: *830 + schema: *814 examples: - default: *831 + default: *815 '404': *6 '304': *37 '403': *29 @@ -116760,7 +115887,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: - - *690 + - *674 responses: '204': description: Response @@ -116793,7 +115920,7 @@ paths: application/json: schema: type: array - items: &832 + items: &816 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -116861,7 +115988,7 @@ paths: - account - plan examples: - default: &833 + default: &817 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -116923,9 +116050,9 @@ paths: application/json: schema: type: array - items: *832 + items: *816 examples: - default: *833 + default: *817 headers: Link: *43 '304': *37 @@ -116965,7 +116092,7 @@ paths: application/json: schema: type: array - items: *378 + items: *368 examples: default: value: @@ -117073,7 +116200,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *368 examples: default: value: @@ -117156,7 +116283,7 @@ paths: description: Response content: application/json: - schema: *378 + schema: *368 examples: default: value: @@ -117224,7 +116351,7 @@ paths: application/json: schema: type: array - items: *380 + items: *370 examples: default: value: @@ -117477,7 +116604,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -117657,7 +116784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *381 + - *371 - name: exclude in: query required: false @@ -117670,7 +116797,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *370 examples: default: value: @@ -117864,7 +116991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *381 + - *371 responses: '302': description: Response @@ -117890,7 +117017,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *381 + - *371 responses: '204': description: Response @@ -117919,8 +117046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *381 - - *834 + - *371 + - *818 responses: '204': description: Response @@ -117944,7 +117071,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *381 + - *371 - *17 - *19 responses: @@ -117954,9 +117081,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 '404': *6 @@ -118035,7 +117162,7 @@ paths: - docker - nuget - container - - *835 + - *819 - *19 - *17 responses: @@ -118045,10 +117172,10 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *836 - '400': *837 + default: *820 + '400': *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -118068,16 +117195,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: - - *388 - - *389 + - *378 + - *379 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: &853 + default: &837 value: id: 40201 name: octo-name @@ -118190,8 +117317,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: - - *388 - - *389 + - *378 + - *379 responses: '204': description: Response @@ -118221,8 +117348,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: - - *388 - - *389 + - *378 + - *379 - name: token description: package token schema: @@ -118254,8 +117381,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: - - *388 - - *389 + - *378 + - *379 - *19 - *17 - name: state @@ -118275,7 +117402,7 @@ paths: application/json: schema: type: array - items: *390 + items: *380 examples: default: value: @@ -118324,15 +117451,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 responses: '200': description: Response content: application/json: - schema: *390 + schema: *380 examples: default: value: @@ -118368,9 +117495,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 responses: '204': description: Response @@ -118400,9 +117527,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 responses: '204': description: Response @@ -118439,9 +117566,9 @@ paths: application/json: schema: type: array - items: *826 + items: *810 examples: - default: *838 + default: *822 headers: Link: *43 '304': *37 @@ -118554,7 +117681,7 @@ paths: type: array items: *74 examples: - default: &845 + default: &829 summary: Default response value: - id: 1296269 @@ -118858,9 +117985,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *467 examples: - default: *485 + default: *469 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -118898,9 +118025,9 @@ paths: application/json: schema: type: array - items: *662 + items: *646 examples: - default: *839 + default: *823 headers: Link: *43 '304': *37 @@ -118923,7 +118050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *369 + - *359 responses: '204': description: Response @@ -118946,7 +118073,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *369 + - *359 responses: '204': description: Response @@ -118979,7 +118106,7 @@ paths: application/json: schema: type: array - items: &840 + items: &824 title: Social account description: Social media account type: object @@ -118994,7 +118121,7 @@ paths: - provider - url examples: - default: &841 + default: &825 value: - provider: twitter url: https://twitter.com/github @@ -119056,9 +118183,9 @@ paths: application/json: schema: type: array - items: *840 + items: *824 examples: - default: *841 + default: *825 '422': *15 '304': *37 '404': *6 @@ -119145,7 +118272,7 @@ paths: application/json: schema: type: array - items: &842 + items: &826 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -119165,7 +118292,7 @@ paths: - title - created_at examples: - default: &857 + default: &841 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119229,9 +118356,9 @@ paths: description: Response content: application/json: - schema: *842 + schema: *826 examples: - default: &843 + default: &827 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -119261,7 +118388,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: - - &844 + - &828 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -119273,9 +118400,9 @@ paths: description: Response content: application/json: - schema: *842 + schema: *826 examples: - default: *843 + default: *827 '404': *6 '304': *37 '403': *29 @@ -119298,7 +118425,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: - - *844 + - *828 responses: '204': description: Response @@ -119327,7 +118454,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: - - &858 + - &842 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 @@ -119352,11 +118479,11 @@ paths: type: array items: *74 examples: - default-response: *845 + default-response: *829 application/vnd.github.v3.star+json: schema: type: array - items: &859 + items: &843 title: Starred Repository description: Starred Repository type: object @@ -119512,8 +118639,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response if this repository is starred by you @@ -119541,8 +118668,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -119566,8 +118693,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: - - *472 - - *473 + - *456 + - *457 responses: '204': description: Response @@ -119600,9 +118727,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 '304': *37 @@ -119639,7 +118766,7 @@ paths: application/json: schema: type: array - items: *453 + items: *437 examples: default: value: @@ -119725,10 +118852,10 @@ paths: application/json: schema: oneOf: - - *819 - - *818 + - *803 + - *802 examples: - default-response: &847 + default-response: &831 summary: Default response value: login: octocat @@ -119763,7 +118890,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &848 + response-with-git-hub-plan-information: &832 summary: Response with GitHub plan information value: login: octocat @@ -119826,7 +118953,7 @@ paths: required: true schema: type: string - - *404 + - *394 requestBody: required: true description: Details of the draft item to create in the project. @@ -119860,9 +118987,9 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: - draft_issue: *411 + draft_issue: *401 '304': *37 '403': *29 '401': *25 @@ -119885,7 +119012,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *846 + - *830 - *17 responses: '200': @@ -119934,11 +119061,11 @@ paths: application/json: schema: oneOf: - - *819 - - *818 + - *803 + - *802 examples: - default-response: *847 - response-with-git-hub-plan-information: *848 + default-response: *831 + response-with-git-hub-plan-information: *832 '404': *6 x-github: githubCloudOnly: false @@ -119988,8 +119115,8 @@ paths: required: - subject_digests examples: - default: *849 - withPredicateType: *850 + default: *833 + withPredicateType: *834 responses: '200': description: Response @@ -120042,7 +119169,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *851 + default: *835 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -120247,12 +119374,12 @@ paths: initiator: type: string examples: - default: *523 + default: *507 '201': description: Response content: application/json: - schema: *295 + schema: *285 examples: default: value: @@ -120286,9 +119413,9 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *836 + default: *820 '403': *29 '401': *25 x-github: @@ -120672,9 +119799,9 @@ paths: application/json: schema: type: array - items: *827 + items: *811 examples: - default: *852 + default: *836 headers: Link: *43 x-github: @@ -120778,7 +119905,7 @@ paths: application/json: schema: *22 examples: - default: *659 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120902,7 +120029,7 @@ paths: - docker - nuget - container - - *835 + - *819 - *138 - *19 - *17 @@ -120913,12 +120040,12 @@ paths: application/json: schema: type: array - items: *386 + items: *376 examples: - default: *836 + default: *820 '403': *29 '401': *25 - '400': *837 + '400': *821 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120938,17 +120065,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 responses: '200': description: Response content: application/json: - schema: *386 + schema: *376 examples: - default: *853 + default: *837 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120969,8 +120096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 responses: '204': @@ -121003,8 +120130,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 - name: token description: package token @@ -121037,8 +120164,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-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 responses: '200': @@ -121047,7 +120174,7 @@ paths: application/json: schema: type: array - items: *390 + items: *380 examples: default: value: @@ -121105,16 +120232,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: - - *388 - - *389 - - *391 + - *378 + - *379 + - *381 - *138 responses: '200': description: Response content: application/json: - schema: *390 + schema: *380 examples: default: value: @@ -121149,10 +120276,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 - - *391 + - *381 responses: '204': description: Response @@ -121184,10 +120311,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *388 - - *389 + - *378 + - *379 - *138 - - *391 + - *381 responses: '204': description: Response @@ -121228,9 +120355,9 @@ paths: application/json: schema: type: array - items: *402 + items: *392 examples: - default: *403 + default: *393 headers: Link: *43 '304': *37 @@ -121252,16 +120379,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *404 + - *394 - *138 responses: '200': description: Response content: application/json: - schema: *402 + schema: *392 examples: - default: *403 + default: *393 headers: Link: *43 '304': *37 @@ -121283,7 +120410,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *404 + - *394 - *138 - *17 - *104 @@ -121295,9 +120422,9 @@ paths: application/json: schema: type: array - items: *408 + items: *398 examples: - default: *854 + default: *838 headers: Link: *43 '304': *37 @@ -121319,17 +120446,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *404 - - *855 + - *394 + - *839 - *138 responses: '200': description: Response content: application/json: - schema: *408 + schema: *398 examples: - default: *856 + default: *840 headers: Link: *43 '304': *37 @@ -121352,7 +120479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *404 + - *394 - *138 - *104 - *105 @@ -121385,9 +120512,9 @@ paths: application/json: schema: type: array - items: *412 + items: *402 examples: - default: *413 + default: *403 headers: Link: *43 '304': *37 @@ -121409,7 +120536,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *138 - - *404 + - *394 requestBody: required: true description: Details of the item to add to the project. @@ -121446,10 +120573,10 @@ paths: description: Response content: application/json: - schema: *410 + schema: *400 examples: - issue: *411 - pull_request: *411 + issue: *401 + pull_request: *401 '304': *37 '403': *29 '401': *25 @@ -121469,9 +120596,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: - - *404 + - *394 - *138 - - *414 + - *404 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -121491,9 +120618,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - default: *413 + default: *403 headers: Link: *43 '304': *37 @@ -121514,9 +120641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *404 + - *394 - *138 - - *414 + - *404 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -121586,13 +120713,13 @@ paths: description: Response content: application/json: - schema: *412 + schema: *402 examples: - text_field: *413 - number_field: *413 - date_field: *413 - single_select_field: *413 - iteration_field: *413 + text_field: *403 + number_field: *403 + date_field: *403 + single_select_field: *403 + iteration_field: *403 '401': *25 '403': *29 '404': *6 @@ -121612,9 +120739,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *404 + - *394 - *138 - - *414 + - *404 responses: '204': description: Response @@ -121832,9 +120959,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -121842,458 +120969,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - *138 - responses: - '200': - description: Response - content: - application/json: - schema: *440 - examples: - default: *441 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - *138 - responses: - '200': - description: Response - content: - application/json: - schema: *445 - examples: - default: *446 - 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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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: - - *138 - - *197 - - *199 - - *198 - - *251 - - *201 - 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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': *190 - 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - *138 - responses: - '200': - description: Response - content: - application/json: - schema: *447 - examples: - default: *448 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/usage": - get: - summary: Get billing usage report for a user - description: |- - Gets a report of the total usage for a user. - - **Note:** This endpoint is only available to users with access to the enhanced billing platform. - tags: - - billing - operationId: billing/get-github-billing-usage-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user - parameters: - - *138 - - *197 - - *252 - - *198 - responses: - '200': - description: Response when getting a billing usage report - content: - application/json: - schema: - type: object - properties: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - examples: - default: - value: - usageItems: - - date: '2023-08-01' - product: Actions - sku: Actions Linux - quantity: 100 - unitType: minutes - pricePerUnit: 0.008 - grossAmount: 0.8 - discountAmount: 0 - netAmount: 0.8 - repositoryName: user/example - '400': *14 - '403': *29 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for a user - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for a user. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-for-a-user - parameters: - - *138 - - *197 - - *199 - - *198 - - *255 - - *201 - - *256 - responses: - '200': - description: Response when getting a billing usage summary - 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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - user - - usageItems - examples: - default: - value: - timePeriod: - year: 2025 - user: monalisa - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 - '400': *14 - '403': *29 - '404': *6 - '500': *40 - '503': *190 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -122316,9 +120991,9 @@ paths: application/json: schema: type: array - items: *840 + items: *824 examples: - default: *841 + default: *825 headers: Link: *43 x-github: @@ -122348,9 +121023,9 @@ paths: application/json: schema: type: array - items: *842 + items: *826 examples: - default: *857 + default: *841 headers: Link: *43 x-github: @@ -122375,7 +121050,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *138 - - *858 + - *842 - *106 - *17 - *19 @@ -122387,11 +121062,11 @@ paths: schema: anyOf: - type: array - items: *859 + items: *843 - type: array items: *74 examples: - default-response: *845 + default-response: *829 headers: Link: *43 x-github: @@ -122420,9 +121095,9 @@ paths: application/json: schema: type: array - items: *284 + items: *274 examples: - default: *392 + default: *382 headers: Link: *43 x-github: @@ -122550,7 +121225,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &860 + enterprise: &844 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -122608,7 +121283,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &861 + installation: &845 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -122627,7 +121302,7 @@ x-webhooks: required: - id - node_id - organization: &862 + organization: &846 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -122687,13 +121362,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &863 + repository: &847 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: &900 + properties: &884 id: description: Unique identifier of the repository example: 42 @@ -123376,7 +122051,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &901 + required: &885 - archive_url - assignees_url - blobs_url @@ -123527,10 +122202,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -123606,11 +122281,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - rule: &864 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + rule: &848 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) @@ -123833,11 +122508,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - rule: *864 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + rule: *848 sender: *4 required: - action @@ -124020,11 +122695,11 @@ x-webhooks: - everyone required: - from - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - rule: *864 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + rule: *848 sender: *4 required: - action @@ -124097,7 +122772,7 @@ x-webhooks: required: true content: application/json: - schema: &884 + schema: &868 title: Exemption request cancellation event type: object properties: @@ -124105,11 +122780,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: &865 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: &849 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -124342,7 +123017,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &866 + items: &850 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -124452,7 +123127,7 @@ x-webhooks: required: true content: application/json: - schema: &885 + schema: &869 title: Exemption request completed event type: object properties: @@ -124460,11 +123135,11 @@ x-webhooks: type: string enum: - completed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 sender: *4 required: - action @@ -124536,7 +123211,7 @@ x-webhooks: required: true content: application/json: - schema: &882 + schema: &866 title: Exemption request created event type: object properties: @@ -124544,11 +123219,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 sender: *4 required: - action @@ -124620,7 +123295,7 @@ x-webhooks: required: true content: application/json: - schema: &886 + schema: &870 title: Exemption response dismissed event type: object properties: @@ -124628,12 +123303,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 - exemption_response: *866 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 + exemption_response: *850 sender: *4 required: - action @@ -124707,7 +123382,7 @@ x-webhooks: required: true content: application/json: - schema: &883 + schema: &867 title: Exemption response submitted event type: object properties: @@ -124715,12 +123390,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - exemption_request: *865 - exemption_response: *866 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + exemption_request: *849 + exemption_response: *850 sender: *4 required: - action @@ -124804,7 +123479,7 @@ x-webhooks: type: string enum: - completed - check_run: &868 + check_run: &852 title: CheckRun description: A check performed on the code of a given code change type: object @@ -124857,8 +123532,8 @@ x-webhooks: type: string pull_requests: type: array - items: *540 - repository: *284 + items: *524 + repository: *274 status: example: completed type: string @@ -124895,7 +123570,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *867 + deployment: *851 details_url: example: https://example.com type: string @@ -124945,7 +123620,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *540 + items: *524 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -124980,10 +123655,10 @@ x-webhooks: - output - app - pull_requests - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 sender: *4 required: - check_run @@ -125376,11 +124051,11 @@ x-webhooks: type: string enum: - created - check_run: *868 - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + check_run: *852 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 sender: *4 required: - check_run @@ -125776,11 +124451,11 @@ x-webhooks: type: string enum: - requested_action - check_run: *868 - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + check_run: *852 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 requested_action: description: The action requested by the user. type: object @@ -126185,11 +124860,11 @@ x-webhooks: type: string enum: - rerequested - check_run: *868 - installation: *861 - enterprise: *860 - organization: *862 - repository: *863 + check_run: *852 + installation: *845 + enterprise: *844 + organization: *846 + repository: *847 sender: *4 required: - check_run @@ -127166,10 +125841,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -127854,10 +126529,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -128536,10 +127211,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -128705,7 +127380,7 @@ x-webhooks: required: - login - id - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -128850,20 +127525,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &869 + commit_oid: &853 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: *860 - installation: *861 - organization: *862 - ref: &870 + enterprise: *844 + installation: *845 + organization: *846 + ref: &854 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: *863 + repository: *847 sender: *4 required: - action @@ -129028,7 +127703,7 @@ x-webhooks: required: - login - id - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129258,12 +127933,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -129358,7 +128033,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129529,12 +128204,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -129700,7 +128375,7 @@ x-webhooks: required: - login - id - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: The reason for dismissing or closing the alert. type: string @@ -129866,12 +128541,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -129971,7 +128646,7 @@ x-webhooks: dismissed_by: type: object nullable: true - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130139,16 +128814,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 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: *863 + repository: *847 sender: *4 required: - action @@ -130245,7 +128920,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *553 + dismissed_comment: *537 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -130385,12 +129060,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *869 - enterprise: *860 - installation: *861 - organization: *862 - ref: *870 - repository: *863 + commit_oid: *853 + enterprise: *844 + installation: *845 + organization: *846 + ref: *854 + repository: *847 sender: *4 required: - action @@ -130647,10 +129322,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -130730,18 +129405,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *862 - pusher_type: &871 + organization: *846 + pusher_type: &855 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &872 + ref: &856 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -130751,7 +129426,7 @@ x-webhooks: enum: - tag - branch - repository: *863 + repository: *847 sender: *4 required: - ref @@ -130834,9 +129509,9 @@ x-webhooks: enum: - created definition: *152 - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -130921,9 +129596,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -131001,9 +129676,9 @@ x-webhooks: enum: - promote_to_enterprise definition: *152 - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -131081,9 +129756,9 @@ x-webhooks: enum: - updated definition: *152 - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -131160,10 +129835,10 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - repository: *863 - organization: *862 + enterprise: *844 + installation: *845 + repository: *847 + organization: *846 sender: *4 new_property_values: type: array @@ -131248,18 +129923,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - pusher_type: *871 - ref: *872 + enterprise: *844 + installation: *845 + organization: *846 + pusher_type: *855 + ref: *856 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *863 + repository: *847 sender: *4 required: - ref @@ -131343,11 +130018,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131431,11 +130106,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131519,11 +130194,11 @@ x-webhooks: type: string enum: - created - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131605,11 +130280,11 @@ x-webhooks: type: string enum: - dismissed - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131691,11 +130366,11 @@ x-webhooks: type: string enum: - fixed - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131778,11 +130453,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131864,11 +130539,11 @@ x-webhooks: type: string enum: - reopened - alert: *609 - installation: *861 - organization: *862 - enterprise: *860 - repository: *863 + alert: *593 + installation: *845 + organization: *846 + enterprise: *844 + repository: *847 sender: *4 required: - action @@ -131945,9 +130620,9 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - key: &873 + enterprise: *844 + installation: *845 + key: &857 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -131983,8 +130658,8 @@ x-webhooks: - verified - created_at - read_only - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -132061,11 +130736,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - key: *873 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + key: *857 + organization: *846 + repository: *847 sender: *4 required: - action @@ -132626,12 +131301,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: &877 + workflow: &861 title: Workflow type: object nullable: true @@ -133357,13 +132032,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *615 + deployment: *599 pull_requests: type: array - items: *711 - repository: *863 - organization: *862 - installation: *861 + items: *695 + repository: *847 + organization: *846 + installation: *845 sender: *4 responses: '200': @@ -133434,7 +132109,7 @@ x-webhooks: type: string enum: - approved - approver: &874 + approver: &858 type: object properties: avatar_url: @@ -133477,11 +132152,11 @@ x-webhooks: type: string comment: type: string - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - reviewers: &875 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + reviewers: &859 type: array items: type: object @@ -133560,7 +132235,7 @@ x-webhooks: sender: *4 since: type: string - workflow_job_run: &876 + workflow_job_run: &860 type: object properties: conclusion: @@ -134291,18 +132966,18 @@ x-webhooks: type: string enum: - rejected - approver: *874 + approver: *858 comment: type: string - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - reviewers: *875 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + reviewers: *859 sender: *4 since: type: string - workflow_job_run: *876 + workflow_job_run: *860 workflow_job_runs: type: array items: @@ -135006,13 +133681,13 @@ x-webhooks: type: string enum: - requested - enterprise: *860 + enterprise: *844 environment: type: string - installation: *861 - organization: *862 - repository: *863 - requestor: &887 + installation: *845 + organization: *846 + repository: *847 + requestor: &871 title: User type: object nullable: true @@ -136911,12 +135586,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 workflow_run: title: Deployment Workflow Run type: object @@ -137596,7 +136271,7 @@ x-webhooks: type: string enum: - answered - answer: &880 + answer: &864 type: object properties: author_association: @@ -137753,7 +136428,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &878 + discussion: &862 title: Discussion description: A Discussion in a repository. type: object @@ -138039,7 +136714,7 @@ x-webhooks: - id labels: type: array - items: *673 + items: *657 required: - repository_url - category @@ -138061,10 +136736,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138191,11 +136866,11 @@ x-webhooks: - from required: - category - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138278,11 +136953,11 @@ x-webhooks: type: string enum: - closed - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138364,7 +137039,7 @@ x-webhooks: type: string enum: - created - comment: &879 + comment: &863 type: object properties: author_association: @@ -138521,11 +137196,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138608,12 +137283,12 @@ x-webhooks: type: string enum: - deleted - comment: *879 - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + comment: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138708,12 +137383,12 @@ x-webhooks: - from required: - body - comment: *879 - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + comment: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138797,11 +137472,11 @@ x-webhooks: type: string enum: - created - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138883,11 +137558,11 @@ x-webhooks: type: string enum: - deleted - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -138987,11 +137662,11 @@ x-webhooks: type: string required: - from - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139073,10 +137748,10 @@ x-webhooks: type: string enum: - labeled - discussion: *878 - enterprise: *860 - installation: *861 - label: &881 + discussion: *862 + enterprise: *844 + installation: *845 + label: &865 title: Label type: object properties: @@ -139108,8 +137783,8 @@ x-webhooks: - color - default - description - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139192,11 +137867,11 @@ x-webhooks: type: string enum: - locked - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139278,11 +137953,11 @@ x-webhooks: type: string enum: - pinned - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139364,11 +138039,11 @@ x-webhooks: type: string enum: - reopened - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139453,16 +138128,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *878 - new_repository: *863 + new_discussion: *862 + new_repository: *847 required: - new_discussion - new_repository - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139545,10 +138220,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *878 - old_answer: *880 - organization: *862 - repository: *863 + discussion: *862 + old_answer: *864 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139630,12 +138305,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *878 - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139718,11 +138393,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139804,11 +138479,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *878 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + discussion: *862 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -139877,7 +138552,7 @@ x-webhooks: required: true content: application/json: - schema: *882 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139940,7 +138615,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140006,7 +138681,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *868 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140072,7 +138747,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *869 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140138,7 +138813,7 @@ x-webhooks: required: true content: application/json: - schema: *882 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140204,7 +138879,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *870 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140270,7 +138945,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140335,7 +139010,7 @@ x-webhooks: required: true content: application/json: - schema: *884 + schema: *868 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140400,7 +139075,7 @@ x-webhooks: required: true content: application/json: - schema: *885 + schema: *869 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140465,7 +139140,7 @@ x-webhooks: required: true content: application/json: - schema: *882 + schema: *866 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140530,7 +139205,7 @@ x-webhooks: required: true content: application/json: - schema: *886 + schema: *870 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140596,7 +139271,7 @@ x-webhooks: required: true content: application/json: - schema: *883 + schema: *867 responses: '200': description: Return a 200 status to indicate that the data was received @@ -140663,7 +139338,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *860 + enterprise: *844 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -141323,9 +139998,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - forkee @@ -141471,9 +140146,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pages: description: The pages that were updated. type: array @@ -141510,7 +140185,7 @@ x-webhooks: - action - sha - html_url - repository: *863 + repository: *847 sender: *4 required: - pages @@ -141586,10 +140261,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: &888 + organization: *846 + repositories: &872 description: An array of repository objects that the installation can access. type: array @@ -141615,8 +140290,8 @@ x-webhooks: - name - full_name - private - repository: *863 - requester: *887 + repository: *847 + requester: *871 sender: *4 required: - action @@ -141691,11 +140366,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -141771,11 +140446,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -141851,10 +140526,10 @@ x-webhooks: type: string enum: - added - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories_added: &889 + organization: *846 + repositories_added: &873 description: An array of repository objects, which were added to the installation. type: array @@ -141900,15 +140575,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *863 - repository_selection: &890 + repository: *847 + repository_selection: &874 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *887 + requester: *871 sender: *4 required: - action @@ -141987,10 +140662,10 @@ x-webhooks: type: string enum: - removed - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories_added: *889 + organization: *846 + repositories_added: *873 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -142017,9 +140692,9 @@ x-webhooks: - name - full_name - private - repository: *863 - repository_selection: *890 - requester: *887 + repository: *847 + repository_selection: *874 + requester: *871 sender: *4 required: - action @@ -142098,11 +140773,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -142281,10 +140956,10 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 target_type: type: string @@ -142363,11 +141038,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *860 + enterprise: *844 installation: *22 - organization: *862 - repositories: *888 - repository: *863 + organization: *846 + repositories: *872 + repository: *847 requester: nullable: true sender: *4 @@ -142619,8 +141294,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143414,8 +142089,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143431,7 +142106,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -143764,8 +142439,8 @@ x-webhooks: - state - locked - assignee - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -143845,7 +142520,7 @@ x-webhooks: type: string enum: - deleted - comment: &891 + comment: &875 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -144010,8 +142685,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144801,8 +143476,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144818,7 +143493,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -145153,8 +143828,8 @@ x-webhooks: - state - locked - assignee - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -145234,7 +143909,7 @@ x-webhooks: type: string enum: - edited - changes: &920 + changes: &904 description: The changes to the comment. type: object properties: @@ -145246,9 +143921,9 @@ x-webhooks: type: string required: - from - comment: *891 - enterprise: *860 - installation: *861 + comment: *875 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146041,8 +144716,8 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146058,7 +144733,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -146391,8 +145066,8 @@ x-webhooks: - state - locked - assignee - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146482,9 +145157,9 @@ x-webhooks: type: number blocking_issue: *227 blocking_issue_repo: *74 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146578,9 +145253,9 @@ x-webhooks: type: number blocking_issue: *227 blocking_issue_repo: *74 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146673,9 +145348,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146769,9 +145444,9 @@ x-webhooks: description: The ID of the blocking issue. type: number blocking_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -146856,10 +145531,10 @@ x-webhooks: type: string enum: - assigned - assignee: *887 - enterprise: *860 - installation: *861 - issue: &894 + assignee: *871 + enterprise: *844 + installation: *845 + issue: &878 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147648,11 +146323,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147668,7 +146343,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -147769,8 +146444,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -147850,8 +146525,8 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -148645,11 +147320,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148665,7 +147340,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -148901,8 +147576,8 @@ x-webhooks: required: - state - closed_at - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -148981,8 +147656,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149767,11 +148442,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149787,7 +148462,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -149887,8 +148562,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -149967,8 +148642,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150775,11 +149450,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150795,7 +149470,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -150874,7 +149549,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &892 + milestone: &876 title: Milestone description: A collection of related issues and pull requests. type: object @@ -151012,8 +149687,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -151112,8 +149787,8 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151902,11 +150577,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151919,7 +150594,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *370 + type: *360 title: description: Title of the issue type: string @@ -152023,9 +150698,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *881 - organization: *862 - repository: *863 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -152105,8 +150780,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152894,11 +151569,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152911,7 +151586,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *370 + type: *360 title: description: Title of the issue type: string @@ -153015,9 +151690,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *881 - organization: *862 - repository: *863 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -153097,8 +151772,8 @@ x-webhooks: type: string enum: - locked - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153910,11 +152585,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153927,7 +152602,7 @@ x-webhooks: timeline_url: type: string format: uri - type: *370 + type: *360 title: description: Title of the issue type: string @@ -154008,8 +152683,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -154088,8 +152763,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -154895,11 +153570,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154915,7 +153590,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -154993,9 +153668,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *892 - organization: *862 - repository: *863 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -155863,11 +154538,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155960,7 +154635,7 @@ x-webhooks: required: - login - id - type: *370 + type: *360 required: - id - number @@ -156429,8 +155104,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157219,11 +155894,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157239,7 +155914,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -157339,8 +156014,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -157420,9 +156095,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *860 - installation: *861 - issue: &893 + enterprise: *844 + installation: *845 + issue: &877 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -158205,11 +156880,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158225,7 +156900,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -158325,8 +157000,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -158405,8 +157080,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -159216,11 +157891,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159314,9 +157989,9 @@ x-webhooks: format: uri user_view_type: type: string - type: *370 - organization: *862 - repository: *863 + type: *360 + organization: *846 + repository: *847 sender: *4 required: - action @@ -160182,11 +158857,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160202,7 +158877,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -160770,11 +159445,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *860 - installation: *861 - issue: *893 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *877 + organization: *846 + repository: *847 sender: *4 required: - action @@ -160854,12 +159529,12 @@ x-webhooks: type: string enum: - typed - enterprise: *860 - installation: *861 - issue: *894 - type: *370 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + type: *360 + organization: *846 + repository: *847 sender: *4 required: - action @@ -160940,7 +159615,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &923 + assignee: &907 title: User type: object nullable: true @@ -161010,11 +159685,11 @@ x-webhooks: required: - login - id - enterprise: *860 - installation: *861 - issue: *894 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + organization: *846 + repository: *847 sender: *4 required: - action @@ -161093,12 +159768,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *860 - installation: *861 - issue: *894 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -161178,8 +159853,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161989,11 +160664,11 @@ x-webhooks: repository_url: type: string format: uri - sub_issues_summary: *804 - issue_dependencies_summary: *805 + sub_issues_summary: *788 + issue_dependencies_summary: *789 issue_field_values: type: array - items: *806 + items: *790 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162009,7 +160684,7 @@ x-webhooks: title: description: Title of the issue type: string - type: *370 + type: *360 updated_at: type: string format: date-time @@ -162087,8 +160762,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162168,11 +160843,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *860 - installation: *861 - issue: *893 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *877 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162251,12 +160926,12 @@ x-webhooks: type: string enum: - untyped - enterprise: *860 - installation: *861 - issue: *894 - type: *370 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + issue: *878 + type: *360 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162336,11 +161011,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162418,11 +161093,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162532,11 +161207,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - label: *881 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + label: *865 + organization: *846 + repository: *847 sender: *4 required: - action @@ -162618,9 +161293,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: &895 + enterprise: *844 + installation: *845 + marketplace_purchase: &879 title: Marketplace Purchase type: object required: @@ -162703,8 +161378,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *862 - previous_marketplace_purchase: &896 + organization: *846 + previous_marketplace_purchase: &880 title: Marketplace Purchase type: object properties: @@ -162784,7 +161459,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *863 + repository: *847 sender: *4 required: - action @@ -162864,10 +161539,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: *895 - organization: *862 + enterprise: *844 + installation: *845 + marketplace_purchase: *879 + organization: *846 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162950,7 +161625,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *863 + repository: *847 sender: *4 required: - action @@ -163032,10 +161707,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: *895 - organization: *862 + enterprise: *844 + installation: *845 + marketplace_purchase: *879 + organization: *846 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -163117,7 +161792,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *863 + repository: *847 sender: *4 required: - action @@ -163198,8 +161873,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 marketplace_purchase: title: Marketplace Purchase type: object @@ -163281,9 +161956,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *862 - previous_marketplace_purchase: *896 - repository: *863 + organization: *846 + previous_marketplace_purchase: *880 + repository: *847 sender: *4 required: - action @@ -163363,12 +162038,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *860 - installation: *861 - marketplace_purchase: *895 - organization: *862 - previous_marketplace_purchase: *896 - repository: *863 + enterprise: *844 + installation: *845 + marketplace_purchase: *879 + organization: *846 + previous_marketplace_purchase: *880 + repository: *847 sender: *4 required: - action @@ -163470,11 +162145,11 @@ x-webhooks: type: string required: - to - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 sender: *4 required: - action @@ -163574,11 +162249,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 sender: *4 required: - action @@ -163657,11 +162332,11 @@ x-webhooks: type: string enum: - removed - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 sender: *4 required: - action @@ -163739,11 +162414,11 @@ x-webhooks: type: string enum: - added - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163819,7 +162494,7 @@ x-webhooks: required: - login - id - team: &897 + team: &881 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -164042,11 +162717,11 @@ x-webhooks: type: string enum: - removed - enterprise: *860 - installation: *861 - member: *887 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + member: *871 + organization: *846 + repository: *847 scope: description: The scope of the membership. Currently, can only be `team`. @@ -164123,7 +162798,7 @@ x-webhooks: required: - login - id - team: *897 + team: *881 required: - action - scope @@ -164205,8 +162880,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *861 - merge_group: &899 + installation: *845 + merge_group: &883 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -164225,15 +162900,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *898 + head_commit: *882 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164319,10 +162994,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *861 - merge_group: *899 - organization: *862 - repository: *863 + installation: *845 + merge_group: *883 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164395,7 +163070,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 + enterprise: *844 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -164504,16 +163179,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *861 - organization: *862 + installation: *845 + organization: *846 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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -164594,11 +163269,11 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 - milestone: *892 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164677,9 +163352,9 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - milestone: &902 + enterprise: *844 + installation: *845 + milestone: &886 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164816,8 +163491,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -164896,11 +163571,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - milestone: *892 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165010,11 +163685,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - milestone: *892 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *876 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165094,11 +163769,11 @@ x-webhooks: type: string enum: - opened - enterprise: *860 - installation: *861 - milestone: *902 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + milestone: *886 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165177,11 +163852,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *887 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + blocked_user: *871 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165260,11 +163935,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *887 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + blocked_user: *871 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165340,7 +164015,7 @@ x-webhooks: enum: - created definition: *146 - enterprise: *860 + enterprise: *844 sender: *4 required: - action @@ -165420,8 +164095,8 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 sender: *4 required: - action @@ -165494,8 +164169,8 @@ x-webhooks: enum: - updated definition: *146 - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 sender: *4 required: - action @@ -165567,9 +164242,9 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 new_property_values: type: array @@ -165657,9 +164332,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - membership: &903 + enterprise: *844 + installation: *845 + membership: &887 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -165766,8 +164441,8 @@ x-webhooks: - role - organization_url - user - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165845,11 +164520,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *860 - installation: *861 - membership: *903 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + membership: *887 + organization: *846 + repository: *847 sender: *4 required: - action @@ -165928,8 +164603,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -166045,10 +164720,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 - user: *887 + user: *871 required: - action - invitation @@ -166126,11 +164801,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *860 - installation: *861 - membership: *903 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + membership: *887 + organization: *846 + repository: *847 sender: *4 required: - action @@ -166217,11 +164892,11 @@ x-webhooks: properties: from: type: string - enterprise: *860 - installation: *861 - membership: *903 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + membership: *887 + organization: *846 + repository: *847 sender: *4 required: - action @@ -166297,9 +164972,9 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 package: description: Information about the package. type: object @@ -166798,7 +165473,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &904 + items: &888 title: Ruby Gems metadata type: object properties: @@ -166893,7 +165568,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -166969,9 +165644,9 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 package: description: Information about the package. type: object @@ -167324,7 +165999,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *904 + items: *888 source_url: type: string format: uri @@ -167394,7 +166069,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -167571,12 +166246,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *860 + enterprise: *844 id: type: integer - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - id @@ -167653,7 +166328,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &905 + personal_access_token_request: &889 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -167799,10 +166474,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *860 - organization: *862 + enterprise: *844 + organization: *846 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -167879,11 +166554,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *905 - enterprise: *860 - organization: *862 + personal_access_token_request: *889 + enterprise: *844 + organization: *846 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -167959,11 +166634,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *905 - enterprise: *860 - organization: *862 + personal_access_token_request: *889 + enterprise: *844 + organization: *846 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -168038,11 +166713,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *905 - organization: *862 - enterprise: *860 + personal_access_token_request: *889 + organization: *846 + enterprise: *844 sender: *4 - installation: *861 + installation: *845 required: - action - personal_access_token_request @@ -168147,7 +166822,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *906 + last_response: *890 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -168179,8 +166854,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 zen: description: Random string of GitHub zen. @@ -168425,10 +167100,10 @@ x-webhooks: - from required: - note - enterprise: *860 - installation: *861 - organization: *862 - project_card: &907 + enterprise: *844 + installation: *845 + organization: *846 + project_card: &891 title: Project Card type: object properties: @@ -168547,7 +167222,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *863 + repository: *847 sender: *4 required: - action @@ -168628,11 +167303,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - project_card: *907 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_card: *891 + repository: *847 sender: *4 required: - action @@ -168712,9 +167387,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 project_card: title: Project Card type: object @@ -168842,8 +167517,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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -168937,11 +167612,11 @@ x-webhooks: - from required: - note - enterprise: *860 - installation: *861 - organization: *862 - project_card: *907 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_card: *891 + repository: *847 sender: *4 required: - action @@ -169035,9 +167710,9 @@ x-webhooks: - from required: - column_id - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 project_card: allOf: - title: Project Card @@ -169227,7 +167902,7 @@ x-webhooks: type: string required: - after_id - repository: *863 + repository: *847 sender: *4 required: - action @@ -169307,10 +167982,10 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 - organization: *862 - project: &909 + enterprise: *844 + installation: *845 + organization: *846 + project: &893 title: Project type: object properties: @@ -169434,7 +168109,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *863 + repository: *847 sender: *4 required: - action @@ -169514,10 +168189,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - project_column: &908 + enterprise: *844 + installation: *845 + organization: *846 + project_column: &892 title: Project Column type: object properties: @@ -169556,7 +168231,7 @@ x-webhooks: - name - created_at - updated_at - repository: *863 + repository: *847 sender: *4 required: - action @@ -169635,18 +168310,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - project_column: *908 + enterprise: *844 + installation: *845 + organization: *846 + project_column: *892 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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -169736,11 +168411,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - project_column: *908 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_column: *892 + repository: *847 sender: *4 required: - action @@ -169820,11 +168495,11 @@ x-webhooks: type: string enum: - moved - enterprise: *860 - installation: *861 - organization: *862 - project_column: *908 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project_column: *892 + repository: *847 sender: *4 required: - action @@ -169904,11 +168579,11 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - project: *909 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 + repository: *847 sender: *4 required: - action @@ -169988,18 +168663,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - project: *909 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 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: *900 - required: *901 + properties: *884 + required: *885 nullable: true sender: *4 required: @@ -170101,11 +168776,11 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - project: *909 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 + repository: *847 sender: *4 required: - action @@ -170184,11 +168859,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *860 - installation: *861 - organization: *862 - project: *909 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + project: *893 + repository: *847 sender: *4 required: - action @@ -170269,9 +168944,9 @@ x-webhooks: type: string enum: - closed - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170352,9 +169027,9 @@ x-webhooks: type: string enum: - created - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170435,9 +169110,9 @@ x-webhooks: type: string enum: - deleted - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170554,9 +169229,9 @@ x-webhooks: type: string to: type: string - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -170639,7 +169314,7 @@ x-webhooks: type: string enum: - archived - changes: &913 + changes: &897 type: object properties: archived_at: @@ -170653,9 +169328,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *861 - organization: *862 - projects_v2_item: &910 + installation: *845 + organization: *846 + projects_v2_item: &894 title: Projects v2 Item description: An item belonging to a project type: object @@ -170673,7 +169348,7 @@ x-webhooks: type: string description: The node ID of the content represented by this item. - content_type: *409 + content_type: *399 creator: *4 created_at: type: string @@ -170790,9 +169465,9 @@ x-webhooks: nullable: true to: type: string - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -170874,9 +169549,9 @@ x-webhooks: type: string enum: - created - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -170957,9 +169632,9 @@ x-webhooks: type: string enum: - deleted - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171065,7 +169740,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &911 + - &895 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -171087,7 +169762,7 @@ x-webhooks: required: - id - name - - &912 + - &896 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -171121,8 +169796,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *911 - - *912 + - *895 + - *896 required: - field_value - type: object @@ -171138,9 +169813,9 @@ x-webhooks: nullable: true required: - body - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171235,9 +169910,9 @@ x-webhooks: to: type: string nullable: true - installation: *861 - organization: *862 - projects_v2_item: *910 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171320,10 +169995,10 @@ x-webhooks: type: string enum: - restored - changes: *913 - installation: *861 - organization: *862 - projects_v2_item: *910 + changes: *897 + installation: *845 + organization: *846 + projects_v2_item: *894 sender: *4 required: - action @@ -171405,9 +170080,9 @@ x-webhooks: type: string enum: - reopened - installation: *861 - organization: *862 - projects_v2: *402 + installation: *845 + organization: *846 + projects_v2: *392 sender: *4 required: - action @@ -171488,14 +170163,14 @@ x-webhooks: type: string enum: - created - installation: *861 - organization: *862 - projects_v2_status_update: &916 + installation: *845 + organization: *846 + projects_v2_status_update: &900 title: Projects v2 Status Update description: An status update belonging to a project type: object - properties: *914 - required: *915 + properties: *898 + required: *899 sender: *4 required: - action @@ -171576,9 +170251,9 @@ x-webhooks: type: string enum: - deleted - installation: *861 - organization: *862 - projects_v2_status_update: *916 + installation: *845 + organization: *846 + projects_v2_status_update: *900 sender: *4 required: - action @@ -171714,9 +170389,9 @@ x-webhooks: type: string format: date nullable: true - installation: *861 - organization: *862 - projects_v2_status_update: *916 + installation: *845 + organization: *846 + projects_v2_status_update: *900 sender: *4 required: - action @@ -171787,10 +170462,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - repository @@ -171867,13 +170542,13 @@ x-webhooks: type: string enum: - assigned - assignee: *887 - enterprise: *860 - installation: *861 - number: &917 + assignee: *871 + enterprise: *844 + installation: *845 + number: &901 description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -174156,7 +172831,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -174238,11 +172913,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -176520,7 +175195,7 @@ x-webhooks: - draft reason: type: string - repository: *863 + repository: *847 sender: *4 required: - action @@ -176602,11 +175277,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -178884,7 +177559,7 @@ x-webhooks: - draft reason: type: string - repository: *863 + repository: *847 sender: *4 required: - action @@ -178966,13 +177641,13 @@ x-webhooks: type: string enum: - closed - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: &918 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: &902 allOf: - - *711 + - *695 - type: object properties: allow_auto_merge: @@ -179034,7 +177709,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *863 + repository: *847 sender: *4 required: - action @@ -179115,12 +177790,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -179200,11 +177875,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *860 - milestone: *693 - number: *917 - organization: *862 - pull_request: &919 + enterprise: *844 + milestone: *677 + number: *901 + organization: *846 + pull_request: &903 title: Pull Request type: object properties: @@ -181467,7 +180142,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -181546,11 +180221,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -183832,7 +182507,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *863 + repository: *847 sender: *4 required: - action @@ -183956,12 +182631,12 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -184041,11 +182716,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -186312,7 +184987,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -186392,11 +185067,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *860 - installation: *861 - label: *881 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + label: *865 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -188678,7 +187353,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -188759,10 +187434,10 @@ x-webhooks: type: string enum: - locked - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -191042,7 +189717,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -191122,12 +189797,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *860 - milestone: *693 - number: *917 - organization: *862 - pull_request: *919 - repository: *863 + enterprise: *844 + milestone: *677 + number: *901 + organization: *846 + pull_request: *903 + repository: *847 sender: *4 required: - action @@ -191206,12 +189881,12 @@ x-webhooks: type: string enum: - opened - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -191292,12 +189967,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -191377,12 +190052,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *860 - installation: *861 - number: *917 - organization: *862 - pull_request: *918 - repository: *863 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 + pull_request: *902 + repository: *847 sender: *4 required: - action @@ -191748,9 +190423,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: type: object properties: @@ -193920,7 +192595,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *863 + repository: *847 sender: *4 required: - action @@ -194000,7 +192675,7 @@ x-webhooks: type: string enum: - deleted - comment: &921 + comment: &905 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. @@ -194285,9 +192960,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: type: object properties: @@ -196445,7 +195120,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *863 + repository: *847 sender: *4 required: - action @@ -196525,11 +195200,11 @@ x-webhooks: type: string enum: - edited - changes: *920 - comment: *921 - enterprise: *860 - installation: *861 - organization: *862 + changes: *904 + comment: *905 + enterprise: *844 + installation: *845 + organization: *846 pull_request: type: object properties: @@ -198690,7 +197365,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *863 + repository: *847 sender: *4 required: - action @@ -198771,9 +197446,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -200946,7 +199621,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 + repository: *847 review: description: The review that was affected. type: object @@ -201193,9 +199868,9 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -203249,8 +201924,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 - review: &922 + repository: *847 + review: &906 description: The review that was affected. type: object properties: @@ -203483,12 +202158,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -205771,7 +204446,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_reviewer: title: User type: object @@ -205855,12 +204530,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -208150,7 +206825,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208342,12 +207017,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -210632,7 +209307,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_reviewer: title: User type: object @@ -210717,12 +209392,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *860 - installation: *861 + enterprise: *844 + installation: *845 number: description: The pull request number. type: integer - organization: *862 + organization: *846 pull_request: title: Pull Request type: object @@ -212998,7 +211673,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213179,9 +211854,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -215356,8 +214031,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 - review: *922 + repository: *847 + review: *906 sender: *4 required: - action @@ -215437,9 +214112,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -217509,7 +216184,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 + repository: *847 sender: *4 thread: type: object @@ -217896,9 +216571,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 pull_request: title: Simple Pull Request type: object @@ -219954,7 +218629,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *863 + repository: *847 sender: *4 thread: type: object @@ -220344,10 +219019,10 @@ x-webhooks: type: string before: type: string - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -222618,7 +221293,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -222700,11 +221375,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *923 - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + assignee: *907 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -224987,7 +223662,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -225066,11 +223741,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *860 - installation: *861 - label: *881 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + label: *865 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -227343,7 +226018,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -227424,10 +226099,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *860 - installation: *861 - number: *917 - organization: *862 + enterprise: *844 + installation: *845 + number: *901 + organization: *846 pull_request: title: Pull Request type: object @@ -229692,7 +228367,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *863 + repository: *847 sender: *4 required: - action @@ -229892,7 +228567,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *860 + enterprise: *844 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -229984,8 +228659,8 @@ x-webhooks: - url - author - committer - installation: *861 - organization: *862 + installation: *845 + organization: *846 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -230560,9 +229235,9 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 registry_package: type: object properties: @@ -231008,7 +229683,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *904 + items: *888 summary: type: string tag_name: @@ -231062,7 +229737,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -231140,9 +229815,9 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 registry_package: type: object properties: @@ -231450,7 +230125,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *904 + items: *888 summary: type: string tag_name: @@ -231499,7 +230174,7 @@ x-webhooks: - owner - package_version - registry - repository: *863 + repository: *847 sender: *4 required: - action @@ -231576,10 +230251,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - release: &924 + enterprise: *844 + installation: *845 + organization: *846 + release: &908 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -231897,7 +230572,7 @@ x-webhooks: - updated_at - zipball_url - body - repository: *863 + repository: *847 sender: *4 required: - action @@ -231974,11 +230649,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - release: *924 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *908 + repository: *847 sender: *4 required: - action @@ -232095,11 +230770,11 @@ x-webhooks: type: boolean required: - to - enterprise: *860 - installation: *861 - organization: *862 - release: *924 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *908 + repository: *847 sender: *4 required: - action @@ -232177,9 +230852,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -232501,7 +231176,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *863 + repository: *847 sender: *4 required: - action @@ -232577,10 +231252,10 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 - release: &925 + enterprise: *844 + installation: *845 + organization: *846 + release: &909 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232899,7 +231574,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *863 + repository: *847 sender: *4 required: - action @@ -232975,11 +231650,11 @@ x-webhooks: type: string enum: - released - enterprise: *860 - installation: *861 - organization: *862 - release: *924 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *908 + repository: *847 sender: *4 required: - action @@ -233055,11 +231730,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *860 - installation: *861 - organization: *862 - release: *925 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + release: *909 + repository: *847 sender: *4 required: - action @@ -233135,11 +231810,11 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - repository_advisory: *764 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + repository_advisory: *748 sender: *4 required: - action @@ -233215,11 +231890,11 @@ x-webhooks: type: string enum: - reported - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - repository_advisory: *764 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + repository_advisory: *748 sender: *4 required: - action @@ -233295,10 +231970,10 @@ x-webhooks: type: string enum: - archived - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233375,10 +232050,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233456,10 +232131,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233543,10 +232218,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233658,10 +232333,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233733,10 +232408,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 status: type: string @@ -233817,10 +232492,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233897,10 +232572,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -233994,10 +232669,10 @@ x-webhooks: - name required: - repository - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -234077,10 +232752,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 repository_ruleset: *185 sender: *4 required: @@ -234159,10 +232834,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 repository_ruleset: *185 sender: *4 required: @@ -234241,10 +232916,10 @@ x-webhooks: type: string enum: - edited - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 repository_ruleset: *185 changes: type: object @@ -234306,16 +232981,16 @@ x-webhooks: properties: added: type: array - items: *732 + items: *716 deleted: type: array - items: *732 + items: *716 updated: type: array items: type: object properties: - rule: *732 + rule: *716 changes: type: object properties: @@ -234549,10 +233224,10 @@ x-webhooks: - from required: - owner - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -234630,10 +233305,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -234711,7 +233386,7 @@ x-webhooks: type: string enum: - create - alert: &926 + alert: &910 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -234832,10 +233507,10 @@ x-webhooks: type: string enum: - open - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235041,10 +233716,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235122,11 +233797,11 @@ x-webhooks: type: string enum: - reopen - alert: *926 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *910 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235325,10 +234000,10 @@ x-webhooks: enum: - fixed - open - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235406,7 +234081,7 @@ x-webhooks: type: string enum: - created - alert: &927 + alert: &911 type: object properties: number: *123 @@ -235524,10 +234199,10 @@ x-webhooks: properties: *20 required: *21 nullable: true - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235608,11 +234283,11 @@ x-webhooks: type: string enum: - created - alert: *927 - installation: *861 - location: *928 - organization: *862 - repository: *863 + alert: *911 + installation: *845 + location: *912 + organization: *846 + repository: *847 sender: *4 required: - location @@ -235850,11 +234525,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -235932,11 +234607,11 @@ x-webhooks: type: string enum: - reopened - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -236014,11 +234689,11 @@ x-webhooks: type: string enum: - resolved - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -236096,11 +234771,11 @@ x-webhooks: type: string enum: - validated - alert: *927 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + alert: *911 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -236226,10 +234901,10 @@ x-webhooks: - organization - enterprise nullable: true - repository: *863 - enterprise: *860 - installation: *861 - organization: *862 + repository: *847 + enterprise: *844 + installation: *845 + organization: *846 sender: *4 required: - action @@ -236307,11 +234982,11 @@ x-webhooks: type: string enum: - published - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - security_advisory: &929 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + security_advisory: &913 description: The details of the security advisory, including summary, description, and severity. type: object @@ -236494,11 +235169,11 @@ x-webhooks: type: string enum: - updated - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 - security_advisory: *929 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 + security_advisory: *913 sender: *4 required: - action @@ -236571,10 +235246,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -236758,11 +235433,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *418 - enterprise: *860 - installation: *861 - organization: *862 - repository: *483 + security_and_analysis: *408 + enterprise: *844 + installation: *845 + organization: *846 + repository: *467 sender: *4 required: - changes @@ -236840,12 +235515,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: &930 + sponsorship: &914 type: object properties: created_at: @@ -237146,12 +235821,12 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - sponsorship @@ -237239,12 +235914,12 @@ x-webhooks: type: string required: - from - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - changes @@ -237321,17 +235996,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &931 + effective_date: &915 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: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - sponsorship @@ -237405,7 +236080,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &932 + changes: &916 type: object properties: tier: @@ -237449,13 +236124,13 @@ x-webhooks: - from required: - tier - effective_date: *931 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + effective_date: *915 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - changes @@ -237532,13 +236207,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *932 - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + changes: *916 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - sponsorship: *930 + sponsorship: *914 required: - action - changes @@ -237612,10 +236287,10 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -237698,10 +236373,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238121,15 +236796,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *860 + enterprise: *844 id: description: The unique identifier of the status. type: integer - installation: *861 + installation: *845 name: type: string - organization: *862 - repository: *863 + organization: *846 + repository: *847 sender: *4 sha: description: The Commit SHA. @@ -238244,9 +236919,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238336,9 +237011,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238428,9 +237103,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238520,9 +237195,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *227 - installation: *861 - organization: *862 - repository: *863 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -238599,12 +237274,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - team: &933 + team: &917 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -238827,9 +237502,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -239287,7 +237962,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -239363,9 +238038,9 @@ x-webhooks: type: string enum: - created - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -239823,7 +238498,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -239900,9 +238575,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -240360,7 +239035,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -240504,9 +239179,9 @@ x-webhooks: - from required: - permissions - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -240964,7 +239639,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - changes @@ -241042,9 +239717,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *860 - installation: *861 - organization: *862 + enterprise: *844 + installation: *845 + organization: *846 repository: title: Repository description: A git repository @@ -241502,7 +240177,7 @@ x-webhooks: - topics - visibility sender: *4 - team: *933 + team: *917 required: - action - team @@ -241578,10 +240253,10 @@ x-webhooks: type: string enum: - started - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 required: - action @@ -241654,16 +240329,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *860 + enterprise: *844 inputs: type: object nullable: true additionalProperties: true - installation: *861 - organization: *862 + installation: *845 + organization: *846 ref: type: string - repository: *863 + repository: *847 sender: *4 workflow: type: string @@ -241745,10 +240420,10 @@ x-webhooks: type: string enum: - completed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: allOf: @@ -241985,7 +240660,7 @@ x-webhooks: type: string required: - conclusion - deployment: *615 + deployment: *599 required: - action - repository @@ -242064,10 +240739,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: allOf: @@ -242327,7 +241002,7 @@ x-webhooks: required: - status - steps - deployment: *615 + deployment: *599 required: - action - repository @@ -242406,10 +241081,10 @@ x-webhooks: type: string enum: - queued - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: type: object @@ -242544,7 +241219,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *599 required: - action - repository @@ -242623,10 +241298,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 workflow_job: type: object @@ -242762,7 +241437,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *615 + deployment: *599 required: - action - repository @@ -242842,12 +241517,12 @@ x-webhooks: type: string enum: - completed - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 workflow_run: title: Workflow Run type: object @@ -243846,12 +242521,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 workflow_run: title: Workflow Run type: object @@ -244835,12 +243510,12 @@ x-webhooks: type: string enum: - requested - enterprise: *860 - installation: *861 - organization: *862 - repository: *863 + enterprise: *844 + installation: *845 + organization: *846 + repository: *847 sender: *4 - workflow: *877 + workflow: *861 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 1f7ce2288..3e7792ece 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -8321,7 +8321,7 @@ "operationId": "enterprise-admin/get-consumed-licenses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses" }, "parameters": [ { @@ -8361,7 +8361,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -9773,7 +9773,7 @@ "operationId": "enterprise-admin/get-license-sync-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status" }, "parameters": [ { @@ -9802,7 +9802,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -11841,48 +11841,6 @@ } } }, - "/enterprises/{enterprise}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-actions-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, "/enterprises/{enterprise}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an enterprise", @@ -11893,7 +11851,7 @@ "operationId": "billing/get-github-advanced-security-billing-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise" }, "parameters": [ { @@ -11930,7 +11888,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, @@ -11944,7 +11902,7 @@ "operationId": "billing/get-all-budgets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets" }, "parameters": [ { @@ -11966,7 +11924,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "post": { @@ -11978,7 +11936,7 @@ "operationId": "billing/create-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget" }, "parameters": [ { @@ -12112,7 +12070,7 @@ "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -12133,7 +12091,7 @@ "server-error": { "value": { "message": "Unable to create budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -12145,7 +12103,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -12159,7 +12117,7 @@ "operationId": "billing/get-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id" }, "parameters": [ { @@ -12193,7 +12151,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -12205,7 +12163,7 @@ "operationId": "billing/update-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget" }, "parameters": [ { @@ -12338,13 +12296,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -12365,7 +12323,7 @@ "server-error": { "value": { "message": "Unable to retrieve budget.", - "documentation_url": "https://docs.github.com/rest/enterprise-admin/billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -12383,7 +12341,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -12395,7 +12353,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -12407,7 +12365,7 @@ "operationId": "billing/delete-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget" }, "parameters": [ { @@ -12441,7 +12399,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -12455,7 +12413,7 @@ "operationId": "billing/get-all-cost-centers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise" }, "parameters": [ { @@ -12485,8 +12443,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "post": { @@ -12498,7 +12456,7 @@ "operationId": "billing/create-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center" }, "parameters": [ { @@ -12648,8 +12606,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -12663,7 +12621,7 @@ "operationId": "billing/get-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id" }, "parameters": [ { @@ -12693,8 +12651,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "patch": { @@ -12706,7 +12664,7 @@ "operationId": "billing/update-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name" }, "parameters": [ { @@ -12781,8 +12739,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -12794,7 +12752,7 @@ "operationId": "billing/delete-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center" }, "parameters": [ { @@ -12827,8 +12785,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -12842,7 +12800,7 @@ "operationId": "billing/add-resource-to-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center" }, "parameters": [ { @@ -12918,8 +12876,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -12931,7 +12889,7 @@ "operationId": "billing/remove-resource-from-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center" }, "parameters": [ { @@ -13004,50 +12962,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, - "/enterprises/{enterprise}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-packages-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -13061,7 +12977,7 @@ "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise" }, "parameters": [ { @@ -13121,50 +13037,8 @@ "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", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-shared-storage-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -13178,7 +13052,7 @@ "operationId": "billing/get-github-billing-usage-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise" }, "parameters": [ { @@ -13223,8 +13097,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -13238,7 +13112,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -13289,8 +13163,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -17868,559 +17742,6 @@ } } }, - "/organizations/{org}/settings/billing/budgets": { - "get": { - "summary": "Get all budgets for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-all-budgets-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/get_all_budgets" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/budgets/{budget_id}": { - "get": { - "summary": "Get a budget by ID for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/budget" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/budget" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "patch": { - "summary": "Update a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/update-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/budget" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - }, - "examples": { - "update-budget": { - "summary": "Update budget example", - "value": { - "prevent_further_usage": false, - "budget_amount": 10, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Budget updated successfully", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "example": "Budget successfully updated." - }, - "budget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_amount": { - "type": "number", - "format": "float", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "required": [ - "will_alert", - "alert_recipients" - ], - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "default": "" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - } - } - }, - "examples": { - "update-budget": { - "value": { - "message": "Budget successfully updated.", - "id": "550e8400-e29b-41d4-a716-446655440000" - } - } - } - } - } - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "description": "Budget not found or feature not enabled", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - }, - "examples": { - "budget-not-found": { - "value": { - "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - }, - "feature-not-enabled": { - "value": { - "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - }, - "examples": { - "server-error": { - "value": { - "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "delete": { - "summary": "Delete a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/delete-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/budget" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/delete-budget" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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", - "description": "Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform](https://docs.github.com/enterprise-cloud@latest//billing/using-the-new-billing-platform).\"", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/billing-usage-report-year" - }, - { - "$ref": "#/components/parameters/billing-usage-report-month" - }, - { - "$ref": "#/components/parameters/billing-usage-report-day" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_report_org" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - }, - { - "$ref": "#/components/parameters/billing-usage-report-product" - }, - { - "$ref": "#/components/parameters/billing-usage-report-sku" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_summary_report_org" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -38974,48 +38295,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an organization", @@ -39067,90 +38346,6 @@ } } }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -92136,306 +91331,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/usage": { - "get": { - "summary": "Get billing usage report for a user", - "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/billing-usage-report-year" - }, - { - "$ref": "#/components/parameters/billing-usage-report-month" - }, - { - "$ref": "#/components/parameters/billing-usage-report-day" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_report_user" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for a user", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - }, - { - "$ref": "#/components/parameters/billing-usage-report-product" - }, - { - "$ref": "#/components/parameters/billing-usage-report-sku" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_summary_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}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -128900,6 +127795,25 @@ } } }, + "repository-rule-params-copilot-code-review-analysis-tool": { + "title": "CopilotCodeReviewAnalysisTool", + "description": "A tool that must provide code review results for this rule to pass.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of a code review analysis tool", + "enum": [ + "CodeQL", + "ESLint", + "PMD" + ] + } + }, + "required": [ + "name" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -129715,94 +128629,6 @@ } } }, - "actions-billing-usage": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, "advanced-security-active-committers-user": { "type": "object", "properties": { @@ -130377,28 +129203,6 @@ "costCenterState" ] }, - "packages-billing-usage": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, "billing-premium-request-usage-report-ghe": { "type": "object", "properties": { @@ -130531,28 +129335,6 @@ "usageItems" ] }, - "combined-billing-usage": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, "billing-usage-report": { "type": "object", "properties": { @@ -134154,223 +132936,6 @@ }, "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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-summary-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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "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.", @@ -159445,283 +158010,6 @@ "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount" - ] - } - } - } - }, - "billing-usage-summary-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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "user", - "usageItems" - ] - }, "enterprise-webhooks": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -305763,18 +304051,6 @@ ] } }, - "actions-billing-usage": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - }, "advanced-security-active-committers": { "value": { "total_advanced_security_committers": 2, @@ -305959,13 +304235,6 @@ "costCenterState": "CostCenterArchived" } }, - "packages-billing-usage": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - }, "billing-premium-request-usage-report-ghe": { "value": { "timePeriod": { @@ -305989,13 +304258,6 @@ ] } }, - "combined-billing-usage": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - }, "billing-usage-report": { "value": { "usageItems": [ @@ -307775,51 +306037,6 @@ ] } }, - "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-summary-report-org": { - "value": { - "timePeriod": { - "year": 2025 - }, - "organization": "GitHub", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.0 - } - ] - } - }, "organization-full": { "value": { "login": "github", @@ -333101,69 +331318,6 @@ } ] }, - "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": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "repositoryName": "user/example" - } - ] - } - }, - "billing-usage-summary-report-user": { - "value": { - "timePeriod": { - "year": 2025 - }, - "user": "monalisa", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.0 - } - ] - } - }, "check-run-completed": { "value": { "action": "completed", @@ -337619,51 +335773,6 @@ } } }, - "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": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-report" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-report" - } - } - } - } - }, - "billing_usage_summary_report_org": { - "description": "Response when getting a billing usage summary", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-summary-report-org" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-summary-report-org" - } - } - } - } - }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, @@ -337890,51 +335999,6 @@ } } } - }, - "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": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-report-user" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-report-user" - } - } - } - } - }, - "billing_usage_summary_report_user": { - "description": "Response when getting a billing usage summary", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-summary-report-user" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-summary-report-user" - } - } - } - } } }, "headers": { diff --git a/descriptions/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 2963654c5..b38126a1f 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -5896,7 +5896,7 @@ paths: operationId: enterprise-admin/get-consumed-licenses externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/per-page" @@ -5919,7 +5919,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/copilot/billing/seats": get: summary: List all Copilot seat assignments for an enterprise @@ -7029,7 +7029,7 @@ paths: operationId: enterprise-admin/get-license-sync-status externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status parameters: - "$ref": "#/components/parameters/enterprise" responses: @@ -7047,7 +7047,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/members/{username}/copilot": get: summary: Get Copilot seat assignment details for an enterprise user @@ -8455,41 +8455,6 @@ paths: "$ref": "#/components/responses/conflict" '422': "$ref": "#/components/responses/validation_failed" - "/enterprises/{enterprise}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an enterprise - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-actions-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing "/enterprises/{enterprise}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an enterprise @@ -8504,7 +8469,7 @@ paths: operationId: billing/get-github-advanced-security-billing-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/advanced-security-product" @@ -8524,7 +8489,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: enterprise-admin - subcategory: billing + subcategory: licensing "/enterprises/{enterprise}/settings/billing/budgets": get: summary: Get all budgets @@ -8538,7 +8503,7 @@ paths: operationId: billing/get-all-budgets externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets parameters: - "$ref": "#/components/parameters/enterprise" responses: @@ -8552,7 +8517,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets post: summary: Create a budget description: |- @@ -8565,7 +8530,7 @@ paths: operationId: billing/create-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget parameters: - "$ref": "#/components/parameters/enterprise" requestBody: @@ -8664,7 +8629,7 @@ paths: feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget '422': "$ref": "#/components/responses/validation_failed" '500': @@ -8677,12 +8642,12 @@ paths: server-error: value: message: Unable to create budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID @@ -8696,7 +8661,7 @@ paths: operationId: billing/get-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/budget" @@ -8717,7 +8682,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget description: |- @@ -8730,7 +8695,7 @@ paths: operationId: billing/update-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget parameters: - name: enterprise in: path @@ -8827,11 +8792,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': "$ref": "#/components/responses/validation_failed" '500': @@ -8844,7 +8809,7 @@ paths: server-error: value: message: Unable to retrieve budget. - documentation_url: https://docs.github.com/rest/enterprise-admin/billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '503': description: Service unavailable content: @@ -8855,12 +8820,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget description: |- @@ -8873,7 +8838,7 @@ paths: operationId: billing/delete-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/budget" @@ -8894,7 +8859,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/cost-centers": get: summary: Get all cost centers for an enterprise @@ -8904,7 +8869,7 @@ paths: operationId: billing/get-all-cost-centers externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center-state" @@ -8922,8 +8887,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers post: summary: Create a new cost center description: Creates a new cost center for an enterprise. The authenticated @@ -8933,7 +8898,7 @@ paths: operationId: billing/create-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center parameters: - "$ref": "#/components/parameters/enterprise" requestBody: @@ -9032,8 +8997,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": get: summary: Get a cost center by ID @@ -9044,7 +9009,7 @@ paths: operationId: billing/get-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9062,8 +9027,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers patch: summary: Update a cost center name description: Updates an existing cost center name. @@ -9072,7 +9037,7 @@ paths: operationId: billing/update-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name parameters: - name: enterprise in: path @@ -9121,8 +9086,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Delete a cost center description: Archieves a cost center by ID. The authenticated user must be an @@ -9132,7 +9097,7 @@ paths: operationId: billing/delete-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9152,8 +9117,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add resources to a cost center @@ -9166,7 +9131,7 @@ paths: operationId: billing/add-resource-to-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9214,8 +9179,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Remove resources from a cost center description: |- @@ -9227,7 +9192,7 @@ paths: operationId: billing/remove-resource-from-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9274,43 +9239,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing - "/enterprises/{enterprise}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an enterprise - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-packages-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise @@ -9323,7 +9253,7 @@ paths: 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 + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -9356,43 +9286,8 @@ paths: 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-shared-storage-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage": get: summary: Get billing usage report for an enterprise @@ -9405,7 +9300,7 @@ paths: operationId: billing/get-github-billing-usage-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -9432,8 +9327,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage/summary": get: summary: Get billing usage summary for an enterprise @@ -9449,7 +9344,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -9474,8 +9369,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -12700,398 +12595,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: custom-properties-for-orgs - "/organizations/{org}/settings/billing/budgets": - get: - summary: Get all budgets for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-all-budgets-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - "$ref": "#/components/responses/get_all_budgets" - '404': - "$ref": "#/components/responses/not_found" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/budgets/{budget_id}": - get: - summary: Get a budget by ID for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a budget by ID. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/budget" - responses: - '200': - "$ref": "#/components/responses/budget" - '400': - "$ref": "#/components/responses/bad_request" - '404': - "$ref": "#/components/responses/not_found" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - patch: - summary: Update a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Updates an existing budget for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/update-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/budget" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - budget_amount: - type: integer - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the budget - is exceeded - budget_alerting: - type: object - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered in the - budget - examples: - update-budget: - summary: Update budget example - value: - prevent_further_usage: false - budget_amount: 10 - budget_alerting: - will_alert: false - alert_recipients: [] - responses: - '200': - description: Budget updated successfully - content: - application/json: - schema: - type: object - properties: - message: - type: string - example: Budget successfully updated. - budget: - type: object - properties: - id: - type: string - description: ID of the budget. - budget_amount: - type: number - format: float - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the - budget is exceeded - budget_alerting: - type: object - required: - - will_alert - - alert_recipients - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive - alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - default: '' - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered - in the budget - examples: - update-budget: - value: - message: Budget successfully updated. - id: 550e8400-e29b-41d4-a716-446655440000 - '400': - "$ref": "#/components/responses/bad_request" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - description: Budget not found or feature not enabled - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" - examples: - budget-not-found: - value: - message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not - found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - feature-not-enabled: - value: - message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - '422': - "$ref": "#/components/responses/validation_failed" - '500': - description: Internal server error - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" - examples: - server-error: - value: - message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: enhanced-billing - delete: - summary: Delete a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Deletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/delete-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/budget" - responses: - '200': - "$ref": "#/components/responses/delete-budget" - '400': - "$ref": "#/components/responses/bad_request" - '404': - "$ref": "#/components/responses/not_found" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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 - description: |- - Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/enterprise-cloud@latest//billing/using-the-new-billing-platform)." - tags: - - billing - operationId: billing/get-github-billing-usage-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/billing-usage-report-year" - - "$ref": "#/components/parameters/billing-usage-report-month" - - "$ref": "#/components/parameters/billing-usage-report-day" - responses: - '200': - "$ref": "#/components/responses/billing_usage_report_org" - '400': - "$ref": "#/components/responses/bad_request" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - - "$ref": "#/components/parameters/billing-usage-report-product" - - "$ref": "#/components/parameters/billing-usage-report-sku" - responses: - '200': - "$ref": "#/components/responses/billing_usage_summary_report_org" - '400': - "$ref": "#/components/responses/bad_request" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -28090,38 +27593,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an organization @@ -28159,70 +27630,6 @@ paths: enabledForGitHubApps: true category: billing subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -66571,216 +65978,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - 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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/usage": - get: - summary: Get billing usage report for a user - description: |- - Gets a report of the total usage for a user. - - **Note:** This endpoint is only available to users with access to the enhanced billing platform. - tags: - - billing - operationId: billing/get-github-billing-usage-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - - "$ref": "#/components/parameters/billing-usage-report-year" - - "$ref": "#/components/parameters/billing-usage-report-month" - - "$ref": "#/components/parameters/billing-usage-report-day" - responses: - '200': - "$ref": "#/components/responses/billing_usage_report_user" - '400': - "$ref": "#/components/responses/bad_request" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for a user - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for a user. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - - "$ref": "#/components/parameters/billing-usage-report-product" - - "$ref": "#/components/parameters/billing-usage-report-sku" - responses: - '200': - "$ref": "#/components/responses/billing_usage_summary_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}/social_accounts": get: summary: List social accounts for a user @@ -93658,6 +92855,20 @@ components: type: boolean description: Copilot automatically reviews each new push to the pull request. + repository-rule-params-copilot-code-review-analysis-tool: + title: CopilotCodeReviewAnalysisTool + description: A tool that must provide code review results for this rule to pass. + type: object + properties: + name: + type: string + description: The name of a code review analysis tool + enum: + - CodeQL + - ESLint + - PMD + required: + - name repository-rule: title: Repository Rule type: object @@ -94267,71 +93478,6 @@ components: description: Overrides for custom patterns defined by the organization. items: "$ref": "#/components/schemas/secret-scanning-pattern-override" - actions-billing-usage: - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown advanced-security-active-committers-user: type: object properties: @@ -94766,22 +93912,6 @@ components: - id - name - costCenterState - packages-billing-usage: - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth billing-premium-request-usage-report-ghe: type: object properties: @@ -94880,23 +94010,6 @@ components: - timePeriod - enterprise - usageItems - combined-billing-usage: - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) used in billing - cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month billing-usage-report: type: object properties: @@ -97684,168 +96797,6 @@ 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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-summary-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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - organization - - usageItems organization-full: title: Organization Full description: |- @@ -117205,213 +116156,6 @@ 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - billing-usage-summary-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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - user - - usageItems enterprise-webhooks: title: Enterprise description: |- @@ -228206,15 +226950,6 @@ components: bypass_rate: 20 default_setting: disabled setting: enabled - actions-billing-usage: - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 advanced-security-active-committers: value: total_advanced_security_committers: 2 @@ -228333,11 +227068,6 @@ components: id: 2066deda-923f-43f9-88d2-62395a28c0cdd name: cc3 costCenterState: CostCenterArchived - packages-billing-usage: - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 billing-premium-request-usage-report-ghe: value: timePeriod: @@ -228355,11 +227085,6 @@ components: discountAmount: 0.0 netQuantity: 100 netAmount: 4.0 - combined-billing-usage: - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 billing-usage-report: value: usageItems: @@ -229944,39 +228669,6 @@ components: value: web - property_name: team value: octocat - 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-summary-report-org: - value: - timePeriod: - year: 2025 - organization: GitHub - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 organization-full: value: login: github @@ -251605,52 +250297,6 @@ components: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - 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: - - date: '2023-08-01' - product: Actions - sku: Actions Linux - quantity: 100 - unitType: minutes - pricePerUnit: 0.008 - grossAmount: 0.8 - discountAmount: 0 - netAmount: 0.8 - repositoryName: user/example - billing-usage-summary-report-user: - value: - timePeriod: - year: 2025 - user: monalisa - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 check-run-completed: value: action: completed @@ -255446,33 +254092,6 @@ 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: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-report" - examples: - default: - "$ref": "#/components/examples/billing-usage-report" - billing_usage_summary_report_org: - description: Response when getting a billing usage summary - content: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-summary-report-org" - examples: - default: - "$ref": "#/components/examples/billing-usage-summary-report-org" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. @@ -255616,33 +254235,6 @@ 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: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-report-user" - examples: - default: - "$ref": "#/components/examples/billing-usage-report-user" - billing_usage_summary_report_user: - description: Response when getting a billing usage summary - content: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-summary-report-user" - examples: - default: - "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/ghec/ghec.json b/descriptions/ghec/ghec.json index 1f7ce2288..3e7792ece 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -8321,7 +8321,7 @@ "operationId": "enterprise-admin/get-consumed-licenses", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses" }, "parameters": [ { @@ -8361,7 +8361,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -9773,7 +9773,7 @@ "operationId": "enterprise-admin/get-license-sync-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status" }, "parameters": [ { @@ -9802,7 +9802,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -11841,48 +11841,6 @@ } } }, - "/enterprises/{enterprise}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an enterprise", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-actions-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, "/enterprises/{enterprise}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an enterprise", @@ -11893,7 +11851,7 @@ "operationId": "billing/get-github-advanced-security-billing-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise" }, "parameters": [ { @@ -11930,7 +11888,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, @@ -11944,7 +11902,7 @@ "operationId": "billing/get-all-budgets", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets" }, "parameters": [ { @@ -11966,7 +11924,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "post": { @@ -11978,7 +11936,7 @@ "operationId": "billing/create-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget" }, "parameters": [ { @@ -12112,7 +12070,7 @@ "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -12133,7 +12091,7 @@ "server-error": { "value": { "message": "Unable to create budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#create-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#create-a-budget" } } } @@ -12145,7 +12103,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -12159,7 +12117,7 @@ "operationId": "billing/get-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id" }, "parameters": [ { @@ -12193,7 +12151,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -12205,7 +12163,7 @@ "operationId": "billing/update-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget" }, "parameters": [ { @@ -12338,13 +12296,13 @@ "budget-not-found": { "value": { "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } }, "feature-not-enabled": { "value": { "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -12365,7 +12323,7 @@ "server-error": { "value": { "message": "Unable to retrieve budget.", - "documentation_url": "https://docs.github.com/rest/enterprise-admin/billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -12383,7 +12341,7 @@ "server-error": { "value": { "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" + "documentation_url": "https://docs.github.com/rest/billing/budgets#update-a-budget" } } } @@ -12395,7 +12353,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -12407,7 +12365,7 @@ "operationId": "billing/delete-budget", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget" }, "parameters": [ { @@ -12441,7 +12399,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -12455,7 +12413,7 @@ "operationId": "billing/get-all-cost-centers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise" }, "parameters": [ { @@ -12485,8 +12443,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "post": { @@ -12498,7 +12456,7 @@ "operationId": "billing/create-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center" }, "parameters": [ { @@ -12648,8 +12606,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -12663,7 +12621,7 @@ "operationId": "billing/get-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id" }, "parameters": [ { @@ -12693,8 +12651,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "patch": { @@ -12706,7 +12664,7 @@ "operationId": "billing/update-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name" }, "parameters": [ { @@ -12781,8 +12739,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -12794,7 +12752,7 @@ "operationId": "billing/delete-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center" }, "parameters": [ { @@ -12827,8 +12785,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -12842,7 +12800,7 @@ "operationId": "billing/add-resource-to-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center" }, "parameters": [ { @@ -12918,8 +12876,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -12931,7 +12889,7 @@ "operationId": "billing/remove-resource-from-cost-center", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center" }, "parameters": [ { @@ -13004,50 +12962,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" - } - } - }, - "/enterprises/{enterprise}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an enterprise", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-github-packages-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -13061,7 +12977,7 @@ "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" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise" }, "parameters": [ { @@ -13121,50 +13037,8 @@ "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", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nThe authenticated user must be an enterprise admin.\n\n> [!NOTE]\n> This endpoint is available to enterprise customers who are using the legacy billing platform.", - "operationId": "billing/get-shared-storage-billing-ghe", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise" - }, - "parameters": [ - { - "$ref": "#/components/parameters/enterprise" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": true, - "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -13178,7 +13052,7 @@ "operationId": "billing/get-github-billing-usage-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise" }, "parameters": [ { @@ -13223,8 +13097,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -13238,7 +13112,7 @@ "operationId": "billing/get-github-billing-usage-summary-report-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise" + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise" }, "parameters": [ { @@ -13289,8 +13163,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -17868,559 +17742,6 @@ } } }, - "/organizations/{org}/settings/billing/budgets": { - "get": { - "summary": "Get all budgets for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all budgets for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-all-budgets-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/get_all_budgets" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/budgets/{budget_id}": { - "get": { - "summary": "Get a budget by ID for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a budget by ID. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/get-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/budget" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/budget" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "patch": { - "summary": "Update a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nUpdates an existing budget for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/update-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/budget" - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "budget_amount": { - "type": "integer", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - }, - "examples": { - "update-budget": { - "summary": "Update budget example", - "value": { - "prevent_further_usage": false, - "budget_amount": 10, - "budget_alerting": { - "will_alert": false, - "alert_recipients": [] - } - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Budget updated successfully", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "message": { - "type": "string", - "example": "Budget successfully updated." - }, - "budget": { - "type": "object", - "properties": { - "id": { - "type": "string", - "description": "ID of the budget." - }, - "budget_amount": { - "type": "number", - "format": "float", - "description": "The budget amount in whole dollars. For license-based products, this represents the number of licenses." - }, - "prevent_further_usage": { - "type": "boolean", - "description": "Whether to prevent additional spending once the budget is exceeded" - }, - "budget_alerting": { - "type": "object", - "required": [ - "will_alert", - "alert_recipients" - ], - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget" - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts" - } - } - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "default": "" - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or SKU that will be covered in the budget" - } - } - } - } - }, - "examples": { - "update-budget": { - "value": { - "message": "Budget successfully updated.", - "id": "550e8400-e29b-41d4-a716-446655440000" - } - } - } - } - } - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "401": { - "$ref": "#/components/responses/requires_authentication" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "404": { - "description": "Budget not found or feature not enabled", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - }, - "examples": { - "budget-not-found": { - "value": { - "message": "Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - }, - "feature-not-enabled": { - "value": { - "message": "Not Found", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - }, - "422": { - "$ref": "#/components/responses/validation_failed" - }, - "500": { - "description": "Internal server error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/basic-error" - }, - "examples": { - "server-error": { - "value": { - "message": "Unable to update budget.", - "documentation_url": "https://docs.github.com/rest/billing/enhanced-billing#update-a-budget" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "enhanced-billing" - } - }, - "delete": { - "summary": "Delete a budget for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nDeletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager.", - "tags": [ - "billing" - ], - "operationId": "billing/delete-budget-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/budget" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/delete-budget" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "404": { - "$ref": "#/components/responses/not_found" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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", - "description": "Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see \"[About the enhanced billing platform](https://docs.github.com/enterprise-cloud@latest//billing/using-the-new-billing-platform).\"", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - }, - { - "$ref": "#/components/parameters/billing-usage-report-year" - }, - { - "$ref": "#/components/parameters/billing-usage-report-month" - }, - { - "$ref": "#/components/parameters/billing-usage-report-day" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_report_org" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-org", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - }, - { - "$ref": "#/components/parameters/billing-usage-report-product" - }, - { - "$ref": "#/components/parameters/billing-usage-report-sku" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_summary_report_org" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -38974,48 +38295,6 @@ "deprecated": true } }, - "/orgs/{org}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for an organization", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/billing/advanced-security": { "get": { "summary": "Get GitHub Advanced Security active committers for an organization", @@ -39067,90 +38346,6 @@ } } }, - "/orgs/{org}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for an organization", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/orgs/{org}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for an organization", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-org", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization" - }, - "parameters": [ - { - "$ref": "#/components/parameters/org" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, "/orgs/{org}/settings/immutable-releases": { "get": { "summary": "Get immutable releases settings for an organization", @@ -92136,306 +91331,6 @@ } } }, - "/users/{username}/settings/billing/actions": { - "get": { - "summary": "Get GitHub Actions billing for a user", - "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-actions-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/actions-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/actions-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/packages": { - "get": { - "summary": "Get GitHub Packages billing for a user", - "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-github-packages-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/packages-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/packages-billing-usage" - } - } - } - } - } - }, - "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.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "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", - "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nOAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint.", - "operationId": "billing/get-shared-storage-billing-user", - "tags": [ - "billing" - ], - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - } - ], - "responses": { - "200": { - "description": "Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/combined-billing-usage" - }, - "examples": { - "default": { - "$ref": "#/components/examples/combined-billing-usage" - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": false, - "category": "billing", - "subcategory": "billing" - } - } - }, - "/users/{username}/settings/billing/usage": { - "get": { - "summary": "Get billing usage report for a user", - "description": "Gets a report of the total usage for a user.\n\n**Note:** This endpoint is only available to users with access to the enhanced billing platform.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user" - }, - "parameters": [ - { - "$ref": "#/components/parameters/username" - }, - { - "$ref": "#/components/parameters/billing-usage-report-year" - }, - { - "$ref": "#/components/parameters/billing-usage-report-month" - }, - { - "$ref": "#/components/parameters/billing-usage-report-day" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_report_user" - }, - "400": { - "$ref": "#/components/responses/bad_request" - }, - "403": { - "$ref": "#/components/responses/forbidden" - }, - "500": { - "$ref": "#/components/responses/internal_error" - }, - "503": { - "$ref": "#/components/responses/service_unavailable" - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/usage/summary": { - "get": { - "summary": "Get billing usage summary for a user", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a summary report of usage for a user.\n\n**Note:** Only data from the past 24 months is accessible via this endpoint.", - "tags": [ - "billing" - ], - "operationId": "billing/get-github-billing-usage-summary-report-user", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - }, - { - "$ref": "#/components/parameters/billing-usage-report-product" - }, - { - "$ref": "#/components/parameters/billing-usage-report-sku" - } - ], - "responses": { - "200": { - "$ref": "#/components/responses/billing_usage_summary_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}/social_accounts": { "get": { "summary": "List social accounts for a user", @@ -128900,6 +127795,25 @@ } } }, + "repository-rule-params-copilot-code-review-analysis-tool": { + "title": "CopilotCodeReviewAnalysisTool", + "description": "A tool that must provide code review results for this rule to pass.", + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of a code review analysis tool", + "enum": [ + "CodeQL", + "ESLint", + "PMD" + ] + } + }, + "required": [ + "name" + ] + }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -129715,94 +128629,6 @@ } } }, - "actions-billing-usage": { - "type": "object", - "properties": { - "total_minutes_used": { - "type": "integer", - "description": "The sum of the free and paid GitHub Actions minutes used." - }, - "total_paid_minutes_used": { - "type": "integer", - "description": "The total paid GitHub Actions minutes used." - }, - "included_minutes": { - "type": "integer", - "description": "The amount of free GitHub Actions minutes available." - }, - "minutes_used_breakdown": { - "type": "object", - "properties": { - "UBUNTU": { - "type": "integer", - "description": "Total minutes used on Ubuntu runner machines." - }, - "MACOS": { - "type": "integer", - "description": "Total minutes used on macOS runner machines." - }, - "WINDOWS": { - "type": "integer", - "description": "Total minutes used on Windows runner machines." - }, - "ubuntu_4_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 4 core runner machines." - }, - "ubuntu_8_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 8 core runner machines." - }, - "ubuntu_16_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 16 core runner machines." - }, - "ubuntu_32_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 32 core runner machines." - }, - "ubuntu_64_core": { - "type": "integer", - "description": "Total minutes used on Ubuntu 64 core runner machines." - }, - "windows_4_core": { - "type": "integer", - "description": "Total minutes used on Windows 4 core runner machines." - }, - "windows_8_core": { - "type": "integer", - "description": "Total minutes used on Windows 8 core runner machines." - }, - "windows_16_core": { - "type": "integer", - "description": "Total minutes used on Windows 16 core runner machines." - }, - "windows_32_core": { - "type": "integer", - "description": "Total minutes used on Windows 32 core runner machines." - }, - "windows_64_core": { - "type": "integer", - "description": "Total minutes used on Windows 64 core runner machines." - }, - "macos_12_core": { - "type": "integer", - "description": "Total minutes used on macOS 12 core runner machines." - }, - "total": { - "type": "integer", - "description": "Total minutes used on all runner machines." - } - } - } - }, - "required": [ - "total_minutes_used", - "total_paid_minutes_used", - "included_minutes", - "minutes_used_breakdown" - ] - }, "advanced-security-active-committers-user": { "type": "object", "properties": { @@ -130377,28 +129203,6 @@ "costCenterState" ] }, - "packages-billing-usage": { - "type": "object", - "properties": { - "total_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Sum of the free and paid storage space (GB) for GitHuub Packages." - }, - "total_paid_gigabytes_bandwidth_used": { - "type": "integer", - "description": "Total paid storage space (GB) for GitHuub Packages." - }, - "included_gigabytes_bandwidth": { - "type": "integer", - "description": "Free storage space (GB) for GitHub Packages." - } - }, - "required": [ - "total_gigabytes_bandwidth_used", - "total_paid_gigabytes_bandwidth_used", - "included_gigabytes_bandwidth" - ] - }, "billing-premium-request-usage-report-ghe": { "type": "object", "properties": { @@ -130531,28 +129335,6 @@ "usageItems" ] }, - "combined-billing-usage": { - "type": "object", - "properties": { - "days_left_in_billing_cycle": { - "type": "integer", - "description": "Numbers of days left in billing cycle." - }, - "estimated_paid_storage_for_month": { - "type": "integer", - "description": "Estimated storage space (GB) used in billing cycle." - }, - "estimated_storage_for_month": { - "type": "integer", - "description": "Estimated sum of free and paid storage space (GB) used in billing cycle." - } - }, - "required": [ - "days_left_in_billing_cycle", - "estimated_paid_storage_for_month", - "estimated_storage_for_month" - ] - }, "billing-usage-report": { "type": "object", "properties": { @@ -134154,223 +132936,6 @@ }, "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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-summary-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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "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.", @@ -159445,283 +158010,6 @@ "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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "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": { - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "date": { - "type": "string", - "description": "Date of the usage line item." - }, - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU name." - }, - "quantity": { - "type": "integer", - "description": "Quantity of the usage line item." - }, - "unitType": { - "type": "string", - "description": "Unit type of the usage line item." - }, - "pricePerUnit": { - "type": "number", - "description": "Price per unit of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - }, - "repositoryName": { - "type": "string", - "description": "Name of the repository." - } - }, - "required": [ - "date", - "product", - "sku", - "quantity", - "unitType", - "pricePerUnit", - "grossAmount", - "discountAmount", - "netAmount" - ] - } - } - } - }, - "billing-usage-summary-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." - }, - "repository": { - "type": "string", - "description": "The name of the repository for the usage report." - }, - "product": { - "type": "string", - "description": "The product for the usage report." - }, - "sku": { - "type": "string", - "description": "The SKU for the usage report." - }, - "usageItems": { - "type": "array", - "items": { - "type": "object", - "properties": { - "product": { - "type": "string", - "description": "Product name." - }, - "sku": { - "type": "string", - "description": "SKU 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": "number", - "description": "Gross quantity of the usage line item." - }, - "grossAmount": { - "type": "number", - "description": "Gross amount of the usage line item." - }, - "discountQuantity": { - "type": "number", - "description": "Discount quantity of the usage line item." - }, - "discountAmount": { - "type": "number", - "description": "Discount amount of the usage line item." - }, - "netQuantity": { - "type": "number", - "description": "Net quantity of the usage line item." - }, - "netAmount": { - "type": "number", - "description": "Net amount of the usage line item." - } - }, - "required": [ - "product", - "sku", - "unitType", - "pricePerUnit", - "grossQuantity", - "grossAmount", - "discountQuantity", - "discountAmount", - "netQuantity", - "netAmount" - ] - } - } - }, - "required": [ - "timePeriod", - "user", - "usageItems" - ] - }, "enterprise-webhooks": { "title": "Enterprise", "description": "An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"[About enterprise accounts](https://docs.github.com/enterprise-cloud@latest//admin/overview/about-enterprise-accounts).\"", @@ -305763,18 +304051,6 @@ ] } }, - "actions-billing-usage": { - "value": { - "total_minutes_used": 305, - "total_paid_minutes_used": 0, - "included_minutes": 3000, - "minutes_used_breakdown": { - "UBUNTU": 205, - "MACOS": 10, - "WINDOWS": 90 - } - } - }, "advanced-security-active-committers": { "value": { "total_advanced_security_committers": 2, @@ -305959,13 +304235,6 @@ "costCenterState": "CostCenterArchived" } }, - "packages-billing-usage": { - "value": { - "total_gigabytes_bandwidth_used": 50, - "total_paid_gigabytes_bandwidth_used": 40, - "included_gigabytes_bandwidth": 10 - } - }, "billing-premium-request-usage-report-ghe": { "value": { "timePeriod": { @@ -305989,13 +304258,6 @@ ] } }, - "combined-billing-usage": { - "value": { - "days_left_in_billing_cycle": 20, - "estimated_paid_storage_for_month": 15, - "estimated_storage_for_month": 40 - } - }, "billing-usage-report": { "value": { "usageItems": [ @@ -307775,51 +306037,6 @@ ] } }, - "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-summary-report-org": { - "value": { - "timePeriod": { - "year": 2025 - }, - "organization": "GitHub", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.0 - } - ] - } - }, "organization-full": { "value": { "login": "github", @@ -333101,69 +331318,6 @@ } ] }, - "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": [ - { - "date": "2023-08-01", - "product": "Actions", - "sku": "Actions Linux", - "quantity": 100, - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossAmount": 0.8, - "discountAmount": 0, - "netAmount": 0.8, - "repositoryName": "user/example" - } - ] - } - }, - "billing-usage-summary-report-user": { - "value": { - "timePeriod": { - "year": 2025 - }, - "user": "monalisa", - "usageItems": [ - { - "product": "Actions", - "sku": "actions_linux", - "unitType": "minutes", - "pricePerUnit": 0.008, - "grossQuantity": 1000, - "grossAmount": 8.0, - "discountQuantity": 0, - "discountAmount": 0.0, - "netQuantity": 1000, - "netAmount": 8.0 - } - ] - } - }, "check-run-completed": { "value": { "action": "completed", @@ -337619,51 +335773,6 @@ } } }, - "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": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-report" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-report" - } - } - } - } - }, - "billing_usage_summary_report_org": { - "description": "Response when getting a billing usage summary", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-summary-report-org" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-summary-report-org" - } - } - } - } - }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, @@ -337890,51 +335999,6 @@ } } } - }, - "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": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-report-user" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-report-user" - } - } - } - } - }, - "billing_usage_summary_report_user": { - "description": "Response when getting a billing usage summary", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/billing-usage-summary-report-user" - }, - "examples": { - "default": { - "$ref": "#/components/examples/billing-usage-summary-report-user" - } - } - } - } } }, "headers": { diff --git a/descriptions/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 2963654c5..b38126a1f 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -5896,7 +5896,7 @@ paths: operationId: enterprise-admin/get-consumed-licenses externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#list-enterprise-consumed-licenses + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#list-enterprise-consumed-licenses parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/per-page" @@ -5919,7 +5919,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/copilot/billing/seats": get: summary: List all Copilot seat assignments for an enterprise @@ -7029,7 +7029,7 @@ paths: operationId: enterprise-admin/get-license-sync-status externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/license#get-a-license-sync-status + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-a-license-sync-status parameters: - "$ref": "#/components/parameters/enterprise" responses: @@ -7047,7 +7047,7 @@ paths: enabledForGitHubApps: false previews: [] category: enterprise-admin - subcategory: license + subcategory: licensing "/enterprises/{enterprise}/members/{username}/copilot": get: summary: Get Copilot seat assignment details for an enterprise user @@ -8455,41 +8455,6 @@ paths: "$ref": "#/components/responses/conflict" '422': "$ref": "#/components/responses/validation_failed" - "/enterprises/{enterprise}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an enterprise - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-actions-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing "/enterprises/{enterprise}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an enterprise @@ -8504,7 +8469,7 @@ paths: operationId: billing/get-github-advanced-security-billing-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/advanced-security-product" @@ -8524,7 +8489,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: enterprise-admin - subcategory: billing + subcategory: licensing "/enterprises/{enterprise}/settings/billing/budgets": get: summary: Get all budgets @@ -8538,7 +8503,7 @@ paths: operationId: billing/get-all-budgets externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-all-budgets parameters: - "$ref": "#/components/parameters/enterprise" responses: @@ -8552,7 +8517,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets post: summary: Create a budget description: |- @@ -8565,7 +8530,7 @@ paths: operationId: billing/create-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#create-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#create-a-budget parameters: - "$ref": "#/components/parameters/enterprise" requestBody: @@ -8664,7 +8629,7 @@ paths: feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget '422': "$ref": "#/components/responses/validation_failed" '500': @@ -8677,12 +8642,12 @@ paths: server-error: value: message: Unable to create budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#create-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#create-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/budgets/{budget_id}": get: summary: Get a budget by ID @@ -8696,7 +8661,7 @@ paths: operationId: billing/get-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#get-a-budget-by-id parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/budget" @@ -8717,7 +8682,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget description: |- @@ -8730,7 +8695,7 @@ paths: operationId: billing/update-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#update-a-budget parameters: - name: enterprise in: path @@ -8827,11 +8792,11 @@ paths: value: message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget feature-not-enabled: value: message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '422': "$ref": "#/components/responses/validation_failed" '500': @@ -8844,7 +8809,7 @@ paths: server-error: value: message: Unable to retrieve budget. - documentation_url: https://docs.github.com/rest/enterprise-admin/billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget '503': description: Service unavailable content: @@ -8855,12 +8820,12 @@ paths: server-error: value: message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget + documentation_url: https://docs.github.com/rest/billing/budgets#update-a-budget x-github: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets delete: summary: Delete a budget description: |- @@ -8873,7 +8838,7 @@ paths: operationId: billing/delete-budget externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/budgets#delete-a-budget parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/budget" @@ -8894,7 +8859,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets "/enterprises/{enterprise}/settings/billing/cost-centers": get: summary: Get all cost centers for an enterprise @@ -8904,7 +8869,7 @@ paths: operationId: billing/get-all-cost-centers externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-all-cost-centers-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-all-cost-centers-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center-state" @@ -8922,8 +8887,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers post: summary: Create a new cost center description: Creates a new cost center for an enterprise. The authenticated @@ -8933,7 +8898,7 @@ paths: operationId: billing/create-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#create-a-new-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#create-a-new-cost-center parameters: - "$ref": "#/components/parameters/enterprise" requestBody: @@ -9032,8 +8997,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}": get: summary: Get a cost center by ID @@ -9044,7 +9009,7 @@ paths: operationId: billing/get-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-a-cost-center-by-id + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#get-a-cost-center-by-id parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9062,8 +9027,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers patch: summary: Update a cost center name description: Updates an existing cost center name. @@ -9072,7 +9037,7 @@ paths: operationId: billing/update-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#update-a-cost-center-name + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#update-a-cost-center-name parameters: - name: enterprise in: path @@ -9121,8 +9086,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Delete a cost center description: Archieves a cost center by ID. The authenticated user must be an @@ -9132,7 +9097,7 @@ paths: operationId: billing/delete-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#delete-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#delete-a-cost-center parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9152,8 +9117,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource": post: summary: Add resources to a cost center @@ -9166,7 +9131,7 @@ paths: operationId: billing/add-resource-to-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-resources-to-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#add-resources-to-a-cost-center parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9214,8 +9179,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers delete: summary: Remove resources from a cost center description: |- @@ -9227,7 +9192,7 @@ paths: operationId: billing/remove-resource-from-cost-center externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-resources-from-a-cost-center + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/cost-centers#remove-resources-from-a-cost-center parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/cost-center" @@ -9274,43 +9239,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing - "/enterprises/{enterprise}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an enterprise - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-github-packages-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: cost-centers "/enterprises/{enterprise}/settings/billing/premium_request/usage": get: summary: Get billing premium request usage report for an enterprise @@ -9323,7 +9253,7 @@ paths: 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 + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-premium-request-usage-report-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -9356,43 +9286,8 @@ paths: 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - The authenticated user must be an enterprise admin. - - > [!NOTE] - > This endpoint is available to enterprise customers who are using the legacy billing platform. - operationId: billing/get-shared-storage-billing-ghe - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise - parameters: - - "$ref": "#/components/parameters/enterprise" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: true - enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage": get: summary: Get billing usage report for an enterprise @@ -9405,7 +9300,7 @@ paths: operationId: billing/get-github-billing-usage-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-report-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -9432,8 +9327,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/settings/billing/usage/summary": get: summary: Get billing usage summary for an enterprise @@ -9449,7 +9344,7 @@ paths: operationId: billing/get-github-billing-usage-summary-report-ghe externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-summary-for-an-enterprise + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/usage#get-billing-usage-summary-for-an-enterprise parameters: - "$ref": "#/components/parameters/enterprise" - "$ref": "#/components/parameters/billing-usage-report-year" @@ -9474,8 +9369,8 @@ paths: x-github: githubCloudOnly: true enabledForGitHubApps: false - category: enterprise-admin - subcategory: billing + category: billing + subcategory: usage "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": get: summary: Get Copilot metrics for an enterprise team @@ -12700,398 +12595,6 @@ paths: enabledForGitHubApps: true category: orgs subcategory: custom-properties-for-orgs - "/organizations/{org}/settings/billing/budgets": - get: - summary: Get all budgets for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-all-budgets-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-all-budgets-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - "$ref": "#/components/responses/get_all_budgets" - '404': - "$ref": "#/components/responses/not_found" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/budgets/{budget_id}": - get: - summary: Get a budget by ID for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a budget by ID. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/get-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-a-budget-by-id-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/budget" - responses: - '200': - "$ref": "#/components/responses/budget" - '400': - "$ref": "#/components/responses/bad_request" - '404': - "$ref": "#/components/responses/not_found" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - patch: - summary: Update a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Updates an existing budget for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/update-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#update-a-budget-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/budget" - requestBody: - required: true - content: - application/json: - schema: - type: object - properties: - budget_amount: - type: integer - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the budget - is exceeded - budget_alerting: - type: object - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered in the - budget - examples: - update-budget: - summary: Update budget example - value: - prevent_further_usage: false - budget_amount: 10 - budget_alerting: - will_alert: false - alert_recipients: [] - responses: - '200': - description: Budget updated successfully - content: - application/json: - schema: - type: object - properties: - message: - type: string - example: Budget successfully updated. - budget: - type: object - properties: - id: - type: string - description: ID of the budget. - budget_amount: - type: number - format: float - description: The budget amount in whole dollars. For license-based - products, this represents the number of licenses. - prevent_further_usage: - type: boolean - description: Whether to prevent additional spending once the - budget is exceeded - budget_alerting: - type: object - required: - - will_alert - - alert_recipients - properties: - will_alert: - type: boolean - description: Whether alerts are enabled for this budget - alert_recipients: - type: array - items: - type: string - description: Array of user login names who will receive - alerts - budget_scope: - type: string - description: The scope of the budget - enum: - - enterprise - - organization - - repository - - cost_center - budget_entity_name: - type: string - description: The name of the entity to apply the budget to - default: '' - budget_type: - type: string - description: The type of pricing for the budget - enum: - - ProductPricing - - SkuPricing - budget_product_sku: - type: string - description: A single product or SKU that will be covered - in the budget - examples: - update-budget: - value: - message: Budget successfully updated. - id: 550e8400-e29b-41d4-a716-446655440000 - '400': - "$ref": "#/components/responses/bad_request" - '401': - "$ref": "#/components/responses/requires_authentication" - '403': - "$ref": "#/components/responses/forbidden" - '404': - description: Budget not found or feature not enabled - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" - examples: - budget-not-found: - value: - message: Budget with ID 550e8400-e29b-41d4-a716-446655440000 not - found. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - feature-not-enabled: - value: - message: Not Found - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - '422': - "$ref": "#/components/responses/validation_failed" - '500': - description: Internal server error - content: - application/json: - schema: - "$ref": "#/components/schemas/basic-error" - examples: - server-error: - value: - message: Unable to update budget. - documentation_url: https://docs.github.com/rest/billing/enhanced-billing#update-a-budget - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: enhanced-billing - delete: - summary: Delete a budget for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Deletes a budget by ID for an organization. The authenticated user must be an organization admin or billing manager. - tags: - - billing - operationId: billing/delete-budget-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#delete-a-budget-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/budget" - responses: - '200': - "$ref": "#/components/responses/delete-budget" - '400': - "$ref": "#/components/responses/bad_request" - '404': - "$ref": "#/components/responses/not_found" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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 - description: |- - Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/enterprise-cloud@latest//billing/using-the-new-billing-platform)." - tags: - - billing - operationId: billing/get-github-billing-usage-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - - "$ref": "#/components/parameters/billing-usage-report-year" - - "$ref": "#/components/parameters/billing-usage-report-month" - - "$ref": "#/components/parameters/billing-usage-report-day" - responses: - '200': - "$ref": "#/components/responses/billing_usage_report_org" - '400': - "$ref": "#/components/responses/bad_request" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/organizations/{org}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for an organization - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-org - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - - "$ref": "#/components/parameters/billing-usage-report-product" - - "$ref": "#/components/parameters/billing-usage-report-sku" - responses: - '200': - "$ref": "#/components/responses/billing_usage_summary_report_org" - '400': - "$ref": "#/components/responses/bad_request" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -28090,38 +27593,6 @@ paths: deprecationDate: '2024-12-01' removalDate: '2026-01-01' deprecated: true - "/orgs/{org}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for an organization - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-actions-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/billing/advanced-security": get: summary: Get GitHub Advanced Security active committers for an organization @@ -28159,70 +27630,6 @@ paths: enabledForGitHubApps: true category: billing subcategory: billing - "/orgs/{org}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for an organization - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-github-packages-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/orgs/{org}/settings/billing/shared-storage": - get: - summary: Get shared storage billing for an organization - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `repo` or `admin:org` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-org - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization - parameters: - - "$ref": "#/components/parameters/org" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -66571,216 +65978,6 @@ paths: enabledForGitHubApps: true category: repos subcategory: repos - "/users/{username}/settings/billing/actions": - get: - summary: Get GitHub Actions billing for a user - description: |- - Gets the summary of the free and paid GitHub Actions minutes used. - - Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see "[Managing billing for GitHub Actions](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)". - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-actions-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/actions-billing-usage" - examples: - default: - "$ref": "#/components/examples/actions-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/packages": - get: - summary: Get GitHub Packages billing for a user - description: |- - Gets the free and paid storage used for GitHub Packages in gigabytes. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-github-packages-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/packages-billing-usage" - examples: - default: - "$ref": "#/components/examples/packages-billing-usage" - 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. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - 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 - description: |- - Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages. - - Paid minutes only apply to packages stored for private repositories. For more information, see "[Managing billing for GitHub Packages](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages)." - - OAuth app tokens and personal access tokens (classic) need the `user` scope to use this endpoint. - operationId: billing/get-shared-storage-billing-user - tags: - - billing - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - responses: - '200': - description: Response - content: - application/json: - schema: - "$ref": "#/components/schemas/combined-billing-usage" - examples: - default: - "$ref": "#/components/examples/combined-billing-usage" - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing - "/users/{username}/settings/billing/usage": - get: - summary: Get billing usage report for a user - description: |- - Gets a report of the total usage for a user. - - **Note:** This endpoint is only available to users with access to the enhanced billing platform. - tags: - - billing - operationId: billing/get-github-billing-usage-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user - parameters: - - "$ref": "#/components/parameters/username" - - "$ref": "#/components/parameters/billing-usage-report-year" - - "$ref": "#/components/parameters/billing-usage-report-month" - - "$ref": "#/components/parameters/billing-usage-report-day" - responses: - '200': - "$ref": "#/components/responses/billing_usage_report_user" - '400': - "$ref": "#/components/responses/bad_request" - '403': - "$ref": "#/components/responses/forbidden" - '500': - "$ref": "#/components/responses/internal_error" - '503': - "$ref": "#/components/responses/service_unavailable" - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing - "/users/{username}/settings/billing/usage/summary": - get: - summary: Get billing usage summary for a user - description: |- - > [!NOTE] - > This endpoint is in public preview and is subject to change. - - Gets a summary report of usage for a user. - - **Note:** Only data from the past 24 months is accessible via this endpoint. - tags: - - billing - operationId: billing/get-github-billing-usage-summary-report-user - externalDocs: - description: API method documentation - url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-summary-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-repository" - - "$ref": "#/components/parameters/billing-usage-report-product" - - "$ref": "#/components/parameters/billing-usage-report-sku" - responses: - '200': - "$ref": "#/components/responses/billing_usage_summary_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}/social_accounts": get: summary: List social accounts for a user @@ -93658,6 +92855,20 @@ components: type: boolean description: Copilot automatically reviews each new push to the pull request. + repository-rule-params-copilot-code-review-analysis-tool: + title: CopilotCodeReviewAnalysisTool + description: A tool that must provide code review results for this rule to pass. + type: object + properties: + name: + type: string + description: The name of a code review analysis tool + enum: + - CodeQL + - ESLint + - PMD + required: + - name repository-rule: title: Repository Rule type: object @@ -94267,71 +93478,6 @@ components: description: Overrides for custom patterns defined by the organization. items: "$ref": "#/components/schemas/secret-scanning-pattern-override" - actions-billing-usage: - type: object - properties: - total_minutes_used: - type: integer - description: The sum of the free and paid GitHub Actions minutes used. - total_paid_minutes_used: - type: integer - description: The total paid GitHub Actions minutes used. - included_minutes: - type: integer - description: The amount of free GitHub Actions minutes available. - minutes_used_breakdown: - type: object - properties: - UBUNTU: - type: integer - description: Total minutes used on Ubuntu runner machines. - MACOS: - type: integer - description: Total minutes used on macOS runner machines. - WINDOWS: - type: integer - description: Total minutes used on Windows runner machines. - ubuntu_4_core: - type: integer - description: Total minutes used on Ubuntu 4 core runner machines. - ubuntu_8_core: - type: integer - description: Total minutes used on Ubuntu 8 core runner machines. - ubuntu_16_core: - type: integer - description: Total minutes used on Ubuntu 16 core runner machines. - ubuntu_32_core: - type: integer - description: Total minutes used on Ubuntu 32 core runner machines. - ubuntu_64_core: - type: integer - description: Total minutes used on Ubuntu 64 core runner machines. - windows_4_core: - type: integer - description: Total minutes used on Windows 4 core runner machines. - windows_8_core: - type: integer - description: Total minutes used on Windows 8 core runner machines. - windows_16_core: - type: integer - description: Total minutes used on Windows 16 core runner machines. - windows_32_core: - type: integer - description: Total minutes used on Windows 32 core runner machines. - windows_64_core: - type: integer - description: Total minutes used on Windows 64 core runner machines. - macos_12_core: - type: integer - description: Total minutes used on macOS 12 core runner machines. - total: - type: integer - description: Total minutes used on all runner machines. - required: - - total_minutes_used - - total_paid_minutes_used - - included_minutes - - minutes_used_breakdown advanced-security-active-committers-user: type: object properties: @@ -94766,22 +93912,6 @@ components: - id - name - costCenterState - packages-billing-usage: - type: object - properties: - total_gigabytes_bandwidth_used: - type: integer - description: Sum of the free and paid storage space (GB) for GitHuub Packages. - total_paid_gigabytes_bandwidth_used: - type: integer - description: Total paid storage space (GB) for GitHuub Packages. - included_gigabytes_bandwidth: - type: integer - description: Free storage space (GB) for GitHub Packages. - required: - - total_gigabytes_bandwidth_used - - total_paid_gigabytes_bandwidth_used - - included_gigabytes_bandwidth billing-premium-request-usage-report-ghe: type: object properties: @@ -94880,23 +94010,6 @@ components: - timePeriod - enterprise - usageItems - combined-billing-usage: - type: object - properties: - days_left_in_billing_cycle: - type: integer - description: Numbers of days left in billing cycle. - estimated_paid_storage_for_month: - type: integer - description: Estimated storage space (GB) used in billing cycle. - estimated_storage_for_month: - type: integer - description: Estimated sum of free and paid storage space (GB) used in billing - cycle. - required: - - days_left_in_billing_cycle - - estimated_paid_storage_for_month - - estimated_storage_for_month billing-usage-report: type: object properties: @@ -97684,168 +96797,6 @@ 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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-summary-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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - organization - - usageItems organization-full: title: Organization Full description: |- @@ -117205,213 +116156,6 @@ 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - 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: - usageItems: - type: array - items: - type: object - properties: - date: - type: string - description: Date of the usage line item. - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - quantity: - type: integer - description: Quantity of the usage line item. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - repositoryName: - type: string - description: Name of the repository. - required: - - date - - product - - sku - - quantity - - unitType - - pricePerUnit - - grossAmount - - discountAmount - - netAmount - billing-usage-summary-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. - repository: - type: string - description: The name of the repository for the usage report. - product: - type: string - description: The product for the usage report. - sku: - type: string - description: The SKU for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU 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: number - description: Gross quantity of the usage line item. - grossAmount: - type: number - description: Gross amount of the usage line item. - discountQuantity: - type: number - description: Discount quantity of the usage line item. - discountAmount: - type: number - description: Discount amount of the usage line item. - netQuantity: - type: number - description: Net quantity of the usage line item. - netAmount: - type: number - description: Net amount of the usage line item. - required: - - product - - sku - - unitType - - pricePerUnit - - grossQuantity - - grossAmount - - discountQuantity - - discountAmount - - netQuantity - - netAmount - required: - - timePeriod - - user - - usageItems enterprise-webhooks: title: Enterprise description: |- @@ -228206,15 +226950,6 @@ components: bypass_rate: 20 default_setting: disabled setting: enabled - actions-billing-usage: - value: - total_minutes_used: 305 - total_paid_minutes_used: 0 - included_minutes: 3000 - minutes_used_breakdown: - UBUNTU: 205 - MACOS: 10 - WINDOWS: 90 advanced-security-active-committers: value: total_advanced_security_committers: 2 @@ -228333,11 +227068,6 @@ components: id: 2066deda-923f-43f9-88d2-62395a28c0cdd name: cc3 costCenterState: CostCenterArchived - packages-billing-usage: - value: - total_gigabytes_bandwidth_used: 50 - total_paid_gigabytes_bandwidth_used: 40 - included_gigabytes_bandwidth: 10 billing-premium-request-usage-report-ghe: value: timePeriod: @@ -228355,11 +227085,6 @@ components: discountAmount: 0.0 netQuantity: 100 netAmount: 4.0 - combined-billing-usage: - value: - days_left_in_billing_cycle: 20 - estimated_paid_storage_for_month: 15 - estimated_storage_for_month: 40 billing-usage-report: value: usageItems: @@ -229944,39 +228669,6 @@ components: value: web - property_name: team value: octocat - 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-summary-report-org: - value: - timePeriod: - year: 2025 - organization: GitHub - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 organization-full: value: login: github @@ -251605,52 +250297,6 @@ components: pusher_type: user public: false created_at: '2022-06-07T07:50:26Z' - 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: - - date: '2023-08-01' - product: Actions - sku: Actions Linux - quantity: 100 - unitType: minutes - pricePerUnit: 0.008 - grossAmount: 0.8 - discountAmount: 0 - netAmount: 0.8 - repositoryName: user/example - billing-usage-summary-report-user: - value: - timePeriod: - year: 2025 - user: monalisa - usageItems: - - product: Actions - sku: actions_linux - unitType: minutes - pricePerUnit: 0.008 - grossQuantity: 1000 - grossAmount: 8.0 - discountQuantity: 0 - discountAmount: 0.0 - netQuantity: 1000 - netAmount: 8.0 check-run-completed: value: action: completed @@ -255446,33 +254092,6 @@ 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: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-report" - examples: - default: - "$ref": "#/components/examples/billing-usage-report" - billing_usage_summary_report_org: - description: Response when getting a billing usage summary - content: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-summary-report-org" - examples: - default: - "$ref": "#/components/examples/billing-usage-summary-report-org" package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. @@ -255616,33 +254235,6 @@ 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: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-report-user" - examples: - default: - "$ref": "#/components/examples/billing-usage-report-user" - billing_usage_summary_report_user: - description: Response when getting a billing usage summary - content: - application/json: - schema: - "$ref": "#/components/schemas/billing-usage-summary-report-user" - examples: - default: - "$ref": "#/components/examples/billing-usage-summary-report-user" headers: link: example: ; rel="next", ; diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json index ed2307599..e93f13076 100644 --- a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json +++ b/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.json @@ -30271,7 +30271,7 @@ ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/license#get-license-information" + "url": "https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/licensing#get-license-information" }, "responses": { "200": { @@ -30335,7 +30335,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -42325,7 +42325,7 @@ "operationId": "billing/get-github-advanced-security-billing-ghe", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise" + "url": "https://docs.github.com/enterprise-server@3.14/rest/enterprise-admin/licensing#get-github-advanced-security-active-committers-for-an-enterprise" }, "parameters": [ { @@ -42479,7 +42479,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, diff --git a/descriptions/ghes-3.14/dereferenced/ghes-3.14.2022-11-28.deref.yaml b/descr{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}