diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index c48f7c9cd..3ecb3bccc 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -7684,7 +7684,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": [ { @@ -7709,7 +7709,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -7723,7 +7723,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": [ { @@ -7757,7 +7757,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -7769,7 +7769,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": [ { @@ -7966,13 +7966,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" } } } @@ -7993,7 +7993,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" } } } @@ -8005,7 +8005,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -8017,7 +8017,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": [ { @@ -8051,7 +8051,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -8065,7 +8065,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": [ { @@ -8114,7 +8114,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8128,7 +8128,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": [ { @@ -8165,7 +8165,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8179,7 +8179,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": [ { @@ -8225,7 +8225,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -27284,132 +27284,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", @@ -76807,90 +76681,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", @@ -76901,7 +76691,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": [ { @@ -76947,49 +76737,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" } } }, @@ -77003,7 +76751,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": [ { @@ -77040,7 +76788,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -77054,7 +76802,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": [ { @@ -77103,7 +76851,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -119379,6 +119127,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", @@ -121000,138 +120767,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.", @@ -298112,32 +297747,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-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index 7a4e676a0..82cbd6278 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -5415,7 +5415,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: @@ -5431,7 +5431,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 @@ -5445,7 +5445,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" @@ -5466,7 +5466,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -5479,7 +5479,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" @@ -5625,11 +5625,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': @@ -5642,12 +5642,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: |- @@ -5660,7 +5660,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" @@ -5681,7 +5681,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 @@ -5694,7 +5694,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" @@ -5720,7 +5720,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 @@ -5733,7 +5733,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" @@ -5754,7 +5754,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 @@ -5770,7 +5770,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" @@ -5794,7 +5794,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -19674,102 +19674,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 @@ -55553,70 +55457,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 @@ -55629,7 +55469,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" @@ -55654,39 +55494,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 @@ -55699,7 +55507,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" @@ -55720,7 +55528,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 @@ -55736,7 +55544,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" @@ -55762,7 +55570,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 @@ -86663,6 +86471,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 @@ -87821,104 +87643,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. @@ -220573,25 +220297,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-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index c48f7c9cd..3ecb3bccc 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -7684,7 +7684,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": [ { @@ -7709,7 +7709,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -7723,7 +7723,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": [ { @@ -7757,7 +7757,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -7769,7 +7769,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": [ { @@ -7966,13 +7966,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" } } } @@ -7993,7 +7993,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" } } } @@ -8005,7 +8005,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -8017,7 +8017,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": [ { @@ -8051,7 +8051,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -8065,7 +8065,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": [ { @@ -8114,7 +8114,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8128,7 +8128,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": [ { @@ -8165,7 +8165,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -8179,7 +8179,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": [ { @@ -8225,7 +8225,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -27284,132 +27284,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", @@ -76807,90 +76681,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", @@ -76901,7 +76691,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": [ { @@ -76947,49 +76737,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" } } }, @@ -77003,7 +76751,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": [ { @@ -77040,7 +76788,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -77054,7 +76802,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": [ { @@ -77103,7 +76851,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -119379,6 +119127,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", @@ -121000,138 +120767,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.", @@ -298112,32 +297747,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-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 7a4e676a0..82cbd6278 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -5415,7 +5415,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: @@ -5431,7 +5431,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 @@ -5445,7 +5445,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" @@ -5466,7 +5466,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -5479,7 +5479,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" @@ -5625,11 +5625,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': @@ -5642,12 +5642,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: |- @@ -5660,7 +5660,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" @@ -5681,7 +5681,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 @@ -5694,7 +5694,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" @@ -5720,7 +5720,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 @@ -5733,7 +5733,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" @@ -5754,7 +5754,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 @@ -5770,7 +5770,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" @@ -5794,7 +5794,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -19674,102 +19674,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 @@ -55553,70 +55457,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 @@ -55629,7 +55469,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" @@ -55654,39 +55494,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 @@ -55699,7 +55507,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" @@ -55720,7 +55528,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 @@ -55736,7 +55544,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" @@ -55762,7 +55570,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 @@ -86663,6 +86471,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 @@ -87821,104 +87643,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. @@ -220573,25 +220297,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-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 6a9d52649..b8794fd6f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -61813,7 +61813,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": [ { @@ -62072,7 +62072,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -62086,7 +62086,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": [ { @@ -62399,7 +62399,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -62411,7 +62411,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": [ { @@ -62747,13 +62747,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" } } } @@ -62862,7 +62862,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" } } } @@ -62874,7 +62874,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -62886,7 +62886,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": [ { @@ -63113,7 +63113,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -63127,7 +63127,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": [ { @@ -63510,7 +63510,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -63524,7 +63524,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": [ { @@ -63808,7 +63808,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -63822,7 +63822,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": [ { @@ -64173,7 +64173,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -198254,290 +198254,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", @@ -728118,219 +727834,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", @@ -728341,7 +727844,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": [ { @@ -728711,78 +728214,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" } } }, @@ -728796,7 +728228,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": [ { @@ -729074,7 +728506,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -729088,7 +728520,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": [ { @@ -729465,7 +728897,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index d2a50e96d..0fb62e763 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -16786,7 +16786,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: - *61 responses: @@ -16916,7 +16916,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 @@ -16930,7 +16930,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: - *61 - &98 @@ -17038,7 +17038,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -17051,7 +17051,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: - *61 - *98 @@ -17193,11 +17193,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 @@ -17208,12 +17208,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: |- @@ -17226,7 +17226,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: - *61 - *98 @@ -17261,7 +17261,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 @@ -17274,7 +17274,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: - *61 - &99 @@ -17310,7 +17310,7 @@ paths: required: false schema: type: string - - &681 + - &677 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -17439,7 +17439,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 @@ -17452,11 +17452,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: - *61 - *99 - - &684 + - &678 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17546,7 +17546,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 @@ -17562,13 +17562,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: - *61 - *99 - *101 - *100 - - &685 + - &679 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -17576,7 +17576,7 @@ paths: schema: type: string - *102 - - &686 + - &680 name: sku description: The SKU to query for usage. in: query @@ -17692,7 +17692,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -36915,7 +36915,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &734 + - &728 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -44699,212 +44699,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: - - *61 - responses: - '200': - description: Response - content: - application/json: - schema: &677 - 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: &678 - 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: - - *61 - responses: - '200': - description: Response - content: - application/json: - schema: &679 - 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: &680 - 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: - - *61 - responses: - '200': - description: Response - content: - application/json: - schema: &682 - 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: &683 - 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 @@ -60419,7 +60213,7 @@ paths: check. type: array items: *390 - deployment: &695 + deployment: &689 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -76150,7 +75944,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &726 + last_response: &720 title: Hook Response type: object properties: @@ -92024,7 +91818,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &746 + items: &740 type: object properties: type: @@ -105601,7 +105395,7 @@ paths: - title - created_at examples: - default: &687 + default: &681 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105764,7 +105558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &688 + - &682 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 @@ -105793,7 +105587,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &689 + items: &683 title: Starred Repository description: Starred Repository type: object @@ -108284,66 +108078,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: - - *57 - responses: - '200': - description: Response - content: - application/json: - schema: *677 - examples: - default: *678 - 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: - - *57 - responses: - '200': - description: Response - content: - application/json: - schema: *679 - examples: - default: *680 - 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 @@ -108356,13 +108090,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: - *57 - *99 - *101 - *100 - - *681 + - *677 - *102 responses: '200': @@ -108476,37 +108210,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: - - *57 - responses: - '200': - description: Response - content: - application/json: - schema: *682 - examples: - default: *683 - 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 @@ -108519,11 +108223,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: - *57 - *99 - - *684 + - *678 - *100 responses: '200': @@ -108600,7 +108304,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 @@ -108616,15 +108320,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: - *57 - *99 - *101 - *100 - - *685 + - *679 - *102 - - *686 + - *680 responses: '200': description: Response when getting a billing usage summary @@ -108735,7 +108439,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 @@ -108792,7 +108496,7 @@ paths: type: array items: *662 examples: - default: *687 + default: *681 headers: Link: *52 x-github: @@ -108817,7 +108521,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *688 + - *682 - *46 - *17 - *19 @@ -108829,7 +108533,7 @@ paths: schema: anyOf: - type: array - items: *689 + items: *683 - type: array items: *64 examples: @@ -108993,7 +108697,7 @@ webhooks: type: string enum: - disabled - enterprise: &690 + enterprise: &684 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109062,7 +108766,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &691 + installation: &685 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109083,7 +108787,7 @@ webhooks: required: - id - node_id - organization: &692 + organization: &686 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109156,7 +108860,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &693 + repository: &687 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -110069,10 +109773,10 @@ webhooks: type: string enum: - enabled - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -110148,11 +109852,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - rule: &694 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + rule: &688 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) @@ -110375,11 +110079,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - rule: *694 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + rule: *688 sender: *4 required: - action @@ -110567,11 +110271,11 @@ webhooks: - everyone required: - from - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - rule: *694 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + rule: *688 sender: *4 required: - action @@ -110655,7 +110359,7 @@ webhooks: type: string enum: - completed - check_run: &696 + check_run: &690 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110765,7 +110469,7 @@ webhooks: - examples: - neutral - deployment: *695 + deployment: *689 details_url: type: string examples: @@ -110863,10 +110567,10 @@ webhooks: - output - app - pull_requests - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 sender: *4 required: - check_run @@ -111259,11 +110963,11 @@ webhooks: type: string enum: - created - check_run: *696 - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + check_run: *690 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 sender: *4 required: - check_run @@ -111659,11 +111363,11 @@ webhooks: type: string enum: - requested_action - check_run: *696 - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + check_run: *690 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 requested_action: description: The action requested by the user. type: object @@ -112068,11 +111772,11 @@ webhooks: type: string enum: - rerequested - check_run: *696 - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + check_run: *690 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 sender: *4 required: - check_run @@ -113064,10 +112768,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -113767,10 +113471,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -114464,10 +114168,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -114788,20 +114492,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &697 + commit_oid: &691 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: *690 - installation: *691 - organization: *692 - ref: &698 + enterprise: *684 + installation: *685 + organization: *686 + ref: &692 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: *693 + repository: *687 sender: *4 required: - action @@ -115209,12 +114913,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -115497,12 +115201,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -115848,12 +115552,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -116136,9 +115840,9 @@ webhooks: type: - string - 'null' - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -116146,7 +115850,7 @@ webhooks: type: - string - 'null' - repository: *693 + repository: *687 sender: *4 required: - action @@ -116392,12 +116096,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -116659,10 +116363,10 @@ webhooks: - updated_at - author_association - body - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -116743,18 +116447,18 @@ webhooks: type: - string - 'null' - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *692 - pusher_type: &699 + organization: *686 + pusher_type: &693 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &700 + ref: &694 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116764,7 +116468,7 @@ webhooks: enum: - tag - branch - repository: *693 + repository: *687 sender: *4 required: - ref @@ -116847,9 +116551,9 @@ webhooks: enum: - created definition: *253 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -116934,9 +116638,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -117014,9 +116718,9 @@ webhooks: enum: - promote_to_enterprise definition: *253 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -117094,9 +116798,9 @@ webhooks: enum: - updated definition: *253 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -117173,10 +116877,10 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - repository: *693 - organization: *692 + enterprise: *684 + installation: *685 + repository: *687 + organization: *686 sender: *4 new_property_values: type: array @@ -117261,18 +116965,18 @@ webhooks: title: delete event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - pusher_type: *699 - ref: *700 + enterprise: *684 + installation: *685 + organization: *686 + pusher_type: *693 + ref: *694 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *693 + repository: *687 sender: *4 required: - ref @@ -117357,10 +117061,10 @@ webhooks: enum: - auto_dismissed alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117445,10 +117149,10 @@ webhooks: enum: - auto_reopened alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117533,10 +117237,10 @@ webhooks: enum: - created alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117619,10 +117323,10 @@ webhooks: enum: - dismissed alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117705,10 +117409,10 @@ webhooks: enum: - fixed alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117792,10 +117496,10 @@ webhooks: enum: - reintroduced alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117878,10 +117582,10 @@ webhooks: enum: - reopened alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117958,9 +117662,9 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - key: &701 + enterprise: *684 + installation: *685 + key: &695 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117998,8 +117702,8 @@ webhooks: - verified - created_at - read_only - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -118076,11 +117780,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - key: *701 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + key: *695 + organization: *686 + repository: *687 sender: *4 required: - action @@ -118652,12 +118356,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: &705 + workflow: &699 title: Workflow type: - object @@ -119399,9 +119103,9 @@ webhooks: pull_requests: type: array items: *547 - repository: *693 - organization: *692 - installation: *691 + repository: *687 + organization: *686 + installation: *685 sender: *4 responses: '200': @@ -119472,7 +119176,7 @@ webhooks: type: string enum: - approved - approver: &702 + approver: &696 type: object properties: avatar_url: @@ -119515,11 +119219,11 @@ webhooks: type: string comment: type: string - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - reviewers: &703 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + reviewers: &697 type: array items: type: object @@ -119600,7 +119304,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &704 + workflow_job_run: &698 type: object properties: conclusion: @@ -120346,18 +120050,18 @@ webhooks: type: string enum: - rejected - approver: *702 + approver: *696 comment: type: string - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - reviewers: *703 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + reviewers: *697 sender: *4 since: type: string - workflow_job_run: *704 + workflow_job_run: *698 workflow_job_runs: type: array items: @@ -121074,13 +120778,13 @@ webhooks: type: string enum: - requested - enterprise: *690 + enterprise: *684 environment: type: string - installation: *691 - organization: *692 - repository: *693 - requestor: &710 + installation: *685 + organization: *686 + repository: *687 + requestor: &704 title: User type: - object @@ -123023,12 +122727,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Deployment Workflow Run type: @@ -123719,7 +123423,7 @@ webhooks: type: string enum: - answered - answer: &708 + answer: &702 type: object properties: author_association: @@ -123879,7 +123583,7 @@ webhooks: - created_at - updated_at - body - discussion: &706 + discussion: &700 title: Discussion description: A Discussion in a repository. type: object @@ -124197,10 +123901,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124327,11 +124031,11 @@ webhooks: - from required: - category - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124414,11 +124118,11 @@ webhooks: type: string enum: - closed - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124500,7 +124204,7 @@ webhooks: type: string enum: - created - comment: &707 + comment: &701 type: object properties: author_association: @@ -124660,11 +124364,11 @@ webhooks: - updated_at - body - reactions - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124747,12 +124451,12 @@ webhooks: type: string enum: - deleted - comment: *707 - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + comment: *701 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124847,12 +124551,12 @@ webhooks: - from required: - body - comment: *707 - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + comment: *701 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124936,11 +124640,11 @@ webhooks: type: string enum: - created - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125022,11 +124726,11 @@ webhooks: type: string enum: - deleted - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125126,11 +124830,11 @@ webhooks: type: string required: - from - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125212,10 +124916,10 @@ webhooks: type: string enum: - labeled - discussion: *706 - enterprise: *690 - installation: *691 - label: &709 + discussion: *700 + enterprise: *684 + installation: *685 + label: &703 title: Label type: object properties: @@ -125248,8 +124952,8 @@ webhooks: - color - default - description - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125332,11 +125036,11 @@ webhooks: type: string enum: - locked - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125418,11 +125122,11 @@ webhooks: type: string enum: - pinned - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125504,11 +125208,11 @@ webhooks: type: string enum: - reopened - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125593,16 +125297,16 @@ webhooks: changes: type: object properties: - new_discussion: *706 - new_repository: *693 + new_discussion: *700 + new_repository: *687 required: - new_discussion - new_repository - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125685,10 +125389,10 @@ webhooks: type: string enum: - unanswered - discussion: *706 - old_answer: *708 - organization: *692 - repository: *693 + discussion: *700 + old_answer: *702 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125770,12 +125474,12 @@ webhooks: type: string enum: - unlabeled - discussion: *706 - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125858,11 +125562,11 @@ webhooks: type: string enum: - unlocked - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125944,11 +125648,11 @@ webhooks: type: string enum: - unpinned - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -126021,7 +125725,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *690 + enterprise: *684 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126699,9 +126403,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - forkee @@ -126847,9 +126551,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pages: description: The pages that were updated. type: array @@ -126887,7 +126591,7 @@ webhooks: - action - sha - html_url - repository: *693 + repository: *687 sender: *4 required: - pages @@ -126963,10 +126667,10 @@ webhooks: type: string enum: - created - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: &711 + organization: *686 + repositories: &705 description: An array of repository objects that the installation can access. type: array @@ -126992,8 +126696,8 @@ webhooks: - name - full_name - private - repository: *693 - requester: *710 + repository: *687 + requester: *704 sender: *4 required: - action @@ -127068,11 +126772,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127149,11 +126853,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127230,10 +126934,10 @@ webhooks: type: string enum: - added - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories_added: &712 + organization: *686 + repositories_added: &706 description: An array of repository objects, which were added to the installation. type: array @@ -127279,15 +126983,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *693 - repository_selection: &713 + repository: *687 + repository_selection: &707 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *710 + requester: *704 sender: *4 required: - action @@ -127366,10 +127070,10 @@ webhooks: type: string enum: - removed - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories_added: *712 + organization: *686 + repositories_added: *706 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127396,9 +127100,9 @@ webhooks: - name - full_name - private - repository: *693 - repository_selection: *713 - requester: *710 + repository: *687 + repository_selection: *707 + requester: *704 sender: *4 required: - action @@ -127477,11 +127181,11 @@ webhooks: type: string enum: - suspend - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127663,10 +127367,10 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 target_type: type: string @@ -127745,11 +127449,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127997,8 +127701,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129177,8 +128881,8 @@ webhooks: - state - locked - assignee - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -129258,7 +128962,7 @@ webhooks: type: string enum: - deleted - comment: &714 + comment: &708 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129425,8 +129129,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130603,8 +130307,8 @@ webhooks: - state - locked - assignee - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -130684,7 +130388,7 @@ webhooks: type: string enum: - edited - changes: &738 + changes: &732 description: The changes to the comment. type: object properties: @@ -130696,9 +130400,9 @@ webhooks: type: string required: - from - comment: *714 - enterprise: *690 - installation: *691 + comment: *708 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131876,8 +131580,8 @@ webhooks: - state - locked - assignee - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -131967,9 +131671,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132063,9 +131767,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132158,9 +131862,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132254,9 +131958,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132341,10 +132045,10 @@ webhooks: type: string enum: - assigned - assignee: *710 - enterprise: *690 - installation: *691 - issue: &717 + assignee: *704 + enterprise: *684 + installation: *685 + issue: &711 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133280,8 +132984,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -133361,8 +133065,8 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134446,8 +134150,8 @@ webhooks: required: - state - closed_at - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -134526,8 +134230,8 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135458,8 +135162,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -135538,8 +135242,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136472,7 +136176,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &715 + milestone: &709 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136615,8 +136319,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -136715,8 +136419,8 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137652,9 +137356,9 @@ webhooks: - active_lock_reason - body - reactions - label: *709 - organization: *692 - repository: *693 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -137734,8 +137438,8 @@ webhooks: type: string enum: - labeled - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138670,9 +138374,9 @@ webhooks: - active_lock_reason - body - reactions - label: *709 - organization: *692 - repository: *693 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -138752,8 +138456,8 @@ webhooks: type: string enum: - locked - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139690,8 +139394,8 @@ webhooks: format: uri user_view_type: type: string - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -139770,8 +139474,8 @@ webhooks: type: string enum: - milestoned - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140702,9 +140406,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *715 - organization: *692 - repository: *693 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -142177,8 +141881,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143113,8 +142817,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -143194,9 +142898,9 @@ webhooks: type: string enum: - pinned - enterprise: *690 - installation: *691 - issue: &716 + enterprise: *684 + installation: *685 + issue: &710 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144125,8 +143829,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -144205,8 +143909,8 @@ webhooks: type: string enum: - reopened - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145142,8 +144846,8 @@ webhooks: user_view_type: type: string type: *208 - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146635,11 +146339,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *690 - installation: *691 - issue: *716 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *710 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146719,12 +146423,12 @@ webhooks: type: string enum: - typed - enterprise: *690 - installation: *691 - issue: *717 + enterprise: *684 + installation: *685 + issue: *711 type: *208 - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146805,7 +146509,7 @@ webhooks: type: string enum: - unassigned - assignee: &741 + assignee: &735 title: User type: - object @@ -146877,11 +146581,11 @@ webhooks: required: - login - id - enterprise: *690 - installation: *691 - issue: *717 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *711 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146960,12 +146664,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *690 - installation: *691 - issue: *717 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *711 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -147045,8 +146749,8 @@ webhooks: type: string enum: - unlocked - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147981,8 +147685,8 @@ webhooks: format: uri user_view_type: type: string - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148062,11 +147766,11 @@ webhooks: type: string enum: - unpinned - enterprise: *690 - installation: *691 - issue: *716 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *710 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148145,12 +147849,12 @@ webhooks: type: string enum: - untyped - enterprise: *690 - installation: *691 - issue: *717 + enterprise: *684 + installation: *685 + issue: *711 type: *208 - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148230,11 +147934,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148312,11 +148016,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148426,11 +148130,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148512,9 +148216,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: &718 + enterprise: *684 + installation: *685 + marketplace_purchase: &712 title: Marketplace Purchase type: object required: @@ -148602,8 +148306,8 @@ webhooks: type: integer unit_count: type: integer - organization: *692 - previous_marketplace_purchase: &719 + organization: *686 + previous_marketplace_purchase: &713 title: Marketplace Purchase type: object properties: @@ -148687,7 +148391,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *693 + repository: *687 sender: *4 required: - action @@ -148767,10 +148471,10 @@ webhooks: - changed effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: *718 - organization: *692 + enterprise: *684 + installation: *685 + marketplace_purchase: *712 + organization: *686 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148858,7 +148562,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *693 + repository: *687 sender: *4 required: - action @@ -148940,10 +148644,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: *718 - organization: *692 + enterprise: *684 + installation: *685 + marketplace_purchase: *712 + organization: *686 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149029,7 +148733,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *693 + repository: *687 sender: *4 required: - action @@ -149110,8 +148814,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 marketplace_purchase: title: Marketplace Purchase type: object @@ -149197,9 +148901,9 @@ webhooks: type: integer unit_count: type: integer - organization: *692 - previous_marketplace_purchase: *719 - repository: *693 + organization: *686 + previous_marketplace_purchase: *713 + repository: *687 sender: *4 required: - action @@ -149279,12 +148983,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: *718 - organization: *692 - previous_marketplace_purchase: *719 - repository: *693 + enterprise: *684 + installation: *685 + marketplace_purchase: *712 + organization: *686 + previous_marketplace_purchase: *713 + repository: *687 sender: *4 required: - action @@ -149386,11 +149090,11 @@ webhooks: type: string required: - to - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 sender: *4 required: - action @@ -149492,11 +149196,11 @@ webhooks: type: - string - 'null' - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 sender: *4 required: - action @@ -149575,11 +149279,11 @@ webhooks: type: string enum: - removed - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 sender: *4 required: - action @@ -149657,11 +149361,11 @@ webhooks: type: string enum: - added - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149739,7 +149443,7 @@ webhooks: required: - login - id - team: &720 + team: &714 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149969,11 +149673,11 @@ webhooks: type: string enum: - removed - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150052,7 +149756,7 @@ webhooks: required: - login - id - team: *720 + team: *714 required: - action - scope @@ -150134,8 +149838,8 @@ webhooks: type: string enum: - checks_requested - installation: *691 - merge_group: &721 + installation: *685 + merge_group: &715 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -150161,8 +149865,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150248,10 +149952,10 @@ webhooks: - merged - invalidated - dequeued - installation: *691 - merge_group: *721 - organization: *692 - repository: *693 + installation: *685 + merge_group: *715 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150324,7 +150028,7 @@ webhooks: type: string enum: - deleted - enterprise: *690 + enterprise: *684 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -150433,12 +150137,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *691 - organization: *692 + installation: *685 + organization: *686 repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -150518,11 +150222,11 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 - milestone: *715 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150601,9 +150305,9 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - milestone: &722 + enterprise: *684 + installation: *685 + milestone: &716 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150745,8 +150449,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150825,11 +150529,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - milestone: *715 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150939,11 +150643,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - milestone: *715 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151023,11 +150727,11 @@ webhooks: type: string enum: - opened - enterprise: *690 - installation: *691 - milestone: *722 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *716 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151106,11 +150810,11 @@ webhooks: type: string enum: - blocked - blocked_user: *710 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + blocked_user: *704 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151189,11 +150893,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *710 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + blocked_user: *704 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151272,9 +150976,9 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - membership: &723 + enterprise: *684 + installation: *685 + membership: &717 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -151384,8 +151088,8 @@ webhooks: - role - organization_url - user - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151463,11 +151167,11 @@ webhooks: type: string enum: - member_added - enterprise: *690 - installation: *691 - membership: *723 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + membership: *717 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151546,8 +151250,8 @@ webhooks: type: string enum: - member_invited - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151669,10 +151373,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 - user: *710 + user: *704 required: - action - invitation @@ -151750,11 +151454,11 @@ webhooks: type: string enum: - member_removed - enterprise: *690 - installation: *691 - membership: *723 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + membership: *717 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151841,11 +151545,11 @@ webhooks: properties: from: type: string - enterprise: *690 - installation: *691 - membership: *723 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + membership: *717 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151921,9 +151625,9 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 package: description: Information about the package. type: object @@ -152446,7 +152150,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &724 + items: &718 title: Ruby Gems metadata type: object properties: @@ -152543,7 +152247,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -152619,9 +152323,9 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 package: description: Information about the package. type: object @@ -152983,7 +152687,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *724 + items: *718 source_url: type: string format: uri @@ -153054,7 +152758,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -153235,12 +152939,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *690 + enterprise: *684 id: type: integer - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - id @@ -153317,7 +153021,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &725 + personal_access_token_request: &719 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -153467,10 +153171,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *690 - organization: *692 + enterprise: *684 + organization: *686 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153547,11 +153251,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *725 - enterprise: *690 - organization: *692 + personal_access_token_request: *719 + enterprise: *684 + organization: *686 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153627,11 +153331,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *725 - enterprise: *690 - organization: *692 + personal_access_token_request: *719 + enterprise: *684 + organization: *686 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153706,11 +153410,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *725 - organization: *692 - enterprise: *690 + personal_access_token_request: *719 + organization: *686 + enterprise: *684 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153815,7 +153519,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *726 + last_response: *720 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153847,8 +153551,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 zen: description: Random string of GitHub zen. @@ -154093,10 +153797,10 @@ webhooks: - from required: - note - enterprise: *690 - installation: *691 - organization: *692 - project_card: &727 + enterprise: *684 + installation: *685 + organization: *686 + project_card: &721 title: Project Card type: object properties: @@ -154219,7 +153923,7 @@ webhooks: - creator - created_at - updated_at - repository: *693 + repository: *687 sender: *4 required: - action @@ -154300,11 +154004,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - project_card: *727 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_card: *721 + repository: *687 sender: *4 required: - action @@ -154384,9 +154088,9 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 project_card: title: Project Card type: object @@ -154516,7 +154220,7 @@ webhooks: repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -154610,11 +154314,11 @@ webhooks: - from required: - note - enterprise: *690 - installation: *691 - organization: *692 - project_card: *727 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_card: *721 + repository: *687 sender: *4 required: - action @@ -154708,9 +154412,9 @@ webhooks: - from required: - column_id - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 project_card: allOf: - title: Project Card @@ -154907,7 +154611,7 @@ webhooks: type: string required: - after_id - repository: *693 + repository: *687 sender: *4 required: - action @@ -154987,10 +154691,10 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 - organization: *692 - project: &729 + enterprise: *684 + installation: *685 + organization: *686 + project: &723 title: Project type: object properties: @@ -155117,7 +154821,7 @@ webhooks: - creator - created_at - updated_at - repository: *693 + repository: *687 sender: *4 required: - action @@ -155197,10 +154901,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - project_column: &728 + enterprise: *684 + installation: *685 + organization: *686 + project_column: &722 title: Project Column type: object properties: @@ -155240,7 +154944,7 @@ webhooks: - name - created_at - updated_at - repository: *693 + repository: *687 sender: *4 required: - action @@ -155319,14 +155023,14 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - project_column: *728 + enterprise: *684 + installation: *685 + organization: *686 + project_column: *722 repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -155415,11 +155119,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - project_column: *728 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_column: *722 + repository: *687 sender: *4 required: - action @@ -155499,11 +155203,11 @@ webhooks: type: string enum: - moved - enterprise: *690 - installation: *691 - organization: *692 - project_column: *728 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_column: *722 + repository: *687 sender: *4 required: - action @@ -155583,11 +155287,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - project: *729 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 + repository: *687 sender: *4 required: - action @@ -155667,14 +155371,14 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - project: *729 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -155775,11 +155479,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - project: *729 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 + repository: *687 sender: *4 required: - action @@ -155858,11 +155562,11 @@ webhooks: type: string enum: - reopened - enterprise: *690 - installation: *691 - organization: *692 - project: *729 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 + repository: *687 sender: *4 required: - action @@ -155943,8 +155647,8 @@ webhooks: type: string enum: - closed - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156026,8 +155730,8 @@ webhooks: type: string enum: - created - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156109,8 +155813,8 @@ webhooks: type: string enum: - deleted - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156232,8 +155936,8 @@ webhooks: type: string to: type: string - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156317,7 +156021,7 @@ webhooks: type: string enum: - archived - changes: &733 + changes: &727 type: object properties: archived_at: @@ -156333,9 +156037,9 @@ webhooks: - string - 'null' format: date-time - installation: *691 - organization: *692 - projects_v2_item: &730 + installation: *685 + organization: *686 + projects_v2_item: &724 title: Projects v2 Item description: An item belonging to a project type: object @@ -156475,9 +156179,9 @@ webhooks: - 'null' to: type: string - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156559,9 +156263,9 @@ webhooks: type: string enum: - created - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156642,9 +156346,9 @@ webhooks: type: string enum: - deleted - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156749,7 +156453,7 @@ webhooks: oneOf: - type: string - type: integer - - &731 + - &725 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156773,7 +156477,7 @@ webhooks: required: - id - name - - &732 + - &726 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156813,8 +156517,8 @@ webhooks: oneOf: - type: string - type: integer - - *731 - - *732 + - *725 + - *726 type: - 'null' - string @@ -156837,9 +156541,9 @@ webhooks: - 'null' required: - body - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156936,9 +156640,9 @@ webhooks: type: - string - 'null' - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -157021,10 +156725,10 @@ webhooks: type: string enum: - restored - changes: *733 - installation: *691 - organization: *692 - projects_v2_item: *730 + changes: *727 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -157106,8 +156810,8 @@ webhooks: type: string enum: - reopened - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -157189,9 +156893,9 @@ webhooks: type: string enum: - created - installation: *691 - organization: *692 - projects_v2_status_update: *734 + installation: *685 + organization: *686 + projects_v2_status_update: *728 sender: *4 required: - action @@ -157272,9 +156976,9 @@ webhooks: type: string enum: - deleted - installation: *691 - organization: *692 - projects_v2_status_update: *734 + installation: *685 + organization: *686 + projects_v2_status_update: *728 sender: *4 required: - action @@ -157420,9 +157124,9 @@ webhooks: - string - 'null' format: date - installation: *691 - organization: *692 - projects_v2_status_update: *734 + installation: *685 + organization: *686 + projects_v2_status_update: *728 sender: *4 required: - action @@ -157493,10 +157197,10 @@ webhooks: title: public event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - repository @@ -157573,13 +157277,13 @@ webhooks: type: string enum: - assigned - assignee: *710 - enterprise: *690 - installation: *691 - number: &735 + assignee: *704 + enterprise: *684 + installation: *685 + number: &729 description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -159928,7 +159632,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -160010,11 +159714,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -162356,7 +162060,7 @@ webhooks: - draft reason: type: string - repository: *693 + repository: *687 sender: *4 required: - action @@ -162438,11 +162142,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -164784,7 +164488,7 @@ webhooks: - draft reason: type: string - repository: *693 + repository: *687 sender: *4 required: - action @@ -164866,11 +164570,11 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: &736 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: &730 allOf: - *547 - type: object @@ -164934,7 +164638,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *693 + repository: *687 sender: *4 required: - action @@ -165015,12 +164719,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -165100,11 +164804,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *690 + enterprise: *684 milestone: *244 - number: *735 - organization: *692 - pull_request: &737 + number: *729 + organization: *686 + pull_request: &731 title: Pull Request type: object properties: @@ -167431,7 +167135,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -167510,11 +167214,11 @@ webhooks: type: string enum: - dequeued - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -169860,7 +169564,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *693 + repository: *687 sender: *4 required: - action @@ -169984,12 +169688,12 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -170069,11 +169773,11 @@ webhooks: type: string enum: - enqueued - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -172404,7 +172108,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -172484,11 +172188,11 @@ webhooks: type: string enum: - labeled - enterprise: *690 - installation: *691 - label: *709 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + label: *703 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -174836,7 +174540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -174917,10 +174621,10 @@ webhooks: type: string enum: - locked - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -177266,7 +176970,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -177346,12 +177050,12 @@ webhooks: type: string enum: - milestoned - enterprise: *690 + enterprise: *684 milestone: *244 - number: *735 - organization: *692 - pull_request: *737 - repository: *693 + number: *729 + organization: *686 + pull_request: *731 + repository: *687 sender: *4 required: - action @@ -177430,12 +177134,12 @@ webhooks: type: string enum: - opened - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -177516,12 +177220,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -177601,12 +177305,12 @@ webhooks: type: string enum: - reopened - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -177981,9 +177685,9 @@ webhooks: - start_side - side - reactions - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: type: object properties: @@ -180213,7 +179917,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *693 + repository: *687 sender: *4 required: - action @@ -180293,7 +179997,7 @@ webhooks: type: string enum: - deleted - comment: &739 + comment: &733 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180586,9 +180290,9 @@ webhooks: - start_side - side - reactions - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: type: object properties: @@ -182806,7 +182510,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *693 + repository: *687 sender: *4 required: - action @@ -182886,11 +182590,11 @@ webhooks: type: string enum: - edited - changes: *738 - comment: *739 - enterprise: *690 - installation: *691 - organization: *692 + changes: *732 + comment: *733 + enterprise: *684 + installation: *685 + organization: *686 pull_request: type: object properties: @@ -185111,7 +184815,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *693 + repository: *687 sender: *4 required: - action @@ -185192,9 +184896,9 @@ webhooks: type: string enum: - dismissed - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -187427,7 +187131,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 + repository: *687 review: description: The review that was affected. type: object @@ -187678,9 +187382,9 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -189794,8 +189498,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 - review: &740 + repository: *687 + review: &734 description: The review that was affected. type: object properties: @@ -190033,12 +189737,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -192385,7 +192089,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_reviewer: title: User type: @@ -192471,12 +192175,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -194830,7 +194534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195025,12 +194729,12 @@ webhooks: type: string enum: - review_requested - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -197379,7 +197083,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_reviewer: title: User type: @@ -197466,12 +197170,12 @@ webhooks: type: string enum: - review_requested - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -199811,7 +199515,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199995,9 +199699,9 @@ webhooks: type: string enum: - submitted - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -202233,8 +201937,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 - review: *740 + repository: *687 + review: *734 sender: *4 required: - action @@ -202314,9 +202018,9 @@ webhooks: type: string enum: - resolved - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -204447,7 +204151,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 + repository: *687 sender: *4 thread: type: object @@ -204844,9 +204548,9 @@ webhooks: type: string enum: - unresolved - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -206960,7 +206664,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 + repository: *687 sender: *4 thread: type: object @@ -207359,10 +207063,10 @@ webhooks: type: string before: type: string - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -209697,7 +209401,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -209779,11 +209483,11 @@ webhooks: type: string enum: - unassigned - assignee: *741 - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + assignee: *735 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -212133,7 +211837,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -212212,11 +211916,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *690 - installation: *691 - label: *709 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + label: *703 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -214555,7 +214259,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -214636,10 +214340,10 @@ webhooks: type: string enum: - unlocked - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -216968,7 +216672,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -217171,7 +216875,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *690 + enterprise: *684 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -217266,8 +216970,8 @@ webhooks: - url - author - committer - installation: *691 - organization: *692 + installation: *685 + organization: *686 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217855,9 +217559,9 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 registry_package: type: object properties: @@ -218334,7 +218038,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *724 + items: *718 summary: type: string tag_name: @@ -218390,7 +218094,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -218468,9 +218172,9 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 registry_package: type: object properties: @@ -218782,7 +218486,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *724 + items: *718 summary: type: string tag_name: @@ -218832,7 +218536,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -218909,10 +218613,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - release: &742 + enterprise: *684 + installation: *685 + organization: *686 + release: &736 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219243,7 +218947,7 @@ webhooks: - updated_at - zipball_url - body - repository: *693 + repository: *687 sender: *4 required: - action @@ -219320,11 +219024,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - release: *742 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *736 + repository: *687 sender: *4 required: - action @@ -219441,11 +219145,11 @@ webhooks: type: boolean required: - to - enterprise: *690 - installation: *691 - organization: *692 - release: *742 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *736 + repository: *687 sender: *4 required: - action @@ -219523,9 +219227,9 @@ webhooks: type: string enum: - prereleased - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219861,7 +219565,7 @@ webhooks: - string - 'null' format: uri - repository: *693 + repository: *687 sender: *4 required: - action @@ -219937,10 +219641,10 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 - release: &743 + enterprise: *684 + installation: *685 + organization: *686 + release: &737 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -220273,7 +219977,7 @@ webhooks: - string - 'null' format: uri - repository: *693 + repository: *687 sender: *4 required: - action @@ -220349,11 +220053,11 @@ webhooks: type: string enum: - released - enterprise: *690 - installation: *691 - organization: *692 - release: *742 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *736 + repository: *687 sender: *4 required: - action @@ -220429,11 +220133,11 @@ webhooks: type: string enum: - unpublished - enterprise: *690 - installation: *691 - organization: *692 - release: *743 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *737 + repository: *687 sender: *4 required: - action @@ -220509,10 +220213,10 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_advisory: *611 sender: *4 required: @@ -220589,10 +220293,10 @@ webhooks: type: string enum: - reported - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_advisory: *611 sender: *4 required: @@ -220669,10 +220373,10 @@ webhooks: type: string enum: - archived - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -220749,10 +220453,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -220830,10 +220534,10 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -220918,10 +220622,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221036,10 +220740,10 @@ webhooks: - 'null' items: type: string - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221111,10 +220815,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 status: type: string @@ -221195,10 +220899,10 @@ webhooks: type: string enum: - privatized - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221275,10 +220979,10 @@ webhooks: type: string enum: - publicized - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221372,10 +221076,10 @@ webhooks: - name required: - repository - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221455,10 +221159,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_ruleset: *283 sender: *4 required: @@ -221537,10 +221241,10 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_ruleset: *283 sender: *4 required: @@ -221619,10 +221323,10 @@ webhooks: type: string enum: - edited - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_ruleset: *283 changes: type: object @@ -221930,10 +221634,10 @@ webhooks: - from required: - owner - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222011,10 +221715,10 @@ webhooks: type: string enum: - unarchived - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222092,7 +221796,7 @@ webhooks: type: string enum: - create - alert: &744 + alert: &738 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -222216,10 +221920,10 @@ webhooks: type: string enum: - open - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222429,10 +222133,10 @@ webhooks: type: string enum: - dismissed - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222510,11 +222214,11 @@ webhooks: type: string enum: - reopen - alert: *744 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *738 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222716,10 +222420,10 @@ webhooks: enum: - fixed - open - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222797,7 +222501,7 @@ webhooks: type: string enum: - created - alert: &745 + alert: &739 type: object properties: number: *154 @@ -222911,10 +222615,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222995,11 +222699,11 @@ webhooks: type: string enum: - created - alert: *745 - installation: *691 - location: *746 - organization: *692 - repository: *693 + alert: *739 + installation: *685 + location: *740 + organization: *686 + repository: *687 sender: *4 required: - location @@ -223237,11 +222941,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223319,11 +223023,11 @@ webhooks: type: string enum: - reopened - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223401,11 +223105,11 @@ webhooks: type: string enum: - resolved - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223483,11 +223187,11 @@ webhooks: type: string enum: - validated - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223617,10 +223321,10 @@ webhooks: - organization - enterprise - - repository: *693 - enterprise: *690 - installation: *691 - organization: *692 + repository: *687 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -223698,11 +223402,11 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - security_advisory: &747 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + security_advisory: &741 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223888,11 +223592,11 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - security_advisory: *747 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + security_advisory: *741 sender: *4 required: - action @@ -223965,10 +223669,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224155,9 +223859,9 @@ webhooks: type: object properties: security_and_analysis: *257 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: *317 sender: *4 required: @@ -224236,12 +223940,12 @@ webhooks: type: string enum: - cancelled - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: &748 + sponsorship: &742 type: object properties: created_at: @@ -224546,12 +224250,12 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - sponsorship @@ -224639,12 +224343,12 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - changes @@ -224721,17 +224425,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &749 + effective_date: &743 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: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - sponsorship @@ -224805,7 +224509,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &750 + changes: &744 type: object properties: tier: @@ -224849,13 +224553,13 @@ webhooks: - from required: - tier - effective_date: *749 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + effective_date: *743 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - changes @@ -224932,13 +224636,13 @@ webhooks: type: string enum: - tier_changed - changes: *750 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + changes: *744 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - changes @@ -225012,10 +224716,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225099,10 +224803,10 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225536,15 +225240,15 @@ webhooks: type: - string - 'null' - enterprise: *690 + enterprise: *684 id: description: The unique identifier of the status. type: integer - installation: *691 + installation: *685 name: type: string - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 sha: description: The Commit SHA. @@ -225660,9 +225364,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -225752,9 +225456,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -225844,9 +225548,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -225936,9 +225640,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -226015,12 +225719,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - team: &751 + team: &745 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226250,9 +225954,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -226722,7 +226426,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -226798,9 +226502,9 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -227270,7 +226974,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -227347,9 +227051,9 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -227819,7 +227523,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -227963,9 +227667,9 @@ webhooks: - from required: - permissions - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -228435,7 +228139,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - changes @@ -228513,9 +228217,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -228985,7 +228689,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -229061,10 +228765,10 @@ webhooks: type: string enum: - started - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -229137,17 +228841,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *690 + enterprise: *684 inputs: type: - object - 'null' additionalProperties: true - installation: *691 - organization: *692 + installation: *685 + organization: *686 ref: type: string - repository: *693 + repository: *687 sender: *4 workflow: type: string @@ -229229,10 +228933,10 @@ webhooks: type: string enum: - completed - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: allOf: @@ -229567,10 +229271,10 @@ webhooks: type: string enum: - in_progress - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: allOf: @@ -229931,10 +229635,10 @@ webhooks: type: string enum: - queued - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: type: object @@ -230159,10 +229863,10 @@ webhooks: type: string enum: - waiting - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: type: object @@ -230389,12 +230093,12 @@ webhooks: type: string enum: - completed - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Workflow Run type: object @@ -231413,12 +231117,12 @@ webhooks: type: string enum: - in_progress - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Workflow Run type: object @@ -232422,12 +232126,12 @@ webhooks: type: string enum: - requested - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 6a9d52649..b8794fd6f 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -61813,7 +61813,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": [ { @@ -62072,7 +62072,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -62086,7 +62086,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": [ { @@ -62399,7 +62399,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -62411,7 +62411,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": [ { @@ -62747,13 +62747,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" } } } @@ -62862,7 +62862,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" } } } @@ -62874,7 +62874,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -62886,7 +62886,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": [ { @@ -63113,7 +63113,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -63127,7 +63127,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": [ { @@ -63510,7 +63510,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -63524,7 +63524,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": [ { @@ -63808,7 +63808,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -63822,7 +63822,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": [ { @@ -64173,7 +64173,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -198254,290 +198254,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", @@ -728118,219 +727834,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", @@ -728341,7 +727844,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": [ { @@ -728711,78 +728214,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" } } }, @@ -728796,7 +728228,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": [ { @@ -729074,7 +728506,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, @@ -729088,7 +728520,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": [ { @@ -729465,7 +728897,7 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "usage" } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index d2a50e96d..0fb62e763 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -16786,7 +16786,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: - *61 responses: @@ -16916,7 +16916,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 @@ -16930,7 +16930,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: - *61 - &98 @@ -17038,7 +17038,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget for an organization description: |- @@ -17051,7 +17051,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: - *61 - *98 @@ -17193,11 +17193,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 @@ -17208,12 +17208,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: |- @@ -17226,7 +17226,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: - *61 - *98 @@ -17261,7 +17261,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 @@ -17274,7 +17274,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: - *61 - &99 @@ -17310,7 +17310,7 @@ paths: required: false schema: type: string - - &681 + - &677 name: model description: The model name to query usage for. The name is not case sensitive. in: query @@ -17439,7 +17439,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 @@ -17452,11 +17452,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: - *61 - *99 - - &684 + - &678 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -17546,7 +17546,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 @@ -17562,13 +17562,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: - *61 - *99 - *101 - *100 - - &685 + - &679 name: repository description: The repository name to query for usage in the format owner/repository. in: query @@ -17576,7 +17576,7 @@ paths: schema: type: string - *102 - - &686 + - &680 name: sku description: The SKU to query for usage. in: query @@ -17692,7 +17692,7 @@ paths: githubCloudOnly: false enabledForGitHubApps: true category: billing - subcategory: enhanced-billing + subcategory: usage "/orgs/{org}": get: summary: Get an organization @@ -36915,7 +36915,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &734 + - &728 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -44699,212 +44699,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: - - *61 - responses: - '200': - description: Response - content: - application/json: - schema: &677 - 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: &678 - 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: - - *61 - responses: - '200': - description: Response - content: - application/json: - schema: &679 - 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: &680 - 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: - - *61 - responses: - '200': - description: Response - content: - application/json: - schema: &682 - 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: &683 - 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 @@ -60419,7 +60213,7 @@ paths: check. type: array items: *390 - deployment: &695 + deployment: &689 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -76150,7 +75944,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &726 + last_response: &720 title: Hook Response type: object properties: @@ -92024,7 +91818,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &746 + items: &740 type: object properties: type: @@ -105601,7 +105395,7 @@ paths: - title - created_at examples: - default: &687 + default: &681 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -105764,7 +105558,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &688 + - &682 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 @@ -105793,7 +105587,7 @@ paths: application/vnd.github.v3.star+json: schema: type: array - items: &689 + items: &683 title: Starred Repository description: Starred Repository type: object @@ -108284,66 +108078,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: - - *57 - responses: - '200': - description: Response - content: - application/json: - schema: *677 - examples: - default: *678 - 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: - - *57 - responses: - '200': - description: Response - content: - application/json: - schema: *679 - examples: - default: *680 - 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 @@ -108356,13 +108090,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: - *57 - *99 - *101 - *100 - - *681 + - *677 - *102 responses: '200': @@ -108476,37 +108210,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: - - *57 - responses: - '200': - description: Response - content: - application/json: - schema: *682 - examples: - default: *683 - 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 @@ -108519,11 +108223,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: - *57 - *99 - - *684 + - *678 - *100 responses: '200': @@ -108600,7 +108304,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 @@ -108616,15 +108320,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: - *57 - *99 - *101 - *100 - - *685 + - *679 - *102 - - *686 + - *680 responses: '200': description: Response when getting a billing usage summary @@ -108735,7 +108439,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 @@ -108792,7 +108496,7 @@ paths: type: array items: *662 examples: - default: *687 + default: *681 headers: Link: *52 x-github: @@ -108817,7 +108521,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *57 - - *688 + - *682 - *46 - *17 - *19 @@ -108829,7 +108533,7 @@ paths: schema: anyOf: - type: array - items: *689 + items: *683 - type: array items: *64 examples: @@ -108993,7 +108697,7 @@ webhooks: type: string enum: - disabled - enterprise: &690 + enterprise: &684 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -109062,7 +108766,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &691 + installation: &685 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -109083,7 +108787,7 @@ webhooks: required: - id - node_id - organization: &692 + organization: &686 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -109156,7 +108860,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &693 + repository: &687 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -110069,10 +109773,10 @@ webhooks: type: string enum: - enabled - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -110148,11 +109852,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - rule: &694 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + rule: &688 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) @@ -110375,11 +110079,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - rule: *694 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + rule: *688 sender: *4 required: - action @@ -110567,11 +110271,11 @@ webhooks: - everyone required: - from - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - rule: *694 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + rule: *688 sender: *4 required: - action @@ -110655,7 +110359,7 @@ webhooks: type: string enum: - completed - check_run: &696 + check_run: &690 title: CheckRun description: A check performed on the code of a given code change type: object @@ -110765,7 +110469,7 @@ webhooks: - examples: - neutral - deployment: *695 + deployment: *689 details_url: type: string examples: @@ -110863,10 +110567,10 @@ webhooks: - output - app - pull_requests - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 sender: *4 required: - check_run @@ -111259,11 +110963,11 @@ webhooks: type: string enum: - created - check_run: *696 - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + check_run: *690 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 sender: *4 required: - check_run @@ -111659,11 +111363,11 @@ webhooks: type: string enum: - requested_action - check_run: *696 - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + check_run: *690 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 requested_action: description: The action requested by the user. type: object @@ -112068,11 +111772,11 @@ webhooks: type: string enum: - rerequested - check_run: *696 - installation: *691 - enterprise: *690 - organization: *692 - repository: *693 + check_run: *690 + installation: *685 + enterprise: *684 + organization: *686 + repository: *687 sender: *4 required: - check_run @@ -113064,10 +112768,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -113767,10 +113471,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -114464,10 +114168,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -114788,20 +114492,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &697 + commit_oid: &691 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: *690 - installation: *691 - organization: *692 - ref: &698 + enterprise: *684 + installation: *685 + organization: *686 + ref: &692 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: *693 + repository: *687 sender: *4 required: - action @@ -115209,12 +114913,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -115497,12 +115201,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -115848,12 +115552,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -116136,9 +115840,9 @@ webhooks: type: - string - 'null' - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -116146,7 +115850,7 @@ webhooks: type: - string - 'null' - repository: *693 + repository: *687 sender: *4 required: - action @@ -116392,12 +116096,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *697 - enterprise: *690 - installation: *691 - organization: *692 - ref: *698 - repository: *693 + commit_oid: *691 + enterprise: *684 + installation: *685 + organization: *686 + ref: *692 + repository: *687 sender: *4 required: - action @@ -116659,10 +116363,10 @@ webhooks: - updated_at - author_association - body - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -116743,18 +116447,18 @@ webhooks: type: - string - 'null' - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *692 - pusher_type: &699 + organization: *686 + pusher_type: &693 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &700 + ref: &694 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -116764,7 +116468,7 @@ webhooks: enum: - tag - branch - repository: *693 + repository: *687 sender: *4 required: - ref @@ -116847,9 +116551,9 @@ webhooks: enum: - created definition: *253 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -116934,9 +116638,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -117014,9 +116718,9 @@ webhooks: enum: - promote_to_enterprise definition: *253 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -117094,9 +116798,9 @@ webhooks: enum: - updated definition: *253 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -117173,10 +116877,10 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - repository: *693 - organization: *692 + enterprise: *684 + installation: *685 + repository: *687 + organization: *686 sender: *4 new_property_values: type: array @@ -117261,18 +116965,18 @@ webhooks: title: delete event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - pusher_type: *699 - ref: *700 + enterprise: *684 + installation: *685 + organization: *686 + pusher_type: *693 + ref: *694 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *693 + repository: *687 sender: *4 required: - ref @@ -117357,10 +117061,10 @@ webhooks: enum: - auto_dismissed alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117445,10 +117149,10 @@ webhooks: enum: - auto_reopened alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117533,10 +117237,10 @@ webhooks: enum: - created alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117619,10 +117323,10 @@ webhooks: enum: - dismissed alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117705,10 +117409,10 @@ webhooks: enum: - fixed alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117792,10 +117496,10 @@ webhooks: enum: - reintroduced alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117878,10 +117582,10 @@ webhooks: enum: - reopened alert: *457 - installation: *691 - organization: *692 - enterprise: *690 - repository: *693 + installation: *685 + organization: *686 + enterprise: *684 + repository: *687 sender: *4 required: - action @@ -117958,9 +117662,9 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - key: &701 + enterprise: *684 + installation: *685 + key: &695 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -117998,8 +117702,8 @@ webhooks: - verified - created_at - read_only - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -118076,11 +117780,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - key: *701 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + key: *695 + organization: *686 + repository: *687 sender: *4 required: - action @@ -118652,12 +118356,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: &705 + workflow: &699 title: Workflow type: - object @@ -119399,9 +119103,9 @@ webhooks: pull_requests: type: array items: *547 - repository: *693 - organization: *692 - installation: *691 + repository: *687 + organization: *686 + installation: *685 sender: *4 responses: '200': @@ -119472,7 +119176,7 @@ webhooks: type: string enum: - approved - approver: &702 + approver: &696 type: object properties: avatar_url: @@ -119515,11 +119219,11 @@ webhooks: type: string comment: type: string - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - reviewers: &703 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + reviewers: &697 type: array items: type: object @@ -119600,7 +119304,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &704 + workflow_job_run: &698 type: object properties: conclusion: @@ -120346,18 +120050,18 @@ webhooks: type: string enum: - rejected - approver: *702 + approver: *696 comment: type: string - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - reviewers: *703 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + reviewers: *697 sender: *4 since: type: string - workflow_job_run: *704 + workflow_job_run: *698 workflow_job_runs: type: array items: @@ -121074,13 +120778,13 @@ webhooks: type: string enum: - requested - enterprise: *690 + enterprise: *684 environment: type: string - installation: *691 - organization: *692 - repository: *693 - requestor: &710 + installation: *685 + organization: *686 + repository: *687 + requestor: &704 title: User type: - object @@ -123023,12 +122727,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Deployment Workflow Run type: @@ -123719,7 +123423,7 @@ webhooks: type: string enum: - answered - answer: &708 + answer: &702 type: object properties: author_association: @@ -123879,7 +123583,7 @@ webhooks: - created_at - updated_at - body - discussion: &706 + discussion: &700 title: Discussion description: A Discussion in a repository. type: object @@ -124197,10 +123901,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124327,11 +124031,11 @@ webhooks: - from required: - category - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124414,11 +124118,11 @@ webhooks: type: string enum: - closed - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124500,7 +124204,7 @@ webhooks: type: string enum: - created - comment: &707 + comment: &701 type: object properties: author_association: @@ -124660,11 +124364,11 @@ webhooks: - updated_at - body - reactions - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124747,12 +124451,12 @@ webhooks: type: string enum: - deleted - comment: *707 - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + comment: *701 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124847,12 +124551,12 @@ webhooks: - from required: - body - comment: *707 - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + comment: *701 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -124936,11 +124640,11 @@ webhooks: type: string enum: - created - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125022,11 +124726,11 @@ webhooks: type: string enum: - deleted - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125126,11 +124830,11 @@ webhooks: type: string required: - from - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125212,10 +124916,10 @@ webhooks: type: string enum: - labeled - discussion: *706 - enterprise: *690 - installation: *691 - label: &709 + discussion: *700 + enterprise: *684 + installation: *685 + label: &703 title: Label type: object properties: @@ -125248,8 +124952,8 @@ webhooks: - color - default - description - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125332,11 +125036,11 @@ webhooks: type: string enum: - locked - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125418,11 +125122,11 @@ webhooks: type: string enum: - pinned - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125504,11 +125208,11 @@ webhooks: type: string enum: - reopened - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125593,16 +125297,16 @@ webhooks: changes: type: object properties: - new_discussion: *706 - new_repository: *693 + new_discussion: *700 + new_repository: *687 required: - new_discussion - new_repository - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125685,10 +125389,10 @@ webhooks: type: string enum: - unanswered - discussion: *706 - old_answer: *708 - organization: *692 - repository: *693 + discussion: *700 + old_answer: *702 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125770,12 +125474,12 @@ webhooks: type: string enum: - unlabeled - discussion: *706 - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125858,11 +125562,11 @@ webhooks: type: string enum: - unlocked - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -125944,11 +125648,11 @@ webhooks: type: string enum: - unpinned - discussion: *706 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + discussion: *700 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -126021,7 +125725,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *690 + enterprise: *684 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -126699,9 +126403,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - forkee @@ -126847,9 +126551,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pages: description: The pages that were updated. type: array @@ -126887,7 +126591,7 @@ webhooks: - action - sha - html_url - repository: *693 + repository: *687 sender: *4 required: - pages @@ -126963,10 +126667,10 @@ webhooks: type: string enum: - created - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: &711 + organization: *686 + repositories: &705 description: An array of repository objects that the installation can access. type: array @@ -126992,8 +126696,8 @@ webhooks: - name - full_name - private - repository: *693 - requester: *710 + repository: *687 + requester: *704 sender: *4 required: - action @@ -127068,11 +126772,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127149,11 +126853,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127230,10 +126934,10 @@ webhooks: type: string enum: - added - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories_added: &712 + organization: *686 + repositories_added: &706 description: An array of repository objects, which were added to the installation. type: array @@ -127279,15 +126983,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *693 - repository_selection: &713 + repository: *687 + repository_selection: &707 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *710 + requester: *704 sender: *4 required: - action @@ -127366,10 +127070,10 @@ webhooks: type: string enum: - removed - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories_added: *712 + organization: *686 + repositories_added: *706 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -127396,9 +127100,9 @@ webhooks: - name - full_name - private - repository: *693 - repository_selection: *713 - requester: *710 + repository: *687 + repository_selection: *707 + requester: *704 sender: *4 required: - action @@ -127477,11 +127181,11 @@ webhooks: type: string enum: - suspend - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127663,10 +127367,10 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 target_type: type: string @@ -127745,11 +127449,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *690 + enterprise: *684 installation: *20 - organization: *692 - repositories: *711 - repository: *693 + organization: *686 + repositories: *705 + repository: *687 requester: type: - 'null' @@ -127997,8 +127701,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129177,8 +128881,8 @@ webhooks: - state - locked - assignee - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -129258,7 +128962,7 @@ webhooks: type: string enum: - deleted - comment: &714 + comment: &708 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -129425,8 +129129,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -130603,8 +130307,8 @@ webhooks: - state - locked - assignee - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -130684,7 +130388,7 @@ webhooks: type: string enum: - edited - changes: &738 + changes: &732 description: The changes to the comment. type: object properties: @@ -130696,9 +130400,9 @@ webhooks: type: string required: - from - comment: *714 - enterprise: *690 - installation: *691 + comment: *708 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -131876,8 +131580,8 @@ webhooks: - state - locked - assignee - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -131967,9 +131671,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132063,9 +131767,9 @@ webhooks: type: number blocking_issue: *78 blocking_issue_repo: *64 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132158,9 +131862,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132254,9 +131958,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -132341,10 +132045,10 @@ webhooks: type: string enum: - assigned - assignee: *710 - enterprise: *690 - installation: *691 - issue: &717 + assignee: *704 + enterprise: *684 + installation: *685 + issue: &711 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133280,8 +132984,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -133361,8 +133065,8 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -134446,8 +134150,8 @@ webhooks: required: - state - closed_at - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -134526,8 +134230,8 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135458,8 +135162,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -135538,8 +135242,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136472,7 +136176,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &715 + milestone: &709 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136615,8 +136319,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -136715,8 +136419,8 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137652,9 +137356,9 @@ webhooks: - active_lock_reason - body - reactions - label: *709 - organization: *692 - repository: *693 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -137734,8 +137438,8 @@ webhooks: type: string enum: - labeled - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138670,9 +138374,9 @@ webhooks: - active_lock_reason - body - reactions - label: *709 - organization: *692 - repository: *693 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -138752,8 +138456,8 @@ webhooks: type: string enum: - locked - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -139690,8 +139394,8 @@ webhooks: format: uri user_view_type: type: string - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -139770,8 +139474,8 @@ webhooks: type: string enum: - milestoned - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -140702,9 +140406,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *715 - organization: *692 - repository: *693 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -142177,8 +141881,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143113,8 +142817,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -143194,9 +142898,9 @@ webhooks: type: string enum: - pinned - enterprise: *690 - installation: *691 - issue: &716 + enterprise: *684 + installation: *685 + issue: &710 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -144125,8 +143829,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -144205,8 +143909,8 @@ webhooks: type: string enum: - reopened - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145142,8 +144846,8 @@ webhooks: user_view_type: type: string type: *208 - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146635,11 +146339,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *690 - installation: *691 - issue: *716 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *710 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146719,12 +146423,12 @@ webhooks: type: string enum: - typed - enterprise: *690 - installation: *691 - issue: *717 + enterprise: *684 + installation: *685 + issue: *711 type: *208 - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146805,7 +146509,7 @@ webhooks: type: string enum: - unassigned - assignee: &741 + assignee: &735 title: User type: - object @@ -146877,11 +146581,11 @@ webhooks: required: - login - id - enterprise: *690 - installation: *691 - issue: *717 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *711 + organization: *686 + repository: *687 sender: *4 required: - action @@ -146960,12 +146664,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *690 - installation: *691 - issue: *717 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *711 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -147045,8 +146749,8 @@ webhooks: type: string enum: - unlocked - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -147981,8 +147685,8 @@ webhooks: format: uri user_view_type: type: string - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148062,11 +147766,11 @@ webhooks: type: string enum: - unpinned - enterprise: *690 - installation: *691 - issue: *716 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + issue: *710 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148145,12 +147849,12 @@ webhooks: type: string enum: - untyped - enterprise: *690 - installation: *691 - issue: *717 + enterprise: *684 + installation: *685 + issue: *711 type: *208 - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148230,11 +147934,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148312,11 +148016,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148426,11 +148130,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - label: *709 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + label: *703 + organization: *686 + repository: *687 sender: *4 required: - action @@ -148512,9 +148216,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: &718 + enterprise: *684 + installation: *685 + marketplace_purchase: &712 title: Marketplace Purchase type: object required: @@ -148602,8 +148306,8 @@ webhooks: type: integer unit_count: type: integer - organization: *692 - previous_marketplace_purchase: &719 + organization: *686 + previous_marketplace_purchase: &713 title: Marketplace Purchase type: object properties: @@ -148687,7 +148391,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *693 + repository: *687 sender: *4 required: - action @@ -148767,10 +148471,10 @@ webhooks: - changed effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: *718 - organization: *692 + enterprise: *684 + installation: *685 + marketplace_purchase: *712 + organization: *686 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -148858,7 +148562,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *693 + repository: *687 sender: *4 required: - action @@ -148940,10 +148644,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: *718 - organization: *692 + enterprise: *684 + installation: *685 + marketplace_purchase: *712 + organization: *686 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -149029,7 +148733,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *693 + repository: *687 sender: *4 required: - action @@ -149110,8 +148814,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 marketplace_purchase: title: Marketplace Purchase type: object @@ -149197,9 +148901,9 @@ webhooks: type: integer unit_count: type: integer - organization: *692 - previous_marketplace_purchase: *719 - repository: *693 + organization: *686 + previous_marketplace_purchase: *713 + repository: *687 sender: *4 required: - action @@ -149279,12 +148983,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *690 - installation: *691 - marketplace_purchase: *718 - organization: *692 - previous_marketplace_purchase: *719 - repository: *693 + enterprise: *684 + installation: *685 + marketplace_purchase: *712 + organization: *686 + previous_marketplace_purchase: *713 + repository: *687 sender: *4 required: - action @@ -149386,11 +149090,11 @@ webhooks: type: string required: - to - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 sender: *4 required: - action @@ -149492,11 +149196,11 @@ webhooks: type: - string - 'null' - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 sender: *4 required: - action @@ -149575,11 +149279,11 @@ webhooks: type: string enum: - removed - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 sender: *4 required: - action @@ -149657,11 +149361,11 @@ webhooks: type: string enum: - added - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 scope: description: The scope of the membership. Currently, can only be `team`. @@ -149739,7 +149443,7 @@ webhooks: required: - login - id - team: &720 + team: &714 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -149969,11 +149673,11 @@ webhooks: type: string enum: - removed - enterprise: *690 - installation: *691 - member: *710 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + member: *704 + organization: *686 + repository: *687 scope: description: The scope of the membership. Currently, can only be `team`. @@ -150052,7 +149756,7 @@ webhooks: required: - login - id - team: *720 + team: *714 required: - action - scope @@ -150134,8 +149838,8 @@ webhooks: type: string enum: - checks_requested - installation: *691 - merge_group: &721 + installation: *685 + merge_group: &715 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -150161,8 +149865,8 @@ webhooks: - base_sha - base_ref - head_commit - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150248,10 +149952,10 @@ webhooks: - merged - invalidated - dequeued - installation: *691 - merge_group: *721 - organization: *692 - repository: *693 + installation: *685 + merge_group: *715 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150324,7 +150028,7 @@ webhooks: type: string enum: - deleted - enterprise: *690 + enterprise: *684 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -150433,12 +150137,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *691 - organization: *692 + installation: *685 + organization: *686 repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -150518,11 +150222,11 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 - milestone: *715 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150601,9 +150305,9 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - milestone: &722 + enterprise: *684 + installation: *685 + milestone: &716 title: Milestone description: A collection of related issues and pull requests. type: object @@ -150745,8 +150449,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150825,11 +150529,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - milestone: *715 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -150939,11 +150643,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - milestone: *715 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *709 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151023,11 +150727,11 @@ webhooks: type: string enum: - opened - enterprise: *690 - installation: *691 - milestone: *722 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + milestone: *716 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151106,11 +150810,11 @@ webhooks: type: string enum: - blocked - blocked_user: *710 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + blocked_user: *704 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151189,11 +150893,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *710 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + blocked_user: *704 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151272,9 +150976,9 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - membership: &723 + enterprise: *684 + installation: *685 + membership: &717 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -151384,8 +151088,8 @@ webhooks: - role - organization_url - user - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151463,11 +151167,11 @@ webhooks: type: string enum: - member_added - enterprise: *690 - installation: *691 - membership: *723 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + membership: *717 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151546,8 +151250,8 @@ webhooks: type: string enum: - member_invited - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -151669,10 +151373,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 - user: *710 + user: *704 required: - action - invitation @@ -151750,11 +151454,11 @@ webhooks: type: string enum: - member_removed - enterprise: *690 - installation: *691 - membership: *723 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + membership: *717 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151841,11 +151545,11 @@ webhooks: properties: from: type: string - enterprise: *690 - installation: *691 - membership: *723 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + membership: *717 + organization: *686 + repository: *687 sender: *4 required: - action @@ -151921,9 +151625,9 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 package: description: Information about the package. type: object @@ -152446,7 +152150,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &724 + items: &718 title: Ruby Gems metadata type: object properties: @@ -152543,7 +152247,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -152619,9 +152323,9 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 package: description: Information about the package. type: object @@ -152983,7 +152687,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *724 + items: *718 source_url: type: string format: uri @@ -153054,7 +152758,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -153235,12 +152939,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *690 + enterprise: *684 id: type: integer - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - id @@ -153317,7 +153021,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &725 + personal_access_token_request: &719 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -153467,10 +153171,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *690 - organization: *692 + enterprise: *684 + organization: *686 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153547,11 +153251,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *725 - enterprise: *690 - organization: *692 + personal_access_token_request: *719 + enterprise: *684 + organization: *686 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153627,11 +153331,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *725 - enterprise: *690 - organization: *692 + personal_access_token_request: *719 + enterprise: *684 + organization: *686 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153706,11 +153410,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *725 - organization: *692 - enterprise: *690 + personal_access_token_request: *719 + organization: *686 + enterprise: *684 sender: *4 - installation: *691 + installation: *685 required: - action - personal_access_token_request @@ -153815,7 +153519,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *726 + last_response: *720 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -153847,8 +153551,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 zen: description: Random string of GitHub zen. @@ -154093,10 +153797,10 @@ webhooks: - from required: - note - enterprise: *690 - installation: *691 - organization: *692 - project_card: &727 + enterprise: *684 + installation: *685 + organization: *686 + project_card: &721 title: Project Card type: object properties: @@ -154219,7 +153923,7 @@ webhooks: - creator - created_at - updated_at - repository: *693 + repository: *687 sender: *4 required: - action @@ -154300,11 +154004,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - project_card: *727 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_card: *721 + repository: *687 sender: *4 required: - action @@ -154384,9 +154088,9 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 project_card: title: Project Card type: object @@ -154516,7 +154220,7 @@ webhooks: repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -154610,11 +154314,11 @@ webhooks: - from required: - note - enterprise: *690 - installation: *691 - organization: *692 - project_card: *727 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_card: *721 + repository: *687 sender: *4 required: - action @@ -154708,9 +154412,9 @@ webhooks: - from required: - column_id - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 project_card: allOf: - title: Project Card @@ -154907,7 +154611,7 @@ webhooks: type: string required: - after_id - repository: *693 + repository: *687 sender: *4 required: - action @@ -154987,10 +154691,10 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 - organization: *692 - project: &729 + enterprise: *684 + installation: *685 + organization: *686 + project: &723 title: Project type: object properties: @@ -155117,7 +154821,7 @@ webhooks: - creator - created_at - updated_at - repository: *693 + repository: *687 sender: *4 required: - action @@ -155197,10 +154901,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - project_column: &728 + enterprise: *684 + installation: *685 + organization: *686 + project_column: &722 title: Project Column type: object properties: @@ -155240,7 +154944,7 @@ webhooks: - name - created_at - updated_at - repository: *693 + repository: *687 sender: *4 required: - action @@ -155319,14 +155023,14 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - project_column: *728 + enterprise: *684 + installation: *685 + organization: *686 + project_column: *722 repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -155415,11 +155119,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - project_column: *728 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_column: *722 + repository: *687 sender: *4 required: - action @@ -155499,11 +155203,11 @@ webhooks: type: string enum: - moved - enterprise: *690 - installation: *691 - organization: *692 - project_column: *728 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project_column: *722 + repository: *687 sender: *4 required: - action @@ -155583,11 +155287,11 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - project: *729 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 + repository: *687 sender: *4 required: - action @@ -155667,14 +155371,14 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - project: *729 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 repository: anyOf: - type: 'null' - - *693 + - *687 sender: *4 required: - action @@ -155775,11 +155479,11 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - project: *729 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 + repository: *687 sender: *4 required: - action @@ -155858,11 +155562,11 @@ webhooks: type: string enum: - reopened - enterprise: *690 - installation: *691 - organization: *692 - project: *729 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + project: *723 + repository: *687 sender: *4 required: - action @@ -155943,8 +155647,8 @@ webhooks: type: string enum: - closed - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156026,8 +155730,8 @@ webhooks: type: string enum: - created - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156109,8 +155813,8 @@ webhooks: type: string enum: - deleted - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156232,8 +155936,8 @@ webhooks: type: string to: type: string - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -156317,7 +156021,7 @@ webhooks: type: string enum: - archived - changes: &733 + changes: &727 type: object properties: archived_at: @@ -156333,9 +156037,9 @@ webhooks: - string - 'null' format: date-time - installation: *691 - organization: *692 - projects_v2_item: &730 + installation: *685 + organization: *686 + projects_v2_item: &724 title: Projects v2 Item description: An item belonging to a project type: object @@ -156475,9 +156179,9 @@ webhooks: - 'null' to: type: string - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156559,9 +156263,9 @@ webhooks: type: string enum: - created - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156642,9 +156346,9 @@ webhooks: type: string enum: - deleted - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156749,7 +156453,7 @@ webhooks: oneOf: - type: string - type: integer - - &731 + - &725 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -156773,7 +156477,7 @@ webhooks: required: - id - name - - &732 + - &726 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -156813,8 +156517,8 @@ webhooks: oneOf: - type: string - type: integer - - *731 - - *732 + - *725 + - *726 type: - 'null' - string @@ -156837,9 +156541,9 @@ webhooks: - 'null' required: - body - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -156936,9 +156640,9 @@ webhooks: type: - string - 'null' - installation: *691 - organization: *692 - projects_v2_item: *730 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -157021,10 +156725,10 @@ webhooks: type: string enum: - restored - changes: *733 - installation: *691 - organization: *692 - projects_v2_item: *730 + changes: *727 + installation: *685 + organization: *686 + projects_v2_item: *724 sender: *4 required: - action @@ -157106,8 +156810,8 @@ webhooks: type: string enum: - reopened - installation: *691 - organization: *692 + installation: *685 + organization: *686 projects_v2: *241 sender: *4 required: @@ -157189,9 +156893,9 @@ webhooks: type: string enum: - created - installation: *691 - organization: *692 - projects_v2_status_update: *734 + installation: *685 + organization: *686 + projects_v2_status_update: *728 sender: *4 required: - action @@ -157272,9 +156976,9 @@ webhooks: type: string enum: - deleted - installation: *691 - organization: *692 - projects_v2_status_update: *734 + installation: *685 + organization: *686 + projects_v2_status_update: *728 sender: *4 required: - action @@ -157420,9 +157124,9 @@ webhooks: - string - 'null' format: date - installation: *691 - organization: *692 - projects_v2_status_update: *734 + installation: *685 + organization: *686 + projects_v2_status_update: *728 sender: *4 required: - action @@ -157493,10 +157197,10 @@ webhooks: title: public event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - repository @@ -157573,13 +157277,13 @@ webhooks: type: string enum: - assigned - assignee: *710 - enterprise: *690 - installation: *691 - number: &735 + assignee: *704 + enterprise: *684 + installation: *685 + number: &729 description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -159928,7 +159632,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -160010,11 +159714,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -162356,7 +162060,7 @@ webhooks: - draft reason: type: string - repository: *693 + repository: *687 sender: *4 required: - action @@ -162438,11 +162142,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -164784,7 +164488,7 @@ webhooks: - draft reason: type: string - repository: *693 + repository: *687 sender: *4 required: - action @@ -164866,11 +164570,11 @@ webhooks: type: string enum: - closed - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: &736 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: &730 allOf: - *547 - type: object @@ -164934,7 +164638,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *693 + repository: *687 sender: *4 required: - action @@ -165015,12 +164719,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -165100,11 +164804,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *690 + enterprise: *684 milestone: *244 - number: *735 - organization: *692 - pull_request: &737 + number: *729 + organization: *686 + pull_request: &731 title: Pull Request type: object properties: @@ -167431,7 +167135,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -167510,11 +167214,11 @@ webhooks: type: string enum: - dequeued - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -169860,7 +169564,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *693 + repository: *687 sender: *4 required: - action @@ -169984,12 +169688,12 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -170069,11 +169773,11 @@ webhooks: type: string enum: - enqueued - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -172404,7 +172108,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -172484,11 +172188,11 @@ webhooks: type: string enum: - labeled - enterprise: *690 - installation: *691 - label: *709 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + label: *703 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -174836,7 +174540,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -174917,10 +174621,10 @@ webhooks: type: string enum: - locked - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -177266,7 +176970,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -177346,12 +177050,12 @@ webhooks: type: string enum: - milestoned - enterprise: *690 + enterprise: *684 milestone: *244 - number: *735 - organization: *692 - pull_request: *737 - repository: *693 + number: *729 + organization: *686 + pull_request: *731 + repository: *687 sender: *4 required: - action @@ -177430,12 +177134,12 @@ webhooks: type: string enum: - opened - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -177516,12 +177220,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -177601,12 +177305,12 @@ webhooks: type: string enum: - reopened - enterprise: *690 - installation: *691 - number: *735 - organization: *692 - pull_request: *736 - repository: *693 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 + pull_request: *730 + repository: *687 sender: *4 required: - action @@ -177981,9 +177685,9 @@ webhooks: - start_side - side - reactions - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: type: object properties: @@ -180213,7 +179917,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *693 + repository: *687 sender: *4 required: - action @@ -180293,7 +179997,7 @@ webhooks: type: string enum: - deleted - comment: &739 + comment: &733 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -180586,9 +180290,9 @@ webhooks: - start_side - side - reactions - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: type: object properties: @@ -182806,7 +182510,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *693 + repository: *687 sender: *4 required: - action @@ -182886,11 +182590,11 @@ webhooks: type: string enum: - edited - changes: *738 - comment: *739 - enterprise: *690 - installation: *691 - organization: *692 + changes: *732 + comment: *733 + enterprise: *684 + installation: *685 + organization: *686 pull_request: type: object properties: @@ -185111,7 +184815,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *693 + repository: *687 sender: *4 required: - action @@ -185192,9 +184896,9 @@ webhooks: type: string enum: - dismissed - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -187427,7 +187131,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 + repository: *687 review: description: The review that was affected. type: object @@ -187678,9 +187382,9 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -189794,8 +189498,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 - review: &740 + repository: *687 + review: &734 description: The review that was affected. type: object properties: @@ -190033,12 +189737,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -192385,7 +192089,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_reviewer: title: User type: @@ -192471,12 +192175,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -194830,7 +194534,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_team: title: Team description: Groups of organization members that gives permissions @@ -195025,12 +194729,12 @@ webhooks: type: string enum: - review_requested - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -197379,7 +197083,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_reviewer: title: User type: @@ -197466,12 +197170,12 @@ webhooks: type: string enum: - review_requested - enterprise: *690 - installation: *691 + enterprise: *684 + installation: *685 number: description: The pull request number. type: integer - organization: *692 + organization: *686 pull_request: title: Pull Request type: object @@ -199811,7 +199515,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 requested_team: title: Team description: Groups of organization members that gives permissions @@ -199995,9 +199699,9 @@ webhooks: type: string enum: - submitted - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -202233,8 +201937,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 - review: *740 + repository: *687 + review: *734 sender: *4 required: - action @@ -202314,9 +202018,9 @@ webhooks: type: string enum: - resolved - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -204447,7 +204151,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 + repository: *687 sender: *4 thread: type: object @@ -204844,9 +204548,9 @@ webhooks: type: string enum: - unresolved - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 pull_request: title: Simple Pull Request type: object @@ -206960,7 +206664,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *693 + repository: *687 sender: *4 thread: type: object @@ -207359,10 +207063,10 @@ webhooks: type: string before: type: string - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -209697,7 +209401,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -209779,11 +209483,11 @@ webhooks: type: string enum: - unassigned - assignee: *741 - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + assignee: *735 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -212133,7 +211837,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -212212,11 +211916,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *690 - installation: *691 - label: *709 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + label: *703 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -214555,7 +214259,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -214636,10 +214340,10 @@ webhooks: type: string enum: - unlocked - enterprise: *690 - installation: *691 - number: *735 - organization: *692 + enterprise: *684 + installation: *685 + number: *729 + organization: *686 pull_request: title: Pull Request type: object @@ -216968,7 +216672,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *693 + repository: *687 sender: *4 required: - action @@ -217171,7 +216875,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *690 + enterprise: *684 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -217266,8 +216970,8 @@ webhooks: - url - author - committer - installation: *691 - organization: *692 + installation: *685 + organization: *686 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -217855,9 +217559,9 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 registry_package: type: object properties: @@ -218334,7 +218038,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *724 + items: *718 summary: type: string tag_name: @@ -218390,7 +218094,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -218468,9 +218172,9 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 registry_package: type: object properties: @@ -218782,7 +218486,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *724 + items: *718 summary: type: string tag_name: @@ -218832,7 +218536,7 @@ webhooks: - owner - package_version - registry - repository: *693 + repository: *687 sender: *4 required: - action @@ -218909,10 +218613,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - release: &742 + enterprise: *684 + installation: *685 + organization: *686 + release: &736 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -219243,7 +218947,7 @@ webhooks: - updated_at - zipball_url - body - repository: *693 + repository: *687 sender: *4 required: - action @@ -219320,11 +219024,11 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - release: *742 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *736 + repository: *687 sender: *4 required: - action @@ -219441,11 +219145,11 @@ webhooks: type: boolean required: - to - enterprise: *690 - installation: *691 - organization: *692 - release: *742 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *736 + repository: *687 sender: *4 required: - action @@ -219523,9 +219227,9 @@ webhooks: type: string enum: - prereleased - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -219861,7 +219565,7 @@ webhooks: - string - 'null' format: uri - repository: *693 + repository: *687 sender: *4 required: - action @@ -219937,10 +219641,10 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 - release: &743 + enterprise: *684 + installation: *685 + organization: *686 + release: &737 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -220273,7 +219977,7 @@ webhooks: - string - 'null' format: uri - repository: *693 + repository: *687 sender: *4 required: - action @@ -220349,11 +220053,11 @@ webhooks: type: string enum: - released - enterprise: *690 - installation: *691 - organization: *692 - release: *742 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *736 + repository: *687 sender: *4 required: - action @@ -220429,11 +220133,11 @@ webhooks: type: string enum: - unpublished - enterprise: *690 - installation: *691 - organization: *692 - release: *743 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + release: *737 + repository: *687 sender: *4 required: - action @@ -220509,10 +220213,10 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_advisory: *611 sender: *4 required: @@ -220589,10 +220293,10 @@ webhooks: type: string enum: - reported - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_advisory: *611 sender: *4 required: @@ -220669,10 +220373,10 @@ webhooks: type: string enum: - archived - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -220749,10 +220453,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -220830,10 +220534,10 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -220918,10 +220622,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221036,10 +220740,10 @@ webhooks: - 'null' items: type: string - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221111,10 +220815,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 status: type: string @@ -221195,10 +220899,10 @@ webhooks: type: string enum: - privatized - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221275,10 +220979,10 @@ webhooks: type: string enum: - publicized - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221372,10 +221076,10 @@ webhooks: - name required: - repository - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -221455,10 +221159,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_ruleset: *283 sender: *4 required: @@ -221537,10 +221241,10 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_ruleset: *283 sender: *4 required: @@ -221619,10 +221323,10 @@ webhooks: type: string enum: - edited - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 repository_ruleset: *283 changes: type: object @@ -221930,10 +221634,10 @@ webhooks: - from required: - owner - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222011,10 +221715,10 @@ webhooks: type: string enum: - unarchived - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222092,7 +221796,7 @@ webhooks: type: string enum: - create - alert: &744 + alert: &738 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -222216,10 +221920,10 @@ webhooks: type: string enum: - open - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222429,10 +222133,10 @@ webhooks: type: string enum: - dismissed - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222510,11 +222214,11 @@ webhooks: type: string enum: - reopen - alert: *744 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *738 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222716,10 +222420,10 @@ webhooks: enum: - fixed - open - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222797,7 +222501,7 @@ webhooks: type: string enum: - created - alert: &745 + alert: &739 type: object properties: number: *154 @@ -222911,10 +222615,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -222995,11 +222699,11 @@ webhooks: type: string enum: - created - alert: *745 - installation: *691 - location: *746 - organization: *692 - repository: *693 + alert: *739 + installation: *685 + location: *740 + organization: *686 + repository: *687 sender: *4 required: - location @@ -223237,11 +222941,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223319,11 +223023,11 @@ webhooks: type: string enum: - reopened - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223401,11 +223105,11 @@ webhooks: type: string enum: - resolved - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223483,11 +223187,11 @@ webhooks: type: string enum: - validated - alert: *745 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + alert: *739 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -223617,10 +223321,10 @@ webhooks: - organization - enterprise - - repository: *693 - enterprise: *690 - installation: *691 - organization: *692 + repository: *687 + enterprise: *684 + installation: *685 + organization: *686 sender: *4 required: - action @@ -223698,11 +223402,11 @@ webhooks: type: string enum: - published - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - security_advisory: &747 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + security_advisory: &741 description: The details of the security advisory, including summary, description, and severity. type: object @@ -223888,11 +223592,11 @@ webhooks: type: string enum: - updated - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 - security_advisory: *747 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 + security_advisory: *741 sender: *4 required: - action @@ -223965,10 +223669,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -224155,9 +223859,9 @@ webhooks: type: object properties: security_and_analysis: *257 - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: *317 sender: *4 required: @@ -224236,12 +223940,12 @@ webhooks: type: string enum: - cancelled - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: &748 + sponsorship: &742 type: object properties: created_at: @@ -224546,12 +224250,12 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - sponsorship @@ -224639,12 +224343,12 @@ webhooks: type: string required: - from - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - changes @@ -224721,17 +224425,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &749 + effective_date: &743 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: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - sponsorship @@ -224805,7 +224509,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &750 + changes: &744 type: object properties: tier: @@ -224849,13 +224553,13 @@ webhooks: - from required: - tier - effective_date: *749 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + effective_date: *743 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - changes @@ -224932,13 +224636,13 @@ webhooks: type: string enum: - tier_changed - changes: *750 - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + changes: *744 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - sponsorship: *748 + sponsorship: *742 required: - action - changes @@ -225012,10 +224716,10 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225099,10 +224803,10 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -225536,15 +225240,15 @@ webhooks: type: - string - 'null' - enterprise: *690 + enterprise: *684 id: description: The unique identifier of the status. type: integer - installation: *691 + installation: *685 name: type: string - organization: *692 - repository: *693 + organization: *686 + repository: *687 sender: *4 sha: description: The Commit SHA. @@ -225660,9 +225364,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -225752,9 +225456,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -225844,9 +225548,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -225936,9 +225640,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *78 - installation: *691 - organization: *692 - repository: *693 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -226015,12 +225719,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - team: &751 + team: &745 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -226250,9 +225954,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -226722,7 +226426,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -226798,9 +226502,9 @@ webhooks: type: string enum: - created - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -227270,7 +226974,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -227347,9 +227051,9 @@ webhooks: type: string enum: - deleted - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -227819,7 +227523,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -227963,9 +227667,9 @@ webhooks: - from required: - permissions - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -228435,7 +228139,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - changes @@ -228513,9 +228217,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *690 - installation: *691 - organization: *692 + enterprise: *684 + installation: *685 + organization: *686 repository: title: Repository description: A git repository @@ -228985,7 +228689,7 @@ webhooks: - topics - visibility sender: *4 - team: *751 + team: *745 required: - action - team @@ -229061,10 +228765,10 @@ webhooks: type: string enum: - started - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 required: - action @@ -229137,17 +228841,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *690 + enterprise: *684 inputs: type: - object - 'null' additionalProperties: true - installation: *691 - organization: *692 + installation: *685 + organization: *686 ref: type: string - repository: *693 + repository: *687 sender: *4 workflow: type: string @@ -229229,10 +228933,10 @@ webhooks: type: string enum: - completed - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: allOf: @@ -229567,10 +229271,10 @@ webhooks: type: string enum: - in_progress - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: allOf: @@ -229931,10 +229635,10 @@ webhooks: type: string enum: - queued - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: type: object @@ -230159,10 +229863,10 @@ webhooks: type: string enum: - waiting - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 workflow_job: type: object @@ -230389,12 +230093,12 @@ webhooks: type: string enum: - completed - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Workflow Run type: object @@ -231413,12 +231117,12 @@ webhooks: type: string enum: - in_progress - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Workflow Run type: object @@ -232422,12 +232126,12 @@ webhooks: type: string enum: - requested - enterprise: *690 - installation: *691 - organization: *692 - repository: *693 + enterprise: *684 + installation: *685 + organization: *686 + repository: *687 sender: *4 - workflow: *705 + workflow: *699 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 413f06000..1dd3c5f00 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -43642,7 +43642,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": [ { @@ -43879,7 +43879,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -50891,7 +50891,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": [ { @@ -50978,7 +50978,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -67075,148 +67075,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", @@ -67227,7 +67085,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": [ { @@ -67410,7 +67268,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, @@ -67424,7 +67282,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": [ { @@ -67657,7 +67515,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "post": { @@ -67669,7 +67527,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": [ { @@ -68034,7 +67892,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" } } } @@ -68143,7 +68001,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" } } } @@ -68155,7 +68013,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -68169,7 +68027,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": [ { @@ -68482,7 +68340,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -68494,7 +68352,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": [ { @@ -68853,13 +68711,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" } } } @@ -68968,7 +68826,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" } } } @@ -69002,7 +68860,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" } } } @@ -69014,7 +68872,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -69026,7 +68884,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": [ { @@ -69253,7 +69111,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -69267,7 +69125,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": [ { @@ -69542,8 +69400,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "post": { @@ -69555,7 +69413,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": [ { @@ -69713,8 +69571,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -69728,7 +69586,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": [ { @@ -69976,8 +69834,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "patch": { @@ -69989,7 +69847,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": [ { @@ -70316,8 +70174,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -70329,7 +70187,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": [ { @@ -70570,8 +70428,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -70585,7 +70443,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": [ { @@ -70884,8 +70742,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -70897,7 +70755,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": [ { @@ -71130,79 +70988,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" } } }, @@ -71216,7 +71003,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": [ { @@ -71637,22 +71424,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": [ { @@ -71663,41 +71450,277 @@ "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" } } } @@ -71708,329 +71731,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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": 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": [ { @@ -72419,8 +72135,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -110545,2380 +110261,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", - "examples": [ - "2066deda-923f-43f9-88d2-62395a28c0cdd" - ] - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "SkuPricing", - "ProductPricing" - ], - "examples": [ - "SkuPricing" - ] - }, - "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", - "examples": [ - true - ] - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "examples": [ - "enterprise" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "examples": [ - "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", - "examples": [ - true - ] - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "examples": [ - "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", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ], - "examples": [ - "enterprise" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "examples": [ - "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", - "examples": [ - true - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to.", - "examples": [ - "actions_linux" - ] - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ], - "examples": [ - "ProductPricing" - ] - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "examples": [ - true - ] - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "examples": [ - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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", - "examples": [ - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/usage": { - "get": { - "summary": "Get billing usage report for an organization", - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -254781,148 +252123,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", @@ -255120,148 +252320,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", @@ -805288,1357 +802346,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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for a user", - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 41507805b..0aa137c96 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -915,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &421 + type: &411 type: string description: The type of credit the user is receiving. enum: @@ -1048,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &249 + schema: &239 title: Validation Error Simple description: Validation Error Simple type: object @@ -1081,7 +1081,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: - - &740 + - &724 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1666,7 +1666,7 @@ paths: schema: type: integer default: 30 - - &335 + - &325 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 @@ -1682,7 +1682,7 @@ paths: application/json: schema: type: array - items: &336 + items: &326 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1778,7 +1778,7 @@ paths: - installation_id - repository_id examples: - default: &337 + default: &327 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1810,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &750 + schema: &734 title: Scim Error description: Scim Error type: object @@ -1841,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &248 + schema: &238 title: Validation Error description: Validation Error type: object @@ -1913,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &328 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2048,7 +2048,7 @@ paths: - request - response examples: - default: &339 + default: &329 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7825,7 +7825,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &240 type: object properties: total_active_caches_count: @@ -7840,7 +7840,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &251 + default: &241 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8055,7 +8055,7 @@ paths: - public_ip_enabled - platform examples: - default: &252 + default: &242 value: total_count: 2 runners: @@ -8359,7 +8359,7 @@ paths: application/json: schema: *43 examples: - default: &253 + default: &243 value: id: 1 platform: linux-x64 @@ -8504,7 +8504,7 @@ paths: application/json: schema: *46 examples: - default: &254 + default: &244 value: version: 1.0.0 size_gb: 75 @@ -8672,7 +8672,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &245 type: object properties: public_ips: @@ -8699,7 +8699,7 @@ paths: required: - public_ips examples: - default: &256 + default: &246 value: public_ips: current_usage: 17 @@ -8739,7 +8739,7 @@ paths: type: array items: *50 examples: - default: &257 + default: &247 value: id: 4-core cpu_cores: 4 @@ -9003,7 +9003,7 @@ paths: - all - local_only - selected - selected_actions_url: &260 + selected_actions_url: &250 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` @@ -9083,7 +9083,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &262 + schema: &252 type: object properties: days: @@ -9101,7 +9101,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &751 + '401': &735 description: Authorization failure '404': *6 x-github: @@ -9129,7 +9129,7 @@ paths: required: true content: application/json: - schema: &263 + schema: &253 type: object properties: days: @@ -9178,7 +9178,7 @@ paths: required: - approval_policy examples: - default: &264 + default: &254 value: approval_policy: first_time_contributors '404': *6 @@ -9236,7 +9236,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &255 type: object required: - run_workflows_from_fork_pull_requests @@ -9290,7 +9290,7 @@ paths: required: true content: application/json: - schema: &266 + schema: &256 type: object required: - run_workflows_from_fork_pull_requests @@ -9726,7 +9726,7 @@ paths: description: Success response content: application/json: - schema: &269 + schema: &259 type: object properties: default_workflow_permissions: &61 @@ -9774,7 +9774,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &260 type: object properties: default_workflow_permissions: *61 @@ -10619,7 +10619,7 @@ paths: application/json: schema: type: array - items: &274 + items: &264 title: Runner Application description: Runner Application type: object @@ -10644,7 +10644,7 @@ paths: - download_url - filename examples: - default: &275 + default: &265 value: - os: osx architecture: x64 @@ -10728,7 +10728,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &276 + '201': &266 description: Response content: application/json: @@ -10847,7 +10847,7 @@ paths: - token - expires_at examples: - default: &277 + default: &267 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10887,7 +10887,7 @@ paths: application/json: schema: *73 examples: - default: &278 + default: &268 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10919,7 +10919,7 @@ paths: application/json: schema: *70 examples: - default: &279 + default: &269 value: id: 23 name: MBP @@ -11135,7 +11135,7 @@ paths: - *39 - *69 responses: - '200': &280 + '200': &270 description: Response content: application/json: @@ -11191,7 +11191,7 @@ paths: parameters: - *39 - *69 - - &281 + - &271 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11288,7 +11288,7 @@ paths: required: true content: application/json: - schema: &288 + schema: &278 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11939,7 +11939,7 @@ paths: required: false schema: type: string - - &291 + - &281 name: include description: |- The event types to include: @@ -11957,7 +11957,7 @@ paths: - web - git - all - - &292 + - &282 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. @@ -11965,7 +11965,7 @@ paths: required: false schema: type: string - - &293 + - &283 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. @@ -11973,7 +11973,7 @@ paths: required: false schema: type: string - - &294 + - &284 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11995,7 +11995,7 @@ paths: application/json: schema: type: array - items: &295 + items: &285 type: object properties: "@timestamp": @@ -12117,7 +12117,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &296 + default: &286 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12785,7 +12785,7 @@ paths: application/json: schema: type: array - items: &297 + items: &287 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12957,7 +12957,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &298 + default: &288 value: - id: 21 number: 42 @@ -13062,7 +13062,7 @@ paths: application/json: schema: type: array - items: &300 + items: &290 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13193,7 +13193,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &301 + default: &291 value: - id: 21 number: 42 @@ -13278,7 +13278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &306 + - &296 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`, @@ -13288,7 +13288,7 @@ paths: schema: &105 type: string description: The name of the tool used to generate the code scanning analysis. - - &307 + - &297 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 @@ -13312,7 +13312,7 @@ paths: be returned. in: query required: false - schema: &308 + schema: &298 type: string description: State of a code scanning alert. enum: @@ -13337,7 +13337,7 @@ paths: application/json: schema: type: array - items: &309 + items: &299 type: object properties: number: &119 @@ -13366,7 +13366,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &532 + instances_url: &516 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13402,7 +13402,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &533 + dismissed_reason: &517 type: - string - 'null' @@ -13413,14 +13413,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &534 + dismissed_comment: &518 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &535 + rule: &519 type: object properties: id: @@ -13481,7 +13481,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &536 + tool: &520 type: object properties: name: *105 @@ -13492,15 +13492,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *106 - most_recent_instance: &537 + most_recent_instance: &521 type: object properties: - ref: &530 + ref: &514 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &547 + analysis_key: &531 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13511,7 +13511,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &548 + category: &532 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13902,7 +13902,7 @@ paths: - most_recent_instance - repository examples: - default: &310 + default: &300 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14561,7 +14561,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &311 + code_scanning_options: &301 type: - object - 'null' @@ -14759,7 +14759,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &303 type: array description: A list of default code security configurations items: @@ -14775,7 +14775,7 @@ paths: default configuration: *108 examples: - default: &314 + default: &304 value: - default_for_new_repos: public configuration: @@ -15229,7 +15229,7 @@ paths: default: value: default_for_new_repos: all - configuration: &312 + configuration: &302 value: id: 1325 target_type: organization @@ -15314,7 +15314,7 @@ paths: application/json: schema: type: array - items: &315 + items: &305 type: object description: Repositories associated with a code security configuration and attachment status @@ -15338,7 +15338,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &316 + repository: &306 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15623,7 +15623,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: - *39 - *17 @@ -15770,7 +15770,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 @@ -15839,7 +15839,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &302 + - &292 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15916,7 +15916,7 @@ paths: parent: anyOf: - type: 'null' - - &370 + - &360 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -17263,7 +17263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &322 + - &312 name: state in: query description: |- @@ -17272,7 +17272,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &323 + - &313 name: severity in: query description: |- @@ -17281,7 +17281,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &324 + - &314 name: ecosystem in: query description: |- @@ -17290,14 +17290,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &325 + - &315 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 - - &326 + - &316 name: epss_percentage in: query description: |- @@ -17309,7 +17309,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 - - &583 + - &567 name: has in: query description: |- @@ -17323,7 +17323,7 @@ paths: type: string enum: - patch - - &327 + - &317 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17333,7 +17333,7 @@ paths: enum: - development - runtime - - &328 + - &318 name: sort in: query description: |- @@ -17359,7 +17359,7 @@ paths: application/json: schema: type: array - items: &329 + items: &319 type: object description: A Dependabot alert. properties: @@ -17426,7 +17426,7 @@ paths: - direct - transitive - - security_advisory: &584 + security_advisory: &568 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17662,7 +17662,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: &585 + auto_dismissed_at: &569 type: - string - 'null' @@ -17689,7 +17689,7 @@ paths: - repository additionalProperties: false examples: - default: &330 + default: &320 value: - number: 2 state: dismissed @@ -18626,7 +18626,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: - *39 responses: @@ -18678,7 +18678,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 @@ -18807,7 +18807,7 @@ paths: - name - created_on examples: - default: &431 + default: &415 value: total_count: 2 network_configurations: @@ -19030,7 +19030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &432 + - &416 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19042,7 +19042,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &417 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19081,7 +19081,7 @@ paths: - subnet_id - region examples: - default: &434 + default: &418 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19909,7 +19909,7 @@ paths: required: true content: application/json: - schema: &400 + schema: &390 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21084,7 +21084,7 @@ paths: conditions: anyOf: - *151 - - &404 + - &394 title: Organization ruleset conditions type: object description: |- @@ -21134,7 +21134,7 @@ paths: - object rules: type: array - items: &706 + items: &690 title: Repository Rule type: object description: A repository rule. @@ -21143,7 +21143,7 @@ paths: - *160 - *161 - *162 - - &703 + - &687 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21237,7 +21237,7 @@ paths: - *176 - *177 - *178 - - &704 + - &688 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -21493,7 +21493,7 @@ paths: type: string format: date-time examples: - default: &407 + default: &397 value: - version_id: 3 actor: @@ -21546,7 +21546,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &398 allOf: - *183 - type: object @@ -21601,7 +21601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &409 + - &399 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21612,7 +21612,7 @@ paths: enum: - open - resolved - - &410 + - &400 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21622,7 +21622,7 @@ paths: required: false schema: type: string - - &411 + - &401 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21631,7 +21631,7 @@ paths: required: false schema: type: string - - &412 + - &402 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21647,7 +21647,7 @@ paths: - *17 - *102 - *103 - - &413 + - &403 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21656,7 +21656,7 @@ paths: required: false schema: type: string - - &414 + - &404 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21665,7 +21665,7 @@ paths: schema: type: boolean default: false - - &415 + - &405 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21674,7 +21674,7 @@ paths: schema: type: boolean default: false - - &416 + - &406 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21690,7 +21690,7 @@ paths: application/json: schema: type: array - items: &417 + items: &407 type: object properties: number: *119 @@ -21706,14 +21706,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &718 + state: &702 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: &719 + resolution: &703 type: - string - 'null' @@ -21820,14 +21820,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &720 + - &704 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &722 + - &706 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21884,7 +21884,7 @@ paths: - blob_url - commit_sha - commit_url - - &723 + - &707 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. @@ -21945,7 +21945,7 @@ paths: - page_url - commit_sha - commit_url - - &724 + - &708 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21960,7 +21960,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &725 + - &709 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21975,7 +21975,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &726 + - &710 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21990,7 +21990,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &727 + - &711 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22005,7 +22005,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &728 + - &712 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22020,7 +22020,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &729 + - &713 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22035,7 +22035,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &730 + - &714 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. @@ -22050,7 +22050,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &731 + - &715 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. @@ -22065,7 +22065,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &732 + - &716 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. @@ -22080,7 +22080,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &733 + - &717 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. @@ -22095,7 +22095,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &734 + - &718 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 @@ -22120,7 +22120,7 @@ paths: - type: 'null' - *4 examples: - default: &418 + default: &408 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22329,7 +22329,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &409 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22416,7 +22416,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *185 examples: - default: &420 + default: &410 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22535,115 +22535,6 @@ paths: '404': *6 '409': *112 '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: - - *39 - responses: - '200': - description: Response - content: - application/json: - schema: &422 - 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: &423 - 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 @@ -22658,10 +22549,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: - *39 - - &424 + - &412 name: advanced_security_product in: query description: | @@ -22681,7 +22572,7 @@ paths: description: Success content: application/json: - schema: &425 + schema: &413 type: object properties: total_advanced_security_committers: @@ -22744,7 +22635,7 @@ paths: required: - repositories examples: - default: &426 + default: &414 value: total_advanced_security_committers: 2 total_count: 2 @@ -22770,7 +22661,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: enterprise-admin - subcategory: billing + subcategory: licensing "/enterprises/{enterprise}/settings/billing/budgets": get: summary: Get all budgets @@ -22784,11 +22675,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: - *39 responses: - '200': &236 + '200': description: Response when getting all budgets content: application/json: @@ -22913,7 +22804,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets post: summary: Create a budget description: |- @@ -22926,7 +22817,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: - *39 requestBody: @@ -23093,7 +22984,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 @@ -23104,12 +22995,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 @@ -23123,7 +23014,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: - *39 - &187 @@ -23134,7 +23025,7 @@ paths: schema: type: string responses: - '200': &237 + '200': description: Response when updating a budget content: application/json: @@ -23231,7 +23122,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget description: |- @@ -23244,7 +23135,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 @@ -23410,11 +23301,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 @@ -23425,7 +23316,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: @@ -23435,12 +23326,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: |- @@ -23453,12 +23344,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: - *39 - *187 responses: - '200': &238 + '200': description: Response when deleting a budget content: application/json: @@ -23488,7 +23379,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 @@ -23498,7 +23389,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: - *39 - name: state @@ -23587,8 +23478,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 @@ -23598,7 +23489,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: - *39 requestBody: @@ -23698,8 +23589,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 @@ -23710,7 +23601,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: - *39 - &190 @@ -23783,8 +23674,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. @@ -23793,7 +23684,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 @@ -23841,8 +23732,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 @@ -23852,7 +23743,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: - *39 - *190 @@ -23898,8 +23789,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 @@ -23912,7 +23803,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: - *39 - *190 @@ -23992,8 +23883,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: |- @@ -24005,7 +23896,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: - *39 - *190 @@ -24059,61 +23950,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: - - *39 - responses: - '200': - description: Response - content: - application/json: - schema: &427 - 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: &428 - 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 @@ -24126,7 +23964,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: - *39 - &191 @@ -24164,15 +24002,13 @@ paths: required: false schema: type: string - - &239 - 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 - - &240 - name: model + - name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false @@ -24321,61 +24157,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: - - *39 - responses: - '200': - description: Response - content: - application/json: - schema: &429 - 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: &430 - 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 @@ -24388,12 +24171,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: - *39 - *191 - - &241 - 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. @@ -24414,7 +24196,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &242 + schema: type: object properties: usageItems: @@ -24467,7 +24249,7 @@ paths: - netAmount - organizationName examples: - default: &243 + default: value: usageItems: - date: '2023-08-01' @@ -24488,8 +24270,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 @@ -24505,23 +24287,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: - *39 - *191 - *193 - *192 - *194 - - &244 - name: repository + - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - *195 - - &245 - name: sku + - name: sku description: The SKU to query for usage. in: query required: false @@ -24657,8 +24437,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 @@ -25721,7 +25501,7 @@ paths: milestone: anyOf: - type: 'null' - - &391 + - &381 title: Milestone description: A collection of related issues and pull requests. @@ -25893,7 +25673,7 @@ paths: timeline_url: type: string format: uri - type: &357 + type: &347 title: Issue Type description: The type of issue. type: @@ -26002,7 +25782,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &778 + sub_issues_summary: &762 title: Sub-issues Summary type: object properties: @@ -26023,7 +25803,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &779 + issue_dependencies_summary: &763 title: Issue Dependencies Summary type: object properties: @@ -26042,7 +25822,7 @@ paths: - total_blocking issue_field_values: type: array - items: &780 + items: &764 title: Issue Field Value description: A value assigned to an issue field type: object @@ -26137,7 +25917,7 @@ paths: - user - created_at - updated_at - comment: &641 + comment: &625 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26703,7 +26483,7 @@ paths: url: type: string format: uri - user: &792 + user: &776 title: Public User description: Public User type: object @@ -28598,7 +28378,7 @@ paths: - closed - all default: open - - &360 + - &350 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -28649,7 +28429,7 @@ paths: type: array items: *219 examples: - default: &361 + default: &351 value: - id: 1 node_id: MDU6SXNzdWUx @@ -30060,14 +29840,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: - - &454 + - &438 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &455 + - &439 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30129,7 +29909,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &466 + '301': &450 description: Moved permanently content: application/json: @@ -30151,7 +29931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &670 + - &654 name: all description: If `true`, show notifications marked as read. in: query @@ -30159,7 +29939,7 @@ paths: schema: type: boolean default: false - - &671 + - &655 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30169,7 +29949,7 @@ paths: type: boolean default: false - *209 - - &672 + - &656 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: @@ -30201,7 +29981,7 @@ paths: properties: id: type: string - repository: &273 + repository: &263 title: Minimal Repository description: Minimal Repository type: object @@ -30540,7 +30320,7 @@ paths: type: boolean examples: - false - security_and_analysis: &401 + security_and_analysis: &391 type: - object - 'null' @@ -30713,7 +30493,7 @@ paths: - url - subscription_url examples: - default: &673 + default: &657 value: - id: '1' repository: @@ -31318,7 +31098,7 @@ paths: - 3 custom_roles: type: array - items: &318 + items: &308 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -31367,7 +31147,7 @@ paths: - created_at - updated_at examples: - default: &319 + default: &309 value: id: 8030 name: Security Engineer @@ -31694,7 +31474,7 @@ paths: type: array items: *145 examples: - default: &679 + default: &663 value: - property_name: environment value: production @@ -31744,7 +31524,7 @@ paths: required: - properties examples: - default: &680 + default: &664 value: properties: - property_name: environment @@ -31765,570 +31545,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: - - *81 - responses: - '200': *236 - '404': *6 - '403': *27 - '500': *38 - 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: - - *81 - - *187 - responses: - '200': *237 - '400': *14 - '404': *6 - '403': *27 - '500': *38 - '503': *184 - 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: - - *81 - - *187 - 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 - examples: - - 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': *23 - '403': *27 - '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: - - *81 - - *187 - responses: - '200': *238 - '400': *14 - '404': *6 - '403': *27 - '500': *38 - '503': *184 - 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: - - *81 - - *191 - - *193 - - *192 - - *239 - - *240 - - *195 - 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': *27 - '404': *6 - '500': *38 - '503': *184 - 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: - - *81 - - *191 - - *241 - - *192 - responses: - '200': - description: Billing usage report response for an organization - content: - application/json: - schema: *242 - examples: - default: *243 - '400': *14 - '403': *27 - '500': *38 - '503': *184 - 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: - - *81 - - *191 - - *193 - - *192 - - *244 - - *195 - - *245 - 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': *27 - '500': *38 - '503': *184 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -32355,7 +31571,7 @@ paths: description: Response content: application/json: - schema: &246 + schema: &236 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -32765,7 +31981,7 @@ paths: - updated_at - archived_at examples: - default-response: &247 + default-response: &237 value: login: github id: 1 @@ -33091,17 +32307,17 @@ paths: description: Response content: application/json: - schema: *246 + schema: *236 examples: - default: *247 + default: *237 '422': description: Validation failed content: application/json: schema: oneOf: - - *248 - - *249 + - *238 + - *239 '409': *112 x-github: githubCloudOnly: false @@ -33156,9 +32372,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *240 examples: - default: *251 + default: *241 headers: Link: *41 x-github: @@ -33199,7 +32415,7 @@ paths: type: integer repository_cache_usages: type: array - items: &471 + items: &455 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -33277,7 +32493,7 @@ paths: type: array items: *42 examples: - default: *252 + default: *242 headers: Link: *41 x-github: @@ -33444,7 +32660,7 @@ paths: application/json: schema: *43 examples: - default: *253 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33536,7 +32752,7 @@ paths: application/json: schema: *46 examples: - default: *254 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33655,9 +32871,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *245 examples: - default: *256 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33693,7 +32909,7 @@ paths: type: array items: *50 examples: - default: *257 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33882,7 +33098,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &258 + schema: &248 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -33896,7 +33112,7 @@ paths: required: - include_claim_keys examples: - default: &259 + default: &249 value: include_claim_keys: - repo @@ -33923,15 +33139,15 @@ paths: required: true content: application/json: - schema: *258 + schema: *248 examples: - default: *259 + default: *249 responses: '201': description: Empty response content: application/json: - schema: &284 + schema: &274 title: Empty Object description: An object without any properties. type: object @@ -33970,7 +33186,7 @@ paths: schema: type: object properties: - enabled_repositories: &261 + enabled_repositories: &251 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -33984,7 +33200,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *54 - selected_actions_url: *260 + selected_actions_url: *250 sha_pinning_required: *55 required: - enabled_repositories @@ -34026,7 +33242,7 @@ paths: schema: type: object properties: - enabled_repositories: *261 + enabled_repositories: *251 allowed_actions: *54 sha_pinning_required: *55 required: @@ -34062,7 +33278,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *252 examples: response: summary: Example response @@ -34093,7 +33309,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *253 examples: application/json: value: @@ -34131,7 +33347,7 @@ paths: application/json: schema: *56 examples: - default: *264 + default: *254 '404': *6 x-github: enabledForGitHubApps: true @@ -34188,7 +33404,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *255 examples: default: *57 '403': *27 @@ -34213,7 +33429,7 @@ paths: required: true content: application/json: - schema: *266 + schema: *256 examples: default: *57 responses: @@ -34265,7 +33481,7 @@ paths: type: array items: *72 examples: - default: &268 + default: &258 value: total_count: 1 repositories: @@ -34450,7 +33666,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - &267 + - &257 name: repository_id description: The unique identifier of the repository. in: path @@ -34479,7 +33695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - *267 + - *257 responses: '204': description: Response @@ -34675,7 +33891,7 @@ paths: type: array items: *72 examples: - default: *268 + default: *258 '403': *27 '404': *6 x-github: @@ -34744,7 +33960,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: - *81 - - *267 + - *257 responses: '204': description: No content @@ -34771,7 +33987,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: - *81 - - *267 + - *257 responses: '204': description: No content @@ -34805,7 +34021,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *259 examples: default: *63 x-github: @@ -34839,7 +34055,7 @@ paths: required: false content: application/json: - schema: *270 + schema: *260 examples: default: *63 x-github: @@ -34886,7 +34102,7 @@ paths: type: number runner_groups: type: array - items: &271 + items: &261 type: object properties: id: @@ -35076,9 +34292,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *261 examples: - default: &272 + default: &262 value: id: 2 name: octo-runner-group @@ -35120,7 +34336,7 @@ paths: description: Response content: application/json: - schema: *271 + schema: *261 examples: default: value: @@ -35213,9 +34429,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *261 examples: - default: *272 + default: *262 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -35279,7 +34495,7 @@ paths: type: array items: *42 examples: - default: *252 + default: *242 headers: Link: *41 x-github: @@ -35320,9 +34536,9 @@ paths: type: number repositories: type: array - items: *273 + items: *263 examples: - default: &795 + default: &779 value: total_count: 1 repositories: @@ -35621,7 +34837,7 @@ paths: parameters: - *81 - *66 - - *267 + - *257 responses: '204': description: Response @@ -35645,7 +34861,7 @@ paths: parameters: - *81 - *66 - - *267 + - *257 responses: '204': description: Response @@ -35863,9 +35079,9 @@ paths: application/json: schema: type: array - items: *274 + items: *264 examples: - default: *275 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35930,7 +35146,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *276 + '201': *266 '404': *6 '422': *7 '409': *112 @@ -35969,7 +35185,7 @@ paths: application/json: schema: *73 examples: - default: *277 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36005,7 +35221,7 @@ paths: application/json: schema: *73 examples: - default: *278 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36036,7 +35252,7 @@ paths: application/json: schema: *70 examples: - default: *279 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36211,7 +35427,7 @@ paths: - *81 - *69 responses: - '200': *280 + '200': *270 '404': *6 x-github: githubCloudOnly: false @@ -36240,7 +35456,7 @@ paths: parameters: - *81 - *69 - - *281 + - *271 responses: '200': *75 '404': *6 @@ -36285,7 +35501,7 @@ paths: type: integer secrets: type: array - items: &282 + items: &272 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -36366,7 +35582,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &475 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36401,7 +35617,7 @@ paths: - key_id - key examples: - default: &492 + default: &476 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36427,7 +35643,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *81 - - &283 + - &273 name: secret_name description: The name of the secret. in: path @@ -36439,7 +35655,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: default: value: @@ -36470,7 +35686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -36527,7 +35743,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -36554,7 +35770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -36581,7 +35797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 - *19 - *17 responses: @@ -36599,9 +35815,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: &287 + default: &277 value: total_count: 1 repositories: @@ -36694,7 +35910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -36747,7 +35963,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -36781,7 +35997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -36814,7 +36030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *81 - - &476 + - &460 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)." @@ -36838,7 +36054,7 @@ paths: type: integer variables: type: array - items: &285 + items: &275 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -36976,7 +36192,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -37002,7 +36218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *81 - - &286 + - &276 name: name description: The name of the variable. in: path @@ -37014,7 +36230,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *275 examples: default: value: @@ -37045,7 +36261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *81 - - *286 + - *276 requestBody: required: true content: @@ -37108,7 +36324,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *81 - - *286 + - *276 responses: '204': description: Response @@ -37135,7 +36351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *81 - - *286 + - *276 - *19 - *17 responses: @@ -37153,9 +36369,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 '409': description: Response when the visibility of the variable is not set to `selected` @@ -37182,7 +36398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *81 - - *286 + - *276 requestBody: required: true content: @@ -37232,7 +36448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *81 - - *286 + - *276 - name: repository_id in: path required: true @@ -37267,7 +36483,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *81 - - *286 + - *276 - name: repository_id in: path required: true @@ -37325,7 +36541,7 @@ paths: required: true content: application/json: - schema: *288 + schema: *278 examples: default: *79 parameters: @@ -37485,7 +36701,7 @@ paths: type: integer deployment_records: type: array - items: &289 + items: &279 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -37530,7 +36746,7 @@ paths: description: The ID of the provenance attestation associated with the deployment record. examples: - default: &290 + default: &280 value: total_count: 1 deployment_records: @@ -37678,9 +36894,9 @@ paths: type: integer deployment_records: type: array - items: *289 + items: *279 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37889,9 +37105,9 @@ paths: - 3 deployment_records: type: array - items: *289 + items: *279 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38021,12 +37237,12 @@ paths: required: - subject_digests examples: - default: &822 + default: &806 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &823 + withPredicateType: &807 value: subject_digests: - sha256:abc123 @@ -38085,7 +37301,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &824 + default: &808 value: attestations_subject_digests: - sha256:abc: @@ -38434,7 +37650,7 @@ paths: initiator: type: string examples: - default: &505 + default: &489 value: attestations: - bundle: @@ -38560,10 +37776,10 @@ paths: required: false schema: type: string - - *291 - - *292 - - *293 - - *294 + - *281 + - *282 + - *283 + - *284 - *17 responses: '200': @@ -38572,9 +37788,9 @@ paths: application/json: schema: type: array - items: *295 + items: *285 examples: - default: *296 + default: *286 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38697,7 +37913,7 @@ paths: subcategory: bypass-requests parameters: - *81 - - &299 + - &289 name: repository_name description: The name of the repository to filter on. in: query @@ -38716,9 +37932,9 @@ paths: application/json: schema: type: array - items: *297 + items: *287 examples: - default: *298 + default: *288 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -38742,7 +37958,7 @@ paths: subcategory: delegated-bypass parameters: - *81 - - *299 + - *289 - *97 - *98 - *99 @@ -38756,9 +37972,9 @@ paths: application/json: schema: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -38785,7 +38001,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &303 + schema: &293 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -38811,7 +38027,7 @@ paths: application/json: schema: type: array - items: &304 + items: &294 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -38842,7 +38058,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *302 + items: *292 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -38861,7 +38077,7 @@ paths: - string - 'null' format: date-time - state: *303 + state: *293 contact_link: description: The contact link of the campaign. type: @@ -39084,9 +38300,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &305 + default: &295 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -39169,9 +38385,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 '404': *6 '422': description: Unprocessable Entity @@ -39249,7 +38465,7 @@ paths: - string - 'null' format: uri - state: *303 + state: *293 examples: default: value: @@ -39259,9 +38475,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 '400': description: Bad Request content: @@ -39328,8 +38544,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *81 - - *306 - - *307 + - *296 + - *297 - *102 - *103 - *19 @@ -39340,7 +38556,7 @@ paths: be returned. in: query required: false - schema: *308 + schema: *298 - name: sort description: The property by which to sort the results. in: query @@ -39356,7 +38572,7 @@ paths: be returned. in: query required: false - schema: &531 + schema: &515 type: string description: Severity of a code scanning alert. enum: @@ -39374,9 +38590,9 @@ paths: application/json: schema: type: array - items: *309 + items: *299 examples: - default: *310 + default: *300 headers: Link: *41 '404': *6 @@ -39591,7 +38807,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *311 + code_scanning_options: *301 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -39734,7 +38950,7 @@ paths: application/json: schema: *108 examples: - default: *312 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39762,9 +38978,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *303 examples: - default: *314 + default: *304 '304': *35 '403': *27 '404': *6 @@ -39851,7 +39067,7 @@ paths: application/json: schema: *108 examples: - default: *312 + default: *302 '304': *35 '403': *27 '404': *6 @@ -40273,7 +39489,7 @@ paths: default: value: default_for_new_repos: all - configuration: *312 + configuration: *302 '403': *27 '404': *6 x-github: @@ -40326,13 +39542,13 @@ paths: application/json: schema: type: array - items: *315 + items: *305 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *316 + repository: *306 '403': *27 '404': *6 x-github: @@ -40372,7 +39588,7 @@ paths: type: integer codespaces: type: array - items: &362 + items: &352 type: object title: Codespace description: A codespace. @@ -40403,11 +39619,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *273 + repository: *263 machine: anyOf: - type: 'null' - - &560 + - &544 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -40694,7 +39910,7 @@ paths: - pulls_url - recent_folders examples: - default: &363 + default: &353 value: total_count: 3 codespaces: @@ -41318,7 +40534,7 @@ paths: type: integer secrets: type: array - items: &317 + items: &307 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -41359,7 +40575,7 @@ paths: - updated_at - visibility examples: - default: &561 + default: &545 value: total_count: 2 secrets: @@ -41397,7 +40613,7 @@ paths: description: Response content: application/json: - schema: &562 + schema: &546 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41432,7 +40648,7 @@ paths: - key_id - key examples: - default: &563 + default: &547 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41456,15 +40672,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '200': description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: &565 + default: &549 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41492,7 +40708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -41547,7 +40763,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -41574,7 +40790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -41600,7 +40816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 - *19 - *17 responses: @@ -41618,9 +40834,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 '404': *6 x-github: githubCloudOnly: false @@ -41643,7 +40859,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -41694,7 +40910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -41728,7 +40944,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -42551,7 +41767,7 @@ paths: - 3 custom_roles: type: array - items: *318 + items: *308 examples: default: value: @@ -42643,7 +41859,7 @@ paths: required: true content: application/json: - schema: &320 + schema: &310 type: object properties: name: @@ -42685,9 +41901,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -42718,9 +41934,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '404': *6 x-github: githubCloudOnly: true @@ -42748,7 +41964,7 @@ paths: required: true content: application/json: - schema: &321 + schema: &311 type: object properties: name: @@ -42787,9 +42003,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -42847,7 +42063,7 @@ paths: required: true content: application/json: - schema: *320 + schema: *310 examples: default: value: @@ -42861,9 +42077,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -42900,9 +42116,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '404': *6 x-github: githubCloudOnly: true @@ -42936,7 +42152,7 @@ paths: required: true content: application/json: - schema: *321 + schema: *311 examples: default: value: @@ -42951,9 +42167,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -43013,11 +42229,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *81 - - *322 - - *323 - - *324 - - *325 - - *326 + - *312 + - *313 + - *314 + - *315 + - *316 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -43055,8 +42271,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *327 - - *328 + - *317 + - *318 - *104 - *102 - *103 @@ -43068,9 +42284,9 @@ paths: application/json: schema: type: array - items: *329 + items: *319 examples: - default: *330 + default: *320 '304': *35 '400': *14 '403': *27 @@ -43114,7 +42330,7 @@ paths: type: integer secrets: type: array - items: &331 + items: &321 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -43193,7 +42409,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &572 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43212,7 +42428,7 @@ paths: - key_id - key examples: - default: &589 + default: &573 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43236,13 +42452,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '200': description: Response content: application/json: - schema: *331 + schema: *321 examples: default: value: @@ -43271,7 +42487,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -43330,7 +42546,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -43355,7 +42571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -43380,7 +42596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 - *19 - *17 responses: @@ -43398,9 +42614,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43422,7 +42638,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -43473,7 +42689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -43505,7 +42721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -43542,7 +42758,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - &597 + - &581 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43550,7 +42766,7 @@ paths: required: false schema: type: string - - &598 + - &582 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43558,7 +42774,7 @@ paths: required: false schema: type: string - - &599 + - &583 name: time_period description: |- The time period to filter by. @@ -43574,7 +42790,7 @@ paths: - week - month default: month - - &600 + - &584 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43589,7 +42805,7 @@ paths: - denied - all default: all - - *299 + - *289 - *17 - *19 responses: @@ -43599,7 +42815,7 @@ paths: application/json: schema: type: array - items: &601 + items: &585 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43762,7 +42978,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &602 + default: &586 value: - id: 21 number: 42 @@ -43849,11 +43065,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - *299 + - *289 - *97 - *98 - *99 - - &603 + - &587 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -43879,7 +43095,7 @@ paths: application/json: schema: type: array - items: &604 + items: &588 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44006,7 +43222,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &605 + default: &589 value: - id: 21 number: 42 @@ -44094,7 +43310,7 @@ paths: application/json: schema: type: array - items: &372 + items: &362 title: Package description: A software package type: object @@ -44147,7 +43363,7 @@ paths: repository: anyOf: - type: 'null' - - *273 + - *263 created_at: type: string format: date-time @@ -44165,7 +43381,7 @@ paths: - created_at - updated_at examples: - default: &373 + default: &363 value: - id: 197 name: hello_docker @@ -44352,7 +43568,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &433 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44442,7 +43658,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &450 + default: &434 value: group_id: '123' group_name: Octocat admins @@ -44497,7 +43713,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &431 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44537,7 +43753,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &448 + default: &432 value: groups: - group_id: '123' @@ -44581,7 +43797,7 @@ paths: application/json: schema: type: array - items: &354 + items: &344 title: Organization Invitation description: Organization Invitation type: object @@ -44635,7 +43851,7 @@ paths: - invitation_teams_url - node_id examples: - default: &355 + default: &345 value: - id: 1 login: monalisa @@ -44702,7 +43918,7 @@ paths: application/json: schema: type: array - items: &402 + items: &392 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44716,7 +43932,7 @@ paths: - name - description examples: - default: &403 + default: &393 value: - name: add_assignee description: Assign or remove a user @@ -44757,7 +43973,7 @@ paths: application/json: schema: type: array - items: &332 + items: &322 title: Org Hook description: Org Hook type: object @@ -44940,9 +44156,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *322 examples: - default: &333 + default: &323 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -44987,7 +44203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *81 - - &334 + - &324 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. @@ -45000,9 +44216,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *322 examples: - default: *333 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -45024,7 +44240,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *81 - - *334 + - *324 requestBody: required: false content: @@ -45070,7 +44286,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *322 examples: default: value: @@ -45110,7 +44326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *81 - - *334 + - *324 responses: '204': description: Response @@ -45136,7 +44352,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *81 - - *334 + - *324 responses: '200': description: Response @@ -45165,7 +44381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *81 - - *334 + - *324 requestBody: required: false content: @@ -45214,9 +44430,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *81 - - *334 + - *324 - *17 - - *335 + - *325 responses: '200': description: Response @@ -45224,9 +44440,9 @@ paths: application/json: schema: type: array - items: *336 + items: *326 examples: - default: *337 + default: *327 '400': *14 '422': *15 x-github: @@ -45250,16 +44466,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *81 - - *334 + - *324 - *16 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *339 + default: *329 '400': *14 '422': *15 x-github: @@ -45283,7 +44499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *81 - - *334 + - *324 - *16 responses: '202': *37 @@ -45310,7 +44526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *81 - - *334 + - *324 responses: '204': description: Response @@ -45333,7 +44549,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *81 - - &344 + - &334 name: actor_type in: path description: The type of the actor @@ -45346,14 +44562,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &345 + - &335 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &340 + - &330 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`.' @@ -45361,7 +44577,7 @@ paths: required: true schema: type: string - - &341 + - &331 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) @@ -45456,12 +44672,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *81 - - *340 - - *341 + - *330 + - *331 - *19 - *17 - *104 - - &350 + - &340 name: sort description: The property to sort the results by. in: query @@ -45541,14 +44757,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *81 - - *340 - - *341 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: &342 + schema: &332 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -45564,7 +44780,7 @@ paths: type: integer format: int64 examples: - default: &343 + default: &333 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -45585,23 +44801,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *81 - - &346 + - &336 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *340 - - *341 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *342 + schema: *332 examples: - default: *343 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -45620,18 +44836,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *81 - - *340 - - *341 - - *344 - - *345 + - *330 + - *331 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *342 + schema: *332 examples: - default: *343 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -45649,9 +44865,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *81 - - *340 - - *341 - - &347 + - *330 + - *331 + - &337 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -45664,7 +44880,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &338 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -45680,7 +44896,7 @@ paths: type: integer format: int64 examples: - default: &349 + default: &339 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -45717,18 +44933,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *81 - - *346 - - *340 - - *341 - - *347 + - *336 + - *330 + - *331 + - *337 responses: '200': description: Response content: application/json: - schema: *348 + schema: *338 examples: - default: *349 + default: *339 x-github: enabledForGitHubApps: true category: orgs @@ -45746,19 +44962,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *81 - - *344 - - *345 - - *340 - - *341 - - *347 + - *334 + - *335 + - *330 + - *331 + - *337 responses: '200': description: Response content: application/json: - schema: *348 + schema: *338 examples: - default: *349 + default: *339 x-github: enabledForGitHubApps: true category: orgs @@ -45776,13 +44992,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *81 - - *346 - - *340 - - *341 + - *336 + - *330 + - *331 - *19 - *17 - *104 - - *350 + - *340 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -45866,7 +45082,7 @@ paths: application/json: schema: *20 examples: - default: &636 + default: &620 value: id: 1 account: @@ -46032,12 +45248,12 @@ paths: application/json: schema: anyOf: - - &352 + - &342 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &351 + limit: &341 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -46065,7 +45281,7 @@ paths: properties: {} additionalProperties: false examples: - default: &353 + default: &343 value: limit: collaborators_only origin: organization @@ -46094,13 +45310,13 @@ paths: required: true content: application/json: - schema: &637 + schema: &621 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *351 + limit: *341 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -46125,9 +45341,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *342 examples: - default: *353 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -46205,9 +45421,9 @@ paths: application/json: schema: type: array - items: *354 + items: *344 examples: - default: *355 + default: *345 headers: Link: *41 '404': *6 @@ -46285,7 +45501,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *344 examples: default: value: @@ -46342,7 +45558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *81 - - &356 + - &346 name: invitation_id description: The unique identifier of the invitation. in: path @@ -46376,7 +45592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *81 - - *356 + - *346 - *17 - *19 responses: @@ -46386,9 +45602,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: &371 + default: &361 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -46431,7 +45647,7 @@ paths: application/json: schema: type: array - items: *357 + items: *347 examples: default: value: @@ -46519,9 +45735,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *347 examples: - default: &358 + default: &348 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -46554,7 +45770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *81 - - &359 + - &349 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -46610,9 +45826,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *347 examples: - default: *358 + default: *348 '404': *6 '422': *7 x-github: @@ -46637,7 +45853,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *81 - - *359 + - *349 responses: '204': description: Response @@ -46700,7 +45916,7 @@ paths: - closed - all default: open - - *360 + - *350 - name: type description: Can be the name of an issue type. in: query @@ -46731,7 +45947,7 @@ paths: type: array items: *219 examples: - default: *361 + default: *351 headers: Link: *41 '404': *6 @@ -46890,9 +46106,9 @@ paths: type: integer codespaces: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 '304': *35 '500': *38 '401': *23 @@ -46919,7 +46135,7 @@ paths: parameters: - *81 - *132 - - &364 + - &354 name: codespace_name in: path required: true @@ -46954,15 +46170,15 @@ paths: parameters: - *81 - *132 - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: &559 + default: &543 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -47218,7 +46434,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &355 title: Org Membership description: Org Membership type: object @@ -47287,7 +46503,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &366 + response-if-user-has-an-active-admin-membership-with-organization: &356 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -47384,9 +46600,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: - response-if-user-already-had-membership-with-organization: *366 + response-if-user-already-had-membership-with-organization: *356 '422': *15 '403': *27 x-github: @@ -47458,7 +46674,7 @@ paths: application/json: schema: type: array - items: &367 + items: &357 title: Migration description: A migration. type: object @@ -47796,7 +47012,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -47975,7 +47191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *81 - - &368 + - &358 name: migration_id description: The unique identifier of the migration. in: path @@ -48003,7 +47219,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -48173,7 +47389,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *81 - - *368 + - *358 responses: '302': description: Response @@ -48195,7 +47411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *81 - - *368 + - *358 responses: '204': description: Response @@ -48219,8 +47435,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *81 - - *368 - - &807 + - *358 + - &791 name: repo_name description: repo_name parameter in: path @@ -48248,7 +47464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *81 - - *368 + - *358 - *17 - *19 responses: @@ -48258,9 +47474,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: &378 + default: &368 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -48469,7 +47685,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &369 + items: &359 title: Organization Role description: Organization roles type: object @@ -48678,7 +47894,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *359 examples: default: value: @@ -48908,7 +48124,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *359 examples: default: value: @@ -49005,7 +48221,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *359 examples: default: value: @@ -49164,7 +48380,7 @@ paths: parent: anyOf: - type: 'null' - - *370 + - *360 type: description: The ownership type of the team type: string @@ -49197,7 +48413,7 @@ paths: - type - parent examples: - default: *371 + default: *361 headers: Link: *41 '404': @@ -49256,7 +48472,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *370 + items: *360 name: type: - string @@ -49566,7 +48782,7 @@ paths: - nuget - container - *81 - - &808 + - &792 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49602,12 +48818,12 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *373 + default: *363 '403': *27 '401': *23 - '400': &810 + '400': &794 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -49629,7 +48845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &374 + - &364 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 @@ -49647,7 +48863,7 @@ paths: - docker - nuget - container - - &375 + - &365 name: package_name description: The name of the package. in: path @@ -49660,7 +48876,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *362 examples: default: value: @@ -49712,8 +48928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 responses: '204': @@ -49746,8 +48962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 - name: token description: package token @@ -49780,8 +48996,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: - - *374 - - *375 + - *364 + - *365 - *81 - *19 - *17 @@ -49802,7 +49018,7 @@ paths: application/json: schema: type: array - items: &376 + items: &366 title: Package Version description: A version of a software package type: object @@ -49937,10 +49153,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: - - *374 - - *375 + - *364 + - *365 - *81 - - &377 + - &367 name: package_version_id description: Unique identifier of the package version. in: path @@ -49952,7 +49168,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *366 examples: default: value: @@ -49988,10 +49204,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 - - *377 + - *367 responses: '204': description: Response @@ -50023,10 +49239,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 - - *377 + - *367 responses: '204': description: Response @@ -50056,7 +49272,7 @@ paths: - *81 - *17 - *19 - - &379 + - &369 name: sort description: The property by which to sort the results. in: query @@ -50067,7 +49283,7 @@ paths: - created_at default: created_at - *104 - - &380 + - &370 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -50079,7 +49295,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &381 + - &371 name: repository description: The name of the repository to use to filter the results. in: query @@ -50088,7 +49304,7 @@ paths: type: string examples: - Hello-World - - &382 + - &372 name: permission description: The permission to use to filter the results. in: query @@ -50097,7 +49313,7 @@ paths: type: string examples: - issues_read - - &383 + - &373 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) @@ -50107,7 +49323,7 @@ paths: schema: type: string format: date-time - - &384 + - &374 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) @@ -50117,7 +49333,7 @@ paths: schema: type: string format: date-time - - &385 + - &375 name: token_id description: The ID of the token in: query @@ -50434,9 +49650,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -50462,14 +49678,14 @@ paths: - *81 - *17 - *19 - - *379 + - *369 - *104 - - *380 - - *381 - - *382 - - *383 - - *384 - - *385 + - *370 + - *371 + - *372 + - *373 + - *374 + - *375 responses: '500': *38 '422': *15 @@ -50751,9 +49967,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -50795,7 +50011,7 @@ paths: type: integer configurations: type: array - items: &386 + items: &376 title: Organization private registry description: Private registry configuration for an organization type: object @@ -51091,7 +50307,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &387 + org-private-registry-with-selected-visibility: &377 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -51183,15 +50399,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *81 - - *283 + - *273 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *386 + schema: *376 examples: - default: *387 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -51213,7 +50429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -51319,7 +50535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -51359,7 +50575,7 @@ paths: application/json: schema: type: array - items: &388 + items: &378 title: Projects v2 Project description: A projects v2 project type: object @@ -51433,7 +50649,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &884 + - &868 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -51518,7 +50734,7 @@ paths: - deleted_at - deleted_by examples: - default: &389 + default: &379 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -51621,7 +50837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &390 + - &380 name: project_number description: The project's number. in: path @@ -51634,9 +50850,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 headers: Link: *41 '304': *35 @@ -51659,7 +50875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *81 - - *390 + - *380 requestBody: required: true description: Details of the draft item to create in the project. @@ -51693,7 +50909,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &385 title: Projects v2 Item description: An item belonging to a project type: object @@ -51707,7 +50923,7 @@ paths: content: oneOf: - *219 - - &572 + - &556 title: Pull Request Simple description: Pull Request Simple type: object @@ -51827,7 +51043,7 @@ paths: milestone: anyOf: - type: 'null' - - *391 + - *381 active_lock_reason: type: - string @@ -51882,7 +51098,7 @@ paths: type: - array - 'null' - items: *302 + items: *292 head: type: object properties: @@ -51926,7 +51142,7 @@ paths: _links: type: object properties: - comments: &392 + comments: &382 title: Link description: Hypermedia Link type: object @@ -51935,13 +51151,13 @@ paths: type: string required: - href - commits: *392 - statuses: *392 - html: *392 - issue: *392 - review_comments: *392 - review_comment: *392 - self: *392 + commits: *382 + statuses: *382 + html: *382 + issue: *382 + review_comments: *382 + review_comment: *382 + self: *382 required: - comments - commits @@ -51952,7 +51168,7 @@ paths: - review_comment - self author_association: *206 - auto_merge: &682 + auto_merge: &666 title: Auto merge description: The status of auto merging a pull request. type: @@ -52054,7 +51270,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &394 + content_type: &384 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -52098,7 +51314,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &396 + draft_issue: &386 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -52172,7 +51388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *390 + - *380 - *81 - *17 - *102 @@ -52184,7 +51400,7 @@ paths: application/json: schema: type: array - items: &393 + items: &383 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -52334,7 +51550,7 @@ paths: - updated_at - project_url examples: - default: &827 + default: &811 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52465,8 +51681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *390 - - &828 + - *380 + - &812 name: field_id description: The unique identifier of the field. in: path @@ -52479,9 +51695,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *383 examples: - default: &829 + default: &813 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52525,7 +51741,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: - - *390 + - *380 - *81 - 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) @@ -52558,7 +51774,7 @@ paths: application/json: schema: type: array - items: &397 + items: &387 title: Projects v2 Item description: An item belonging to a project type: object @@ -52575,7 +51791,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *394 + content_type: *384 content: type: - object @@ -52625,7 +51841,7 @@ paths: - updated_at - archived_at examples: - default: &398 + default: &388 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -53322,7 +52538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *81 - - *390 + - *380 requestBody: required: true description: Details of the item to add to the project. @@ -53359,10 +52575,10 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - issue: *396 - pull_request: *396 + issue: *386 + pull_request: *386 '304': *35 '403': *27 '401': *23 @@ -53382,9 +52598,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: - - *390 + - *380 - *81 - - &399 + - &389 name: item_id description: The unique identifier of the project item. in: path @@ -53410,9 +52626,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - default: *398 + default: *388 headers: Link: *41 '304': *35 @@ -53433,9 +52649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *390 + - *380 - *81 - - *399 + - *389 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -53508,13 +52724,13 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - text_field: *398 - number_field: *398 - date_field: *398 - single_select_field: *398 - iteration_field: *398 + text_field: *388 + number_field: *388 + date_field: *388 + single_select_field: *388 + iteration_field: *388 '401': *23 '403': *27 '404': *6 @@ -53534,9 +52750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *390 + - *380 - *81 - - *399 + - *389 responses: '204': description: Response @@ -53699,7 +52915,7 @@ paths: required: true content: application/json: - schema: *400 + schema: *390 examples: default: value: @@ -54065,9 +53281,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -54271,7 +53487,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &449 title: Full Repository description: Full Repository type: object @@ -54736,7 +53952,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &577 + code_of_conduct: &561 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -54766,7 +53982,7 @@ paths: - key - name - html_url - security_and_analysis: *401 + security_and_analysis: *391 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -54850,7 +54066,7 @@ paths: - network_count - subscribers_count examples: - default: &467 + default: &451 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55376,9 +54592,9 @@ paths: application/json: schema: type: array - items: *402 + items: *392 examples: - default: *403 + default: *393 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55403,7 +54619,7 @@ paths: - *81 - *17 - *19 - - &705 + - &689 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55495,11 +54711,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *404 + conditions: *394 rules: type: array description: An array of rules within the ruleset. - items: &406 + items: &396 title: Repository Rule type: object description: A repository rule. @@ -55563,7 +54779,7 @@ paths: application/json: schema: *179 examples: - default: &405 + default: &395 value: id: 21 name: super cool ruleset @@ -55618,7 +54834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *81 - - &707 + - &691 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 @@ -55628,16 +54844,16 @@ paths: schema: type: string x-multi-segment: true - - *299 + - *289 - *99 - - &708 + - &692 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 - - &709 + - &693 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -55657,7 +54873,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &694 title: Rule Suites description: Response type: array @@ -55713,7 +54929,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &711 + default: &695 value: - id: 21 actor_id: 12 @@ -55757,7 +54973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *81 - - &712 + - &696 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -55773,7 +54989,7 @@ paths: description: Response content: application/json: - schema: &713 + schema: &697 title: Rule Suite description: Response type: object @@ -55880,7 +55096,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &714 + default: &698 value: id: 21 actor_id: 12 @@ -55955,7 +55171,7 @@ paths: application/json: schema: *179 examples: - default: *405 + default: *395 '404': *6 '500': *38 put: @@ -56004,11 +55220,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *404 + conditions: *394 rules: description: An array of rules within the ruleset. type: array - items: *406 + items: *396 examples: default: value: @@ -56045,7 +55261,7 @@ paths: application/json: schema: *179 examples: - default: *405 + default: *395 '404': *6 '500': *38 delete: @@ -56104,7 +55320,7 @@ paths: type: array items: *183 examples: - default: *407 + default: *397 '404': *6 '500': *38 x-github: @@ -56141,7 +55357,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *398 examples: default: value: @@ -56204,14 +55420,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *81 - - *409 - - *410 - - *411 - - *412 + - *399 + - *400 + - *401 + - *402 - *104 - *19 - *17 - - &716 + - &700 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 @@ -56221,7 +55437,7 @@ paths: required: false schema: type: string - - &717 + - &701 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 @@ -56231,10 +55447,10 @@ paths: required: false schema: type: string - - *413 - - *414 - - *415 - - *416 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -56242,9 +55458,9 @@ paths: application/json: schema: type: array - items: *417 + items: *407 examples: - default: *418 + default: *408 headers: Link: *41 '404': *6 @@ -56279,9 +55495,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *409 examples: - default: *420 + default: *410 '403': *27 '404': *6 patch: @@ -56434,7 +55650,7 @@ paths: application/json: schema: type: array - items: &738 + items: &722 description: A repository security advisory. type: object properties: @@ -56678,7 +55894,7 @@ paths: login: type: string description: The username of the user credited. - type: *421 + type: *411 credits_detailed: type: - array @@ -56689,7 +55905,7 @@ paths: type: object properties: user: *4 - type: *421 + type: *411 state: type: string description: The state of the user's acceptance of the @@ -56715,7 +55931,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *302 + items: *292 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -56753,7 +55969,7 @@ paths: - private_fork additionalProperties: false examples: - default: &739 + default: &723 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57140,9 +56356,9 @@ paths: application/json: schema: type: array - items: *370 + items: *360 examples: - default: *371 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57205,36 +56421,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: - - *81 - responses: - '200': - description: Response - content: - application/json: - schema: *422 - examples: - default: *423 - 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 @@ -57254,7 +56440,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *81 - - *424 + - *412 - *17 - *19 responses: @@ -57262,74 +56448,14 @@ paths: description: Success content: application/json: - schema: *425 + schema: *413 examples: - default: *426 + default: *414 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: - - *81 - responses: - '200': - description: Response - content: - application/json: - schema: *427 - examples: - default: *428 - 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: - - *81 - responses: - '200': - description: Response - content: - application/json: - schema: *429 - examples: - default: *430 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -57470,9 +56596,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57541,7 +56667,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *267 + - *257 responses: '204': description: Response @@ -57564,7 +56690,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *267 + - *257 responses: '204': description: Response @@ -57607,7 +56733,7 @@ paths: type: array items: *137 examples: - default: *431 + default: *415 headers: Link: *41 x-github: @@ -57808,15 +56934,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: - *81 - - *432 + - *416 responses: '200': description: Response content: application/json: - schema: *433 + schema: *417 examples: - default: *434 + default: *418 headers: Link: *41 x-github: @@ -57854,7 +56980,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &440 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -57906,7 +57032,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &457 + default: &441 value: groups: - group_id: '123' @@ -58018,9 +57144,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 headers: Link: *41 '403': *27 @@ -58114,7 +57240,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &419 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -58188,7 +57314,7 @@ paths: parent: anyOf: - type: 'null' - - *370 + - *360 members_count: type: integer examples: @@ -58513,7 +57639,7 @@ paths: - repos_count - organization examples: - default: &436 + default: &420 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58590,9 +57716,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 x-github: githubCloudOnly: false @@ -58677,16 +57803,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '201': description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 '422': *15 '403': *27 @@ -58756,7 +57882,7 @@ paths: application/json: schema: type: array - items: &437 + items: &421 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -58867,7 +57993,7 @@ paths: - updated_at - url examples: - default: &782 + default: &766 value: - author: login: octocat @@ -58976,9 +58102,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: &438 + default: &422 value: author: login: octocat @@ -59052,7 +58178,7 @@ paths: parameters: - *81 - *204 - - &439 + - &423 name: discussion_number description: The number that identifies the discussion. in: path @@ -59064,9 +58190,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *438 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59090,7 +58216,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 requestBody: required: false content: @@ -59113,9 +58239,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: &783 + default: &767 value: author: login: octocat @@ -59187,7 +58313,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 responses: '204': description: Response @@ -59215,7 +58341,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 - *104 - *17 - *19 @@ -59226,7 +58352,7 @@ paths: application/json: schema: type: array - items: &440 + items: &424 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -59306,7 +58432,7 @@ paths: - updated_at - url examples: - default: &784 + default: &768 value: - author: login: octocat @@ -59376,7 +58502,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 requestBody: required: true content: @@ -59398,9 +58524,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: &441 + default: &425 value: author: login: octocat @@ -59468,8 +58594,8 @@ paths: parameters: - *81 - *204 - - *439 - - &442 + - *423 + - &426 name: comment_number description: The number that identifies the comment. in: path @@ -59481,9 +58607,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *441 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59507,8 +58633,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 requestBody: required: true content: @@ -59530,9 +58656,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: &785 + default: &769 value: author: login: octocat @@ -59598,8 +58724,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 responses: '204': description: Response @@ -59627,8 +58753,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 - 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. @@ -59654,7 +58780,7 @@ paths: application/json: schema: type: array - items: &443 + items: &427 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -59698,7 +58824,7 @@ paths: - content - created_at examples: - default: &445 + default: &429 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59750,8 +58876,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 requestBody: required: true content: @@ -59784,9 +58910,9 @@ paths: team discussion comment content: application/json: - schema: *443 + schema: *427 examples: - default: &444 + default: &428 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59815,9 +58941,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59842,9 +58968,9 @@ paths: parameters: - *81 - *204 - - *439 - - *442 - - &446 + - *423 + - *426 + - &430 name: reaction_id description: The unique identifier of the reaction. in: path @@ -59878,7 +59004,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 - 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. @@ -59904,9 +59030,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 x-github: @@ -59934,7 +59060,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 requestBody: required: true content: @@ -59966,16 +59092,16 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60000,8 +59126,8 @@ paths: parameters: - *81 - *204 - - *439 - - *446 + - *423 + - *430 responses: '204': description: Response @@ -60031,9 +59157,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *431 examples: - default: *448 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60077,9 +59203,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *433 examples: - default: *450 + default: *434 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60134,9 +59260,9 @@ paths: application/json: schema: type: array - items: *354 + items: *344 examples: - default: *355 + default: *345 headers: Link: *41 x-github: @@ -60220,7 +59346,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &435 title: Team Membership description: Team Membership type: object @@ -60248,7 +59374,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &786 + response-if-user-is-a-team-maintainer: &770 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -60311,9 +59437,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *435 examples: - response-if-users-membership-with-team-is-now-pending: &787 + response-if-users-membership-with-team-is-now-pending: &771 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60386,7 +59512,7 @@ paths: application/json: schema: type: array - items: &452 + items: &436 title: Team Project description: A team's access to a project. type: object @@ -60455,7 +59581,7 @@ paths: - updated_at - permissions examples: - default: &788 + default: &772 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -60520,7 +59646,7 @@ paths: parameters: - *81 - *204 - - &453 + - &437 name: project_id description: The unique identifier of the project. in: path @@ -60532,9 +59658,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *436 examples: - default: &789 + default: &773 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -60598,7 +59724,7 @@ paths: parameters: - *81 - *204 - - *453 + - *437 requestBody: required: false content: @@ -60667,7 +59793,7 @@ paths: parameters: - *81 - *204 - - *453 + - *437 responses: '204': description: Response @@ -60705,9 +59831,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -60738,14 +59864,14 @@ paths: parameters: - *81 - *204 - - *454 - - *455 + - *438 + - *439 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &790 + schema: &774 title: Team Repository description: A team's access to a repository. type: object @@ -61388,8 +60514,8 @@ paths: parameters: - *81 - *204 - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -61436,8 +60562,8 @@ paths: parameters: - *81 - *204 - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -61470,9 +60596,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *440 examples: - default: *457 + default: *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61538,7 +60664,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *440 examples: default: value: @@ -61581,9 +60707,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - response-if-child-teams-exist: &791 + response-if-child-teams-exist: &775 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61710,7 +60836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &458 + - &442 name: card_id description: The unique identifier of the card. in: path @@ -61722,7 +60848,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &443 title: Project Card description: Project cards represent a scope of work. type: object @@ -61797,7 +60923,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &444 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -61853,7 +60979,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *458 + - *442 requestBody: required: false content: @@ -61883,9 +61009,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *443 examples: - default: *460 + default: *444 '304': *35 '403': *27 '401': *23 @@ -61912,7 +61038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *458 + - *442 responses: '204': description: Response @@ -61956,7 +61082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *458 + - *442 requestBody: required: true content: @@ -62069,7 +61195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &461 + - &445 name: column_id description: The unique identifier of the column. in: path @@ -62081,7 +61207,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &446 title: Project Column description: Project columns contain cards of work. type: object @@ -62135,7 +61261,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &447 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -62170,7 +61296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *461 + - *445 requestBody: required: true content: @@ -62195,9 +61321,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *446 examples: - default: *463 + default: *447 '304': *35 '403': *27 '401': *23 @@ -62222,7 +61348,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *461 + - *445 responses: '204': description: Response @@ -62251,7 +61377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *461 + - *445 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -62272,7 +61398,7 @@ paths: application/json: schema: type: array - items: *459 + items: *443 examples: default: value: @@ -62331,7 +61457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *461 + - *445 requestBody: required: true content: @@ -62375,9 +61501,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *443 examples: - default: *460 + default: *444 '304': *35 '403': *27 '401': *23 @@ -62387,8 +61513,8 @@ paths: application/json: schema: oneOf: - - *248 - - *249 + - *238 + - *239 '503': description: Response content: @@ -62433,7 +61559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *461 + - *445 requestBody: required: true content: @@ -62494,7 +61620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *453 + - *437 - 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 @@ -62551,7 +61677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *453 + - *437 - *132 requestBody: required: false @@ -62606,7 +61732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *453 + - *437 - *132 responses: '204': @@ -62638,7 +61764,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: - - *453 + - *437 - *132 responses: '200': @@ -62736,7 +61862,7 @@ paths: resources: type: object properties: - core: &464 + core: &448 title: Rate Limit type: object properties: @@ -62753,21 +61879,21 @@ paths: - remaining - reset - used - graphql: *464 - search: *464 - code_search: *464 - source_import: *464 - integration_manifest: *464 - code_scanning_upload: *464 - actions_runner_registration: *464 - scim: *464 - dependency_snapshots: *464 - dependency_sbom: *464 - code_scanning_autofix: *464 + graphql: *448 + search: *448 + code_search: *448 + source_import: *448 + integration_manifest: *448 + code_scanning_upload: *448 + actions_runner_registration: *448 + scim: *448 + dependency_snapshots: *448 + dependency_sbom: *448 + code_scanning_autofix: *448 required: - core - search - rate: *464 + rate: *448 required: - rate - resources @@ -62872,14 +61998,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *465 + schema: *449 examples: default-response: summary: Default response @@ -63384,7 +62510,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *466 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63402,8 +62528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -63661,10 +62787,10 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 - '307': &468 + default: *451 + '307': &452 description: Temporary Redirect content: application/json: @@ -63693,8 +62819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -63716,7 +62842,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': *468 + '307': *452 '404': *6 '409': *112 x-github: @@ -63740,11 +62866,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - - &483 + - &467 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63767,7 +62893,7 @@ paths: type: integer artifacts: type: array - items: &469 + items: &453 title: Artifact description: An artifact type: object @@ -63862,7 +62988,7 @@ paths: - expires_at - updated_at examples: - default: &484 + default: &468 value: total_count: 2 artifacts: @@ -63923,9 +63049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *454 - - *455 - - &470 + - *438 + - *439 + - &454 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63937,7 +63063,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *453 examples: default: value: @@ -63975,9 +63101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *438 + - *439 - *454 - - *455 - - *470 responses: '204': description: Response @@ -64001,9 +63127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *438 + - *439 - *454 - - *455 - - *470 - name: archive_format in: path required: true @@ -64017,7 +63143,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': &640 + '410': &624 description: Gone content: application/json: @@ -64044,14 +63170,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *471 + schema: *455 examples: default: value: @@ -64077,11 +63203,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: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - - &472 + - &456 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 @@ -64115,7 +63241,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &457 title: Repository actions caches description: Repository actions caches type: object @@ -64165,7 +63291,7 @@ paths: - total_count - actions_caches examples: - default: &474 + default: &458 value: total_count: 1 actions_caches: @@ -64197,23 +63323,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: - - *454 - - *455 + - *438 + - *439 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *472 + - *456 responses: '200': description: Response content: application/json: - schema: *473 + schema: *457 examples: - default: *474 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64233,8 +63359,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: - - *454 - - *455 + - *438 + - *439 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64265,9 +63391,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: - - *454 - - *455 - - &475 + - *438 + - *439 + - &459 name: job_id description: The unique identifier of the job. in: path @@ -64279,7 +63405,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &471 title: Job description: Information of a job execution in a workflow run type: object @@ -64626,9 +63752,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: - - *454 - - *455 - - *475 + - *438 + - *439 + - *459 responses: '302': description: Response @@ -64656,9 +63782,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: - - *454 - - *455 - - *475 + - *438 + - *439 + - *459 requestBody: required: false content: @@ -64680,7 +63806,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -64704,8 +63830,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Status response @@ -64755,8 +63881,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -64790,7 +63916,7 @@ paths: description: Empty response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -64819,8 +63945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -64838,7 +63964,7 @@ paths: type: integer secrets: type: array - items: &489 + items: &473 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64859,7 +63985,7 @@ paths: - created_at - updated_at examples: - default: &490 + default: &474 value: total_count: 2 secrets: @@ -64892,9 +64018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *454 - - *455 - - *476 + - *438 + - *439 + - *460 - *19 responses: '200': @@ -64911,7 +64037,7 @@ paths: type: integer variables: type: array - items: &493 + items: &477 title: Actions Variable type: object properties: @@ -64945,7 +64071,7 @@ paths: - created_at - updated_at examples: - default: &494 + default: &478 value: total_count: 2 variables: @@ -64978,8 +64104,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -64988,11 +64114,11 @@ paths: schema: type: object properties: - enabled: &477 + enabled: &461 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *54 - selected_actions_url: *260 + selected_actions_url: *250 sha_pinning_required: *55 required: - enabled @@ -65023,8 +64149,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -65035,7 +64161,7 @@ paths: schema: type: object properties: - enabled: *477 + enabled: *461 allowed_actions: *54 sha_pinning_required: *55 required: @@ -65068,14 +64194,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: &478 + schema: &462 type: object properties: access_level: @@ -65093,7 +64219,7 @@ paths: required: - access_level examples: - default: &479 + default: &463 value: access_level: organization x-github: @@ -65118,15 +64244,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: application/json: - schema: *478 + schema: *462 examples: - default: *479 + default: *463 responses: '204': description: Response @@ -65150,14 +64276,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *262 + schema: *252 examples: default: value: @@ -65181,8 +64307,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Empty response for successful settings update @@ -65192,7 +64318,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *253 examples: default: summary: Set retention days @@ -65216,8 +64342,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -65225,7 +64351,7 @@ paths: application/json: schema: *56 examples: - default: *264 + default: *254 '404': *6 x-github: enabledForGitHubApps: true @@ -65244,8 +64370,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -65279,14 +64405,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *265 + schema: *255 examples: default: *57 '403': *27 @@ -65308,13 +64434,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: application/json: - schema: *266 + schema: *256 examples: default: *57 responses: @@ -65340,8 +64466,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -65372,8 +64498,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -65405,14 +64531,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *269 + schema: *259 examples: default: *63 x-github: @@ -65435,8 +64561,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Success response @@ -65447,7 +64573,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *260 examples: default: *63 x-github: @@ -65476,8 +64602,8 @@ paths: in: query schema: type: string - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -65521,8 +64647,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -65530,9 +64656,9 @@ paths: application/json: schema: type: array - items: *274 + items: *264 examples: - default: *275 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65554,8 +64680,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -65598,7 +64724,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *276 + '201': *266 '404': *6 '422': *7 '409': *112 @@ -65629,8 +64755,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: - - *454 - - *455 + - *438 + - *439 responses: '201': description: Response @@ -65638,7 +64764,7 @@ paths: application/json: schema: *73 examples: - default: *277 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65666,8 +64792,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: - - *454 - - *455 + - *438 + - *439 responses: '201': description: Response @@ -65675,7 +64801,7 @@ paths: application/json: schema: *73 examples: - default: *278 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65697,8 +64823,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: '200': @@ -65707,7 +64833,7 @@ paths: application/json: schema: *70 examples: - default: *279 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65728,8 +64854,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: '204': @@ -65756,8 +64882,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: '200': *75 @@ -65782,8 +64908,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: - - *454 - - *455 + - *438 + - *439 - *69 requestBody: required: true @@ -65832,8 +64958,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: - - *454 - - *455 + - *438 + - *439 - *69 requestBody: required: true @@ -65883,11 +65009,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: - '200': *280 + '200': *270 '404': *6 x-github: githubCloudOnly: false @@ -65914,10 +65040,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: - - *454 - - *455 + - *438 + - *439 - *69 - - *281 + - *271 responses: '200': *75 '404': *6 @@ -65945,9 +65071,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: - - *454 - - *455 - - &497 + - *438 + - *439 + - &481 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. @@ -65955,7 +65081,7 @@ paths: required: false schema: type: string - - &498 + - &482 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -65963,7 +65089,7 @@ paths: required: false schema: type: string - - &499 + - &483 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -65972,7 +65098,7 @@ paths: required: false schema: type: string - - &500 + - &484 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 @@ -65999,7 +65125,7 @@ paths: - pending - *17 - *19 - - &501 + - &485 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)." @@ -66008,7 +65134,7 @@ paths: schema: type: string format: date-time - - &480 + - &464 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66017,13 +65143,13 @@ paths: schema: type: boolean default: false - - &502 + - &486 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &503 + - &487 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66046,7 +65172,7 @@ paths: type: integer workflow_runs: type: array - items: &481 + items: &465 title: Workflow Run description: An invocation of a workflow type: object @@ -66163,7 +65289,7 @@ paths: type: - array - 'null' - items: &522 + items: &506 title: Pull Request Minimal type: object properties: @@ -66290,7 +65416,7 @@ paths: head_commit: anyOf: - type: 'null' - - &526 + - &510 title: Simple Commit description: A commit. type: object @@ -66364,8 +65490,8 @@ paths: - timestamp - author - committer - repository: *273 - head_repository: *273 + repository: *263 + head_repository: *263 head_repository_id: type: integer examples: @@ -66405,7 +65531,7 @@ paths: - workflow_url - pull_requests examples: - default: &504 + default: &488 value: total_count: 1 workflow_runs: @@ -66641,24 +65767,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *454 - - *455 - - &482 + - *438 + - *439 + - &466 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *480 + - *464 responses: '200': description: Response content: application/json: - schema: *481 + schema: *465 examples: - default: &485 + default: &469 value: id: 30433642 name: Build @@ -66899,9 +66025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '204': description: Response @@ -66924,9 +66050,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '200': description: Response @@ -67054,15 +66180,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -67089,12 +66215,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 - *17 - *19 - - *483 + - *467 responses: '200': description: Response @@ -67110,9 +66236,9 @@ paths: type: integer artifacts: type: array - items: *469 + items: *453 examples: - default: *484 + default: *468 headers: Link: *41 x-github: @@ -67136,25 +66262,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *454 - - *455 - - *482 - - &486 + - *438 + - *439 + - *466 + - &470 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *480 + - *464 responses: '200': description: Response content: application/json: - schema: *481 + schema: *465 examples: - default: *485 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67177,10 +66303,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: - - *454 - - *455 - - *482 - - *486 + - *438 + - *439 + - *466 + - *470 - *17 - *19 responses: @@ -67198,9 +66324,9 @@ paths: type: integer jobs: type: array - items: *487 + items: *471 examples: - default: &488 + default: &472 value: total_count: 1 jobs: @@ -67313,10 +66439,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *454 - - *455 - - *482 - - *486 + - *438 + - *439 + - *466 + - *470 responses: '302': description: Response @@ -67344,15 +66470,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '202': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -67379,9 +66505,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: true content: @@ -67448,15 +66574,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '202': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -67483,9 +66609,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 - 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 @@ -67515,9 +66641,9 @@ paths: type: integer jobs: type: array - items: *487 + items: *471 examples: - default: *488 + default: *472 headers: Link: *41 x-github: @@ -67542,9 +66668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '302': description: Response @@ -67571,9 +66697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '204': description: Response @@ -67600,9 +66726,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '200': description: Response @@ -67671,7 +66797,7 @@ paths: items: type: object properties: - type: &606 + type: &590 type: string description: The type of reviewer. enum: @@ -67682,7 +66808,7 @@ paths: reviewer: anyOf: - *4 - - *302 + - *292 required: - environment - wait_timer @@ -67757,9 +66883,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: true content: @@ -67809,7 +66935,7 @@ paths: application/json: schema: type: array - items: &592 + items: &576 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67921,7 +67047,7 @@ paths: - created_at - updated_at examples: - default: &593 + default: &577 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67977,9 +67103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: false content: @@ -68001,7 +67127,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68024,9 +67150,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: false content: @@ -68048,7 +67174,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68081,9 +67207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '200': description: Response @@ -68220,8 +67346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -68239,9 +67365,9 @@ paths: type: integer secrets: type: array - items: *489 + items: *473 examples: - default: *490 + default: *474 headers: Link: *41 x-github: @@ -68266,16 +67392,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *491 + schema: *475 examples: - default: *492 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68297,17 +67423,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '200': description: Response content: application/json: - schema: *489 + schema: *473 examples: - default: &619 + default: &603 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68333,9 +67459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 requestBody: required: true content: @@ -68366,7 +67492,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68392,9 +67518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '204': description: Response @@ -68419,9 +67545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *454 - - *455 - - *476 + - *438 + - *439 + - *460 - *19 responses: '200': @@ -68438,9 +67564,9 @@ paths: type: integer variables: type: array - items: *493 + items: *477 examples: - default: *494 + default: *478 headers: Link: *41 x-github: @@ -68463,8 +67589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -68491,7 +67617,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68516,17 +67642,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *454 - - *455 - - *286 + - *438 + - *439 + - *276 responses: '200': description: Response content: application/json: - schema: *493 + schema: *477 examples: - default: &620 + default: &604 value: name: USERNAME value: octocat @@ -68552,9 +67678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *454 - - *455 - - *286 + - *438 + - *439 + - *276 requestBody: required: true content: @@ -68596,9 +67722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *454 - - *455 - - *286 + - *438 + - *439 + - *276 responses: '204': description: Response @@ -68623,8 +67749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -68642,7 +67768,7 @@ paths: type: integer workflows: type: array - items: &495 + items: &479 title: Workflow description: A GitHub Actions workflow type: object @@ -68760,9 +67886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *454 - - *455 - - &496 + - *438 + - *439 + - &480 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68777,7 +67903,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *479 examples: default: value: @@ -68810,9 +67936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '204': description: Response @@ -68837,9 +67963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '204': description: Response @@ -68890,9 +68016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '204': description: Response @@ -68919,19 +68045,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: - - *454 - - *455 - - *496 - - *497 - - *498 - - *499 - - *500 + - *438 + - *439 + - *480 + - *481 + - *482 + - *483 + - *484 - *17 - *19 - - *501 - - *480 - - *502 - - *503 + - *485 + - *464 + - *486 + - *487 responses: '200': description: Response @@ -68947,9 +68073,9 @@ paths: type: integer workflow_runs: type: array - items: *481 + items: *465 examples: - default: *504 + default: *488 headers: Link: *41 x-github: @@ -68982,9 +68108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '200': description: Response @@ -69045,8 +68171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *454 - - *455 + - *438 + - *439 - *104 - *17 - *102 @@ -69214,8 +68340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -69252,8 +68378,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: - - *454 - - *455 + - *438 + - *439 - name: assignee in: path required: true @@ -69289,8 +68415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -69402,8 +68528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *102 - *103 @@ -69460,7 +68586,7 @@ paths: initiator: type: string examples: - default: *505 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69480,8 +68606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -69489,7 +68615,7 @@ paths: application/json: schema: type: array - items: &506 + items: &490 title: Autolink reference description: An autolink reference. type: object @@ -69548,8 +68674,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -69588,9 +68714,9 @@ paths: description: response content: application/json: - schema: *506 + schema: *490 examples: - default: &507 + default: &491 value: id: 1 key_prefix: TICKET- @@ -69621,9 +68747,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: - - *454 - - *455 - - &508 + - *438 + - *439 + - &492 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69635,9 +68761,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *490 examples: - default: *507 + default: *491 '404': *6 x-github: githubCloudOnly: false @@ -69657,9 +68783,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: - - *454 - - *455 - - *508 + - *438 + - *439 + - *492 responses: '204': description: Response @@ -69683,8 +68809,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response if Dependabot is enabled @@ -69734,8 +68860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -69756,8 +68882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -69777,8 +68903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *454 - - *455 + - *438 + - *439 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -69816,7 +68942,7 @@ paths: - url protected: type: boolean - protection: &510 + protection: &494 title: Branch Protection description: Branch Protection type: object @@ -69859,7 +68985,7 @@ paths: required: - contexts - checks - enforce_admins: &513 + enforce_admins: &497 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69876,7 +69002,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &515 + required_pull_request_reviews: &499 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -69898,7 +69024,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *302 + items: *292 apps: description: The list of apps with review dismissal access. @@ -69930,7 +69056,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *302 + items: *292 apps: description: The list of apps allowed to bypass pull request requirements. @@ -69960,7 +69086,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &512 + restrictions: &496 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70023,7 +69149,7 @@ paths: type: string teams: type: array - items: *302 + items: *292 apps: type: array items: @@ -70253,9 +69379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *454 - - *455 - - &511 + - *438 + - *439 + - &495 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). @@ -70269,14 +69395,14 @@ paths: description: Response content: application/json: - schema: &521 + schema: &505 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &568 + commit: &552 title: Commit description: Commit type: object @@ -70315,7 +69441,7 @@ paths: author: anyOf: - type: 'null' - - &509 + - &493 title: Git User description: Metaproperties for Git author/committer information. @@ -70336,7 +69462,7 @@ paths: committer: anyOf: - type: 'null' - - *509 + - *493 message: type: string examples: @@ -70360,7 +69486,7 @@ paths: required: - sha - url - verification: &626 + verification: &610 title: Verification type: object properties: @@ -70396,14 +69522,14 @@ paths: author: oneOf: - *4 - - *284 + - *274 type: - 'null' - object committer: oneOf: - *4 - - *284 + - *274 type: - 'null' - object @@ -70440,7 +69566,7 @@ paths: type: integer files: type: array - items: &579 + items: &563 title: Diff Entry description: Diff Entry type: object @@ -70536,7 +69662,7 @@ paths: - self protected: type: boolean - protection: *510 + protection: *494 protection_url: type: string format: uri @@ -70645,7 +69771,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *466 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -70667,15 +69793,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *510 + schema: *494 examples: default: value: @@ -70869,9 +69995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -71131,7 +70257,7 @@ paths: url: type: string format: uri - required_status_checks: &518 + required_status_checks: &502 title: Status Check Policy description: Status Check Policy type: object @@ -71212,7 +70338,7 @@ paths: items: *4 teams: type: array - items: *302 + items: *292 apps: type: array items: *5 @@ -71230,7 +70356,7 @@ paths: items: *4 teams: type: array - items: *302 + items: *292 apps: type: array items: *5 @@ -71290,7 +70416,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *512 + restrictions: *496 required_conversation_resolution: type: object properties: @@ -71402,9 +70528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71429,17 +70555,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: &514 + default: &498 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71461,17 +70587,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: *514 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71490,9 +70616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71517,17 +70643,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *515 + schema: *499 examples: - default: &516 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71623,9 +70749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -71723,9 +70849,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *499 examples: - default: *516 + default: *500 '422': *15 x-github: githubCloudOnly: false @@ -71746,9 +70872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71775,17 +70901,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: &517 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71808,17 +70934,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: *517 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -71838,9 +70964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71865,17 +70991,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *518 + schema: *502 examples: - default: &519 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71901,9 +71027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -71955,9 +71081,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *502 examples: - default: *519 + default: *503 '404': *6 '422': *15 x-github: @@ -71979,9 +71105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -72005,9 +71131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72041,9 +71167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72110,9 +71236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72176,9 +71302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: content: application/json: @@ -72244,15 +71370,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *512 + schema: *496 examples: default: value: @@ -72343,9 +71469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -72368,9 +71494,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: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72380,7 +71506,7 @@ paths: type: array items: *5 examples: - default: &520 + default: &504 value: - id: 1 slug: octoapp @@ -72437,9 +71563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72473,7 +71599,7 @@ paths: type: array items: *5 examples: - default: *520 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -72494,9 +71620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72530,7 +71656,7 @@ paths: type: array items: *5 examples: - default: *520 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -72551,9 +71677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72587,7 +71713,7 @@ paths: type: array items: *5 examples: - default: *520 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -72609,9 +71735,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: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72619,9 +71745,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '404': *6 x-github: githubCloudOnly: false @@ -72641,9 +71767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72679,9 +71805,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '422': *15 x-github: githubCloudOnly: false @@ -72702,9 +71828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72740,9 +71866,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '422': *15 x-github: githubCloudOnly: false @@ -72763,9 +71889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: content: application/json: @@ -72800,9 +71926,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '422': *15 x-github: githubCloudOnly: false @@ -72824,9 +71950,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: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72860,9 +71986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72920,9 +72046,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72980,9 +72106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -73042,9 +72168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -73066,7 +72192,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *505 examples: default: value: @@ -73180,8 +72306,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *454 - - *455 + - *438 + - *439 - *97 - *98 - *99 @@ -73195,9 +72321,9 @@ paths: application/json: schema: type: array - items: *297 + items: *287 examples: - default: *298 + default: *288 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -73217,8 +72343,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_request_number in: path required: true @@ -73232,7 +72358,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *287 examples: default: value: @@ -73291,8 +72417,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - *97 - *98 - *99 @@ -73306,9 +72432,9 @@ paths: application/json: schema: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 '404': *6 '403': *27 '500': *38 @@ -73332,8 +72458,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_request_number in: path required: true @@ -73345,7 +72471,7 @@ paths: description: A single bypass request. content: application/json: - schema: *300 + schema: *290 examples: default: value: @@ -73403,8 +72529,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_request_number in: path required: true @@ -73475,8 +72601,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_response_id in: path required: true @@ -73509,8 +72635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -73789,7 +72915,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &507 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73924,8 +73050,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *522 - deployment: &840 + items: *506 + deployment: &824 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74212,9 +73338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *454 - - *455 - - &524 + - *438 + - *439 + - &508 name: check_run_id description: The unique identifier of the check run. in: path @@ -74226,9 +73352,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *507 examples: - default: &525 + default: &509 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74328,9 +73454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *454 - - *455 - - *524 + - *438 + - *439 + - *508 requestBody: required: true content: @@ -74570,9 +73696,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *507 examples: - default: *525 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74592,9 +73718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *454 - - *455 - - *524 + - *438 + - *439 + - *508 - *17 - *19 responses: @@ -74704,15 +73830,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *454 - - *455 - - *524 + - *438 + - *439 + - *508 responses: '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -74750,8 +73876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -74773,7 +73899,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &527 + schema: &511 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74855,12 +73981,12 @@ paths: type: - array - 'null' - items: *522 + items: *506 app: anyOf: - type: 'null' - *5 - repository: *273 + repository: *263 created_at: type: - string @@ -74871,7 +73997,7 @@ paths: - string - 'null' format: date-time - head_commit: *526 + head_commit: *510 latest_check_runs_count: type: integer check_runs_url: @@ -74899,7 +74025,7 @@ paths: - check_runs_url - pull_requests examples: - default: &528 + default: &512 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75190,9 +74316,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *527 + schema: *511 examples: - default: *528 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75211,8 +74337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -75273,7 +74399,7 @@ paths: required: - app_id - setting - repository: *273 + repository: *263 examples: default: value: @@ -75521,9 +74647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *454 - - *455 - - &529 + - *438 + - *439 + - &513 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75535,9 +74661,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *511 examples: - default: *528 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75560,17 +74686,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: - - *454 - - *455 - - *529 - - &574 + - *438 + - *439 + - *513 + - &558 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &575 + - &559 name: status description: Returns check runs with the specified `status`. in: query @@ -75609,9 +74735,9 @@ paths: type: integer check_runs: type: array - items: *523 + items: *507 examples: - default: &576 + default: &560 value: total_count: 1 check_runs: @@ -75713,15 +74839,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *454 - - *455 - - *529 + - *438 + - *439 + - *513 responses: '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -75748,21 +74874,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: - - *454 - - *455 - - *306 - - *307 + - *438 + - *439 + - *296 + - *297 - *19 - *17 - - &545 + - &529 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: *530 - - &546 + schema: *514 + - &530 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75787,13 +74913,13 @@ paths: be returned. in: query required: false - schema: *308 + schema: *298 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *531 + schema: *515 responses: '200': description: Response @@ -75809,7 +74935,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *532 + instances_url: *516 state: *107 fixed_at: *129 dismissed_by: @@ -75817,11 +74943,11 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *533 - dismissed_comment: *534 - rule: *535 - tool: *536 - most_recent_instance: *537 + dismissed_reason: *517 + dismissed_comment: *518 + rule: *519 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: anyOf: - type: 'null' @@ -75944,7 +75070,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &538 + '403': &522 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -75971,9 +75097,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: - - *454 - - *455 - - &539 + - *438 + - *439 + - &523 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -75987,7 +75113,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &524 type: object properties: number: *119 @@ -75995,7 +75121,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *532 + instances_url: *516 state: *107 fixed_at: *129 dismissed_by: @@ -76003,8 +75129,8 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *533 - dismissed_comment: *534 + dismissed_reason: *517 + dismissed_comment: *518 rule: type: object properties: @@ -76066,8 +75192,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *536 - most_recent_instance: *537 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: anyOf: - type: 'null' @@ -76163,7 +75289,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76183,9 +75309,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 requestBody: required: true content: @@ -76200,8 +75326,8 @@ paths: enum: - open - dismissed - dismissed_reason: *533 - dismissed_comment: *534 + dismissed_reason: *517 + dismissed_comment: *518 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76220,7 +75346,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *524 examples: default: value: @@ -76296,7 +75422,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &544 + '403': &528 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76323,15 +75449,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 responses: '200': description: Response content: application/json: - schema: &541 + schema: &525 type: object properties: status: @@ -76358,13 +75484,13 @@ paths: - description - started_at examples: - default: &542 + default: &526 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &543 + '400': &527 description: Bad Request content: application/json: @@ -76375,7 +75501,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': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76400,29 +75526,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 responses: '200': description: OK content: application/json: - schema: *541 + schema: *525 examples: - default: *542 + default: *526 '202': description: Accepted content: application/json: - schema: *541 + schema: *525 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *543 + '400': *527 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76454,9 +75580,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 requestBody: required: false content: @@ -76502,8 +75628,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *543 - '403': *544 + '400': *527 + '403': *528 '404': *6 '422': description: Unprocessable Entity @@ -76527,13 +75653,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 - *19 - *17 - - *545 - - *546 + - *529 + - *530 responses: '200': description: Response @@ -76541,7 +75667,7 @@ paths: application/json: schema: type: array - items: *537 + items: *521 examples: default: value: @@ -76580,7 +75706,7 @@ paths: end_column: 50 classifications: - source - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76614,25 +75740,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: - - *454 - - *455 - - *306 - - *307 + - *438 + - *439 + - *296 + - *297 - *19 - *17 - - *546 + - *530 - 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: *530 + schema: *514 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &549 + schema: &533 type: string description: An identifier for the upload. examples: @@ -76654,23 +75780,23 @@ paths: application/json: schema: type: array - items: &550 + items: &534 type: object properties: - ref: *530 - commit_sha: &558 + ref: *514 + commit_sha: &542 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: *547 + analysis_key: *531 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *548 + category: *532 error: type: string examples: @@ -76695,8 +75821,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *549 - tool: *536 + sarif_id: *533 + tool: *520 deletable: type: boolean warning: @@ -76758,7 +75884,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76794,8 +75920,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: - - *454 - - *455 + - *438 + - *439 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76808,7 +75934,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *534 examples: response: summary: application/json response @@ -76862,7 +75988,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *538 + '403': *522 '404': *6 '422': description: Response if analysis could not be processed @@ -76949,8 +76075,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: - - *454 - - *455 + - *438 + - *439 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77006,7 +76132,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': *544 + '403': *528 '404': *6 '503': *184 x-github: @@ -77028,8 +76154,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -77037,7 +76163,7 @@ paths: application/json: schema: type: array - items: &551 + items: &535 title: CodeQL Database description: A CodeQL database. type: object @@ -77149,7 +76275,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': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -77178,8 +76304,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: - - *454 - - *455 + - *438 + - *439 - name: language in: path description: The language of the CodeQL database. @@ -77191,7 +76317,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *535 examples: default: value: @@ -77223,9 +76349,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': &581 + '302': &565 description: Found - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -77247,8 +76373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *454 - - *455 + - *438 + - *439 - name: language in: path description: The language of the CodeQL database. @@ -77258,7 +76384,7 @@ paths: responses: '204': description: Response - '403': *544 + '403': *528 '404': *6 '503': *184 x-github: @@ -77286,8 +76412,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -77296,7 +76422,7 @@ paths: type: object additionalProperties: false properties: - language: &552 + language: &536 type: string description: The language targeted by the CodeQL query enum: @@ -77376,7 +76502,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &556 + schema: &540 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77386,7 +76512,7 @@ paths: description: The ID of the variant analysis. controller_repo: *113 actor: *4 - query_language: *552 + query_language: *536 query_pack_url: type: string description: The download url for the query pack. @@ -77434,7 +76560,7 @@ paths: items: type: object properties: - repository: &553 + repository: &537 title: Repository Identifier description: Repository Identifier type: object @@ -77476,7 +76602,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &557 + analysis_status: &541 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77508,7 +76634,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &554 + access_mismatch_repos: &538 type: object properties: repository_count: @@ -77523,7 +76649,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: *553 + items: *537 required: - repository_count - repositories @@ -77546,8 +76672,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *554 - over_limit_repos: *554 + no_codeql_db_repos: *538 + over_limit_repos: *538 required: - access_mismatch_repos - not_found_repos @@ -77563,7 +76689,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &555 + value: &539 summary: Default response value: id: 1 @@ -77715,10 +76841,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *555 + value: *539 repository_lists: summary: Response for a successful variant analysis submission - value: *555 + value: *539 '404': *6 '422': description: Unable to process variant analysis submission @@ -77746,8 +76872,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: - - *454 - - *455 + - *438 + - *439 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77759,9 +76885,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *540 examples: - default: *555 + default: *539 '404': *6 '503': *184 x-github: @@ -77784,7 +76910,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: - - *454 + - *438 - name: repo in: path description: The name of the controller repository. @@ -77819,7 +76945,7 @@ paths: type: object properties: repository: *113 - analysis_status: *557 + analysis_status: *541 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -77944,8 +77070,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -78038,7 +77164,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -78059,8 +77185,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -78129,7 +77255,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -78154,7 +77280,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *544 + '403': *528 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78225,8 +77351,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -78234,7 +77360,7 @@ paths: schema: type: object properties: - commit_sha: *558 + commit_sha: *542 ref: type: string description: |- @@ -78294,7 +77420,7 @@ paths: schema: type: object properties: - id: *549 + id: *533 url: type: string description: The REST API URL for checking the status of the upload. @@ -78308,7 +77434,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': *544 + '403': *528 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78331,8 +77457,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: - - *454 - - *455 + - *438 + - *439 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78380,7 +77506,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': *538 + '403': *522 '404': description: Not Found if the sarif id does not match any upload '503': *184 @@ -78405,8 +77531,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -78487,8 +77613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *454 - - *455 + - *438 + - *439 - 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 @@ -78616,8 +77742,8 @@ paths: parameters: - *17 - *19 - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -78633,7 +77759,7 @@ paths: type: integer codespaces: type: array - items: *362 + items: *352 examples: default: value: @@ -78931,8 +78057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -78996,17 +78122,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '400': *14 '401': *23 '403': *27 @@ -79035,8 +78161,8 @@ paths: parameters: - *17 - *19 - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -79100,8 +78226,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: - - *454 - - *455 + - *438 + - *439 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79138,9 +78264,9 @@ paths: type: integer machines: type: array - items: *560 + items: *544 examples: - default: &798 + default: &782 value: total_count: 2 machines: @@ -79180,8 +78306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *454 - - *455 + - *438 + - *439 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79268,8 +78394,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: - - *454 - - *455 + - *438 + - *439 - 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 @@ -79338,8 +78464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -79357,7 +78483,7 @@ paths: type: integer secrets: type: array - items: &564 + items: &548 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79378,7 +78504,7 @@ paths: - created_at - updated_at examples: - default: *561 + default: *545 headers: Link: *41 x-github: @@ -79401,16 +78527,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *562 + schema: *546 examples: - default: *563 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79430,17 +78556,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '200': description: Response content: application/json: - schema: *564 + schema: *548 examples: - default: *565 + default: *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79460,9 +78586,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: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 requestBody: required: true content: @@ -79490,7 +78616,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -79514,9 +78640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '204': description: Response @@ -79544,8 +78670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *454 - - *455 + - *438 + - *439 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79583,7 +78709,7 @@ paths: application/json: schema: type: array - items: &566 + items: &550 title: Collaborator description: Collaborator type: object @@ -79776,8 +78902,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: - - *454 - - *455 + - *438 + - *439 - *132 responses: '204': @@ -79824,8 +78950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *454 - - *455 + - *438 + - *439 - *132 requestBody: required: false @@ -79852,7 +78978,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &639 + schema: &623 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79864,7 +78990,7 @@ paths: format: int64 examples: - 42 - repository: *273 + repository: *263 invitee: anyOf: - type: 'null' @@ -80040,7 +79166,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *248 + schema: *238 '403': *27 x-github: triggersNotification: true @@ -80080,8 +79206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *454 - - *455 + - *438 + - *439 - *132 responses: '204': @@ -80113,8 +79239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *454 - - *455 + - *438 + - *439 - *132 responses: '200': @@ -80135,7 +79261,7 @@ paths: user: anyOf: - type: 'null' - - *566 + - *550 required: - permission - role_name @@ -80189,8 +79315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -80200,7 +79326,7 @@ paths: application/json: schema: type: array - items: &567 + items: &551 title: Commit Comment description: Commit Comment type: object @@ -80258,7 +79384,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &554 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80317,17 +79443,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '200': description: Response content: application/json: - schema: *567 + schema: *551 examples: - default: &571 + default: &555 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80384,8 +79510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -80408,7 +79534,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *551 examples: default: value: @@ -80459,8 +79585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '204': @@ -80482,8 +79608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80510,9 +79636,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -80533,8 +79659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -80567,16 +79693,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -80598,10 +79724,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *454 - - *455 + - *438 + - *439 - *218 - - *446 + - *430 responses: '204': description: Response @@ -80650,8 +79776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *454 - - *455 + - *438 + - *439 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80707,9 +79833,9 @@ paths: application/json: schema: type: array - items: *568 + items: *552 examples: - default: &689 + default: &673 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80803,9 +79929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *454 - - *455 - - &569 + - *438 + - *439 + - &553 name: commit_sha description: The SHA of the commit. in: path @@ -80877,9 +80003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 - *17 - *19 responses: @@ -80889,9 +80015,9 @@ paths: application/json: schema: type: array - items: *567 + items: *551 examples: - default: *570 + default: *554 headers: Link: *41 x-github: @@ -80919,9 +80045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 requestBody: required: true content: @@ -80956,9 +80082,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *551 examples: - default: *571 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80986,9 +80112,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: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 - *17 - *19 responses: @@ -80998,9 +80124,9 @@ paths: application/json: schema: type: array - items: *572 + items: *556 examples: - default: &681 + default: &665 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81537,11 +80663,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *454 - - *455 + - *438 + - *439 - *19 - *17 - - &573 + - &557 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)" @@ -81556,9 +80682,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *552 examples: - default: &667 + default: &651 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81671,11 +80797,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: - - *454 - - *455 - - *573 - - *574 - - *575 + - *438 + - *439 + - *557 + - *558 + - *559 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81709,9 +80835,9 @@ paths: type: integer check_runs: type: array - items: *523 + items: *507 examples: - default: *576 + default: *560 headers: Link: *41 x-github: @@ -81736,9 +80862,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: - - *454 - - *455 - - *573 + - *438 + - *439 + - *557 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81746,7 +80872,7 @@ paths: schema: type: integer example: 1 - - *574 + - *558 - *17 - *19 responses: @@ -81764,7 +80890,7 @@ paths: type: integer check_suites: type: array - items: *527 + items: *511 examples: default: value: @@ -81964,9 +81090,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: - - *454 - - *455 - - *573 + - *438 + - *439 + - *557 - *17 - *19 responses: @@ -82037,7 +81163,7 @@ paths: type: string total_count: type: integer - repository: *273 + repository: *263 commit_url: type: string format: uri @@ -82168,9 +81294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *454 - - *455 - - *573 + - *438 + - *439 + - *557 - *17 - *19 responses: @@ -82180,7 +81306,7 @@ paths: application/json: schema: type: array - items: &743 + items: &727 title: Status description: The status of a commit. type: object @@ -82261,7 +81387,7 @@ paths: site_admin: false headers: Link: *41 - '301': *466 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82289,8 +81415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -82323,11 +81449,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *577 + - *561 code_of_conduct_file: anyOf: - type: 'null' - - &578 + - &562 title: Community Health File type: object properties: @@ -82347,19 +81473,19 @@ paths: contributing: anyOf: - type: 'null' - - *578 + - *562 readme: anyOf: - type: 'null' - - *578 + - *562 issue_template: anyOf: - type: 'null' - - *578 + - *562 pull_request_template: anyOf: - type: 'null' - - *578 + - *562 required: - code_of_conduct - code_of_conduct_file @@ -82488,8 +81614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *454 - - *455 + - *438 + - *439 - *19 - *17 - name: basehead @@ -82537,8 +81663,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *568 - merge_base_commit: *568 + base_commit: *552 + merge_base_commit: *552 status: type: string enum: @@ -82562,10 +81688,10 @@ paths: - 6 commits: type: array - items: *568 + items: *552 files: type: array - items: *579 + items: *563 required: - url - html_url @@ -82851,8 +81977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *454 - - *455 + - *438 + - *439 - name: path description: path parameter in: path @@ -83005,7 +82131,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &580 + response-if-content-is-a-file: &564 summary: Response if content is a file value: type: file @@ -83142,7 +82268,7 @@ paths: - size - type - url - - &694 + - &678 title: Content File description: Content File type: object @@ -83360,7 +82486,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *580 + response-if-content-is-a-file: *564 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83429,7 +82555,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *581 + '302': *565 '304': *35 x-github: githubCloudOnly: false @@ -83452,8 +82578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *454 - - *455 + - *438 + - *439 - name: path description: path parameter in: path @@ -83548,7 +82674,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &566 title: File Commit description: File Commit type: object @@ -83704,7 +82830,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *566 examples: example-for-creating-a-file: value: @@ -83758,7 +82884,7 @@ paths: schema: oneOf: - *3 - - &621 + - &605 description: Repository rule violation was detected type: object properties: @@ -83779,7 +82905,7 @@ paths: items: type: object properties: - placeholder_id: &735 + placeholder_id: &719 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83811,8 +82937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *454 - - *455 + - *438 + - *439 - name: path description: path parameter in: path @@ -83873,7 +82999,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *566 examples: default: value: @@ -83928,8 +83054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *454 - - *455 + - *438 + - *439 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84053,22 +83179,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *454 - - *455 - - *322 - - *323 - - *324 - - *325 + - *438 + - *439 + - *312 + - *313 + - *314 + - *315 - 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 - - *326 - - *583 - - *327 - - *328 + - *316 + - *567 + - *317 + - *318 - *104 - name: per_page description: The number of results per page (max 100). For more information, @@ -84087,7 +83213,7 @@ paths: application/json: schema: type: array - items: &586 + items: &570 type: object description: A Dependabot alert. properties: @@ -84137,7 +83263,7 @@ paths: - direct - transitive - - security_advisory: *584 + security_advisory: *568 security_vulnerability: *123 url: *124 html_url: *125 @@ -84168,7 +83294,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *585 + auto_dismissed_at: *569 required: - number - state @@ -84398,9 +83524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *454 - - *455 - - &587 + - *438 + - *439 + - &571 name: alert_number in: path description: |- @@ -84415,7 +83541,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *570 examples: default: value: @@ -84528,9 +83654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *454 - - *455 - - *587 + - *438 + - *439 + - *571 requestBody: required: true content: @@ -84575,7 +83701,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *570 examples: default: value: @@ -84704,8 +83830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -84723,7 +83849,7 @@ paths: type: integer secrets: type: array - items: &590 + items: &574 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84777,16 +83903,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *588 + schema: *572 examples: - default: *589 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84806,15 +83932,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '200': description: Response content: application/json: - schema: *590 + schema: *574 examples: default: value: @@ -84840,9 +83966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 requestBody: required: true content: @@ -84870,7 +83996,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -84894,9 +84020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '204': description: Response @@ -84918,8 +84044,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: - - *454 - - *455 + - *438 + - *439 - 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 @@ -85093,8 +84219,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -85354,8 +84480,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -85438,7 +84564,7 @@ paths: - version - url additionalProperties: false - metadata: &591 + metadata: &575 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85477,7 +84603,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *591 + metadata: *575 resolved: type: object description: A collection of resolved package dependencies. @@ -85491,7 +84617,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *591 + metadata: *575 relationship: type: string description: A notation of whether a dependency is requested @@ -85624,8 +84750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *454 - - *455 + - *438 + - *439 - name: sha description: The SHA recorded at creation time. in: query @@ -85666,9 +84792,9 @@ paths: application/json: schema: type: array - items: *592 + items: *576 examples: - default: *593 + default: *577 headers: Link: *41 x-github: @@ -85734,8 +84860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -85817,7 +84943,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *576 examples: simple-example: summary: Simple example @@ -85890,9 +85016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *454 - - *455 - - &594 + - *438 + - *439 + - &578 name: deployment_id description: deployment_id parameter in: path @@ -85904,7 +85030,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *576 examples: default: value: @@ -85969,9 +85095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 responses: '204': description: Response @@ -85993,9 +85119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 - *17 - *19 responses: @@ -86005,7 +85131,7 @@ paths: application/json: schema: type: array - items: &595 + items: &579 title: Deployment Status description: The status of a deployment. type: object @@ -86169,9 +85295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 requestBody: required: true content: @@ -86246,9 +85372,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *579 examples: - default: &596 + default: &580 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86304,9 +85430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 - name: status_id in: path required: true @@ -86317,9 +85443,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *579 examples: - default: *596 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -86346,12 +85472,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 - - *597 - - *598 - - *599 - - *600 + - *438 + - *439 + - *581 + - *582 + - *583 + - *584 - *17 - *19 responses: @@ -86361,9 +85487,9 @@ paths: application/json: schema: type: array - items: *601 + items: *585 examples: - default: *602 + default: *586 '404': *6 '403': *27 '500': *38 @@ -86387,8 +85513,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86400,7 +85526,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *601 + schema: *585 examples: default: value: @@ -86456,8 +85582,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86516,12 +85642,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - *97 - *98 - *99 - - *603 + - *587 - *17 - *19 responses: @@ -86531,9 +85657,9 @@ paths: application/json: schema: type: array - items: *604 + items: *588 examples: - default: *605 + default: *589 '404': *6 '403': *27 '500': *38 @@ -86558,8 +85684,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86571,7 +85697,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *604 + schema: *588 examples: default: value: @@ -86629,8 +85755,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86699,8 +85825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -86757,8 +85883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -86776,7 +85902,7 @@ paths: - 5 environments: type: array - items: &607 + items: &591 title: Environment description: Details of a deployment environment type: object @@ -86838,7 +85964,7 @@ paths: type: string examples: - wait_timer - wait_timer: &609 + wait_timer: &593 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -86880,11 +86006,11 @@ paths: items: type: object properties: - type: *606 + type: *590 reviewer: anyOf: - *4 - - *302 + - *292 required: - id - node_id @@ -86907,7 +86033,7 @@ paths: - id - node_id - type - deployment_branch_policy: &610 + deployment_branch_policy: &594 type: - object - 'null' @@ -87024,9 +86150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *454 - - *455 - - &608 + - *438 + - *439 + - &592 name: environment_name in: path required: true @@ -87039,9 +86165,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *591 examples: - default: &611 + default: &595 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87125,9 +86251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 requestBody: required: false content: @@ -87137,7 +86263,7 @@ paths: - object - 'null' properties: - wait_timer: *609 + wait_timer: *593 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87156,14 +86282,14 @@ paths: items: type: object properties: - type: *606 + type: *590 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *610 + deployment_branch_policy: *594 additionalProperties: false examples: default: @@ -87183,9 +86309,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *591 examples: - default: *611 + default: *595 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87209,9 +86335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 responses: '204': description: Default response @@ -87236,9 +86362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 - *17 - *19 responses: @@ -87257,7 +86383,7 @@ paths: - 2 branch_policies: type: array - items: &612 + items: &596 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87318,9 +86444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 requestBody: required: true content: @@ -87368,9 +86494,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *596 examples: - example-wildcard: &613 + example-wildcard: &597 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87412,10 +86538,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 - - &614 + - *438 + - *439 + - *592 + - &598 name: branch_policy_id in: path required: true @@ -87427,9 +86553,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *596 examples: - default: *613 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87448,10 +86574,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 - - *614 + - *438 + - *439 + - *592 + - *598 requestBody: required: true content: @@ -87480,9 +86606,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *596 examples: - default: *613 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87501,10 +86627,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 - - *614 + - *438 + - *439 + - *592 + - *598 responses: '204': description: Response @@ -87529,9 +86655,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: - - *608 - - *455 - - *454 + - *592 + - *439 + - *438 responses: '200': description: List of deployment protection rules @@ -87548,7 +86674,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &615 + items: &599 title: Deployment protection rule description: Deployment protection rule type: object @@ -87570,7 +86696,7 @@ paths: for the environment. examples: - true - app: &616 + app: &600 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -87673,9 +86799,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: - - *608 - - *455 - - *454 + - *592 + - *439 + - *438 requestBody: content: application/json: @@ -87696,9 +86822,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *615 + schema: *599 examples: - default: &617 + default: &601 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -87733,9 +86859,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: - - *608 - - *455 - - *454 + - *592 + - *439 + - *438 - *19 - *17 responses: @@ -87755,7 +86881,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *616 + items: *600 examples: default: value: @@ -87790,10 +86916,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: - - *454 - - *455 - - *608 - - &618 + - *438 + - *439 + - *592 + - &602 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -87805,9 +86931,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *599 examples: - default: *617 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87828,10 +86954,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: - - *608 - - *455 - - *454 - - *618 + - *592 + - *439 + - *438 + - *602 responses: '204': description: Response @@ -87857,9 +86983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 - *17 - *19 responses: @@ -87877,9 +87003,9 @@ paths: type: integer secrets: type: array - items: *489 + items: *473 examples: - default: *490 + default: *474 headers: Link: *41 x-github: @@ -87904,17 +87030,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 responses: '200': description: Response content: application/json: - schema: *491 + schema: *475 examples: - default: *492 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87936,18 +87062,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *454 - - *455 - - *608 - - *283 + - *438 + - *439 + - *592 + - *273 responses: '200': description: Response content: application/json: - schema: *489 + schema: *473 examples: - default: *619 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87969,10 +87095,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *454 - - *455 - - *608 - - *283 + - *438 + - *439 + - *592 + - *273 requestBody: required: true content: @@ -88003,7 +87129,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -88029,10 +87155,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *454 - - *455 - - *608 - - *283 + - *438 + - *439 + - *592 + - *273 responses: '204': description: Default response @@ -88057,10 +87183,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *454 - - *455 - - *608 - - *476 + - *438 + - *439 + - *592 + - *460 - *19 responses: '200': @@ -88077,9 +87203,9 @@ paths: type: integer variables: type: array - items: *493 + items: *477 examples: - default: *494 + default: *478 headers: Link: *41 x-github: @@ -88102,9 +87228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 requestBody: required: true content: @@ -88131,7 +87257,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -88156,18 +87282,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *454 - - *455 - - *608 - - *286 + - *438 + - *439 + - *592 + - *276 responses: '200': description: Response content: application/json: - schema: *493 + schema: *477 examples: - default: *620 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88188,10 +87314,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *454 - - *455 - - *286 - - *608 + - *438 + - *439 + - *276 + - *592 requestBody: required: true content: @@ -88233,10 +87359,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *454 - - *455 - - *286 - - *608 + - *438 + - *439 + - *276 + - *592 responses: '204': description: Response @@ -88258,8 +87384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -88327,8 +87453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *454 - - *455 + - *438 + - *439 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88350,7 +87476,7 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: default: value: @@ -88487,8 +87613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -88521,9 +87647,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 '400': *14 '422': *15 '403': *27 @@ -88544,8 +87670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -88604,8 +87730,8 @@ paths: application/json: schema: oneOf: - - *248 - - *621 + - *238 + - *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88630,8 +87756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *454 - - *455 + - *438 + - *439 - name: file_sha in: path required: true @@ -88731,8 +87857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -88841,7 +87967,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &606 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89068,15 +88194,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 responses: '200': description: Response content: application/json: - schema: *622 + schema: *606 examples: default: value: @@ -89132,9 +88258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *454 - - *455 - - &623 + - *438 + - *439 + - &607 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. @@ -89151,7 +88277,7 @@ paths: application/json: schema: type: array - items: &624 + items: &608 title: Git Reference description: Git references within a repository type: object @@ -89227,17 +88353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *454 - - *455 - - *623 + - *438 + - *439 + - *607 responses: '200': description: Response content: application/json: - schema: *624 + schema: *608 examples: - default: &625 + default: &609 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89266,8 +88392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -89296,9 +88422,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *608 examples: - default: *625 + default: *609 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89324,9 +88450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *454 - - *455 - - *623 + - *438 + - *439 + - *607 requestBody: required: true content: @@ -89355,9 +88481,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *608 examples: - default: *625 + default: *609 '422': *15 '409': *112 x-github: @@ -89375,9 +88501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *454 - - *455 - - *623 + - *438 + - *439 + - *607 responses: '204': description: Response @@ -89432,8 +88558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -89500,7 +88626,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &611 title: Git Tag description: Metadata for a Git tag type: object @@ -89556,7 +88682,7 @@ paths: - sha - type - url - verification: *626 + verification: *610 required: - sha - url @@ -89566,7 +88692,7 @@ paths: - tag - message examples: - default: &628 + default: &612 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89639,8 +88765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *454 - - *455 + - *438 + - *439 - name: tag_sha in: path required: true @@ -89651,9 +88777,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *611 examples: - default: *628 + default: *612 '404': *6 '409': *112 x-github: @@ -89677,8 +88803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -89752,7 +88878,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &613 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -89854,8 +88980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *454 - - *455 + - *438 + - *439 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -89878,7 +89004,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *613 examples: default-response: summary: Default response @@ -89937,8 +89063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -89948,7 +89074,7 @@ paths: application/json: schema: type: array - items: &630 + items: &614 title: Webhook description: Webhooks for repositories. type: object @@ -90011,7 +89137,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &876 + last_response: &860 title: Hook Response type: object properties: @@ -90088,8 +89214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -90142,9 +89268,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: &631 + default: &615 value: type: Repository id: 12345678 @@ -90192,17 +89318,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '200': description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: *631 + default: *615 '404': *6 x-github: githubCloudOnly: false @@ -90222,9 +89348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 requestBody: required: true content: @@ -90269,9 +89395,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: *631 + default: *615 '422': *15 '404': *6 x-github: @@ -90292,9 +89418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '204': description: Response @@ -90318,9 +89444,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '200': description: Response @@ -90347,9 +89473,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 requestBody: required: false content: @@ -90393,11 +89519,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 - *17 - - *335 + - *325 responses: '200': description: Response @@ -90405,9 +89531,9 @@ paths: application/json: schema: type: array - items: *336 + items: *326 examples: - default: *337 + default: *327 '400': *14 '422': *15 x-github: @@ -90426,18 +89552,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 - *16 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *339 + default: *329 '400': *14 '422': *15 x-github: @@ -90456,9 +89582,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 - *16 responses: '202': *37 @@ -90481,9 +89607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '204': description: Response @@ -90508,9 +89634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '204': description: Response @@ -90533,8 +89659,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response if immutable releases are enabled @@ -90582,8 +89708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '409': *112 @@ -90603,8 +89729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '409': *112 @@ -90661,14 +89787,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: &632 + schema: &616 title: Import description: A repository import from an external source. type: object @@ -90775,7 +89901,7 @@ paths: - html_url - authors_url examples: - default: &635 + default: &619 value: vcs: subversion use_lfs: true @@ -90791,7 +89917,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': &633 + '503': &617 description: Unavailable due to service under maintenance. content: application/json: @@ -90820,8 +89946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -90869,7 +89995,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *616 examples: default: value: @@ -90894,7 +90020,7 @@ paths: type: string '422': *15 '404': *6 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90922,8 +90048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -90975,7 +90101,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *616 examples: example-1: summary: Example 1 @@ -91023,7 +90149,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': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91046,12 +90172,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91077,9 +90203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *454 - - *455 - - &819 + - *438 + - *439 + - &803 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -91093,7 +90219,7 @@ paths: application/json: schema: type: array - items: &634 + items: &618 title: Porter Author description: Porter Author type: object @@ -91147,7 +90273,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': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91172,8 +90298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *454 - - *455 + - *438 + - *439 - name: author_id in: path required: true @@ -91203,7 +90329,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *618 examples: default: value: @@ -91216,7 +90342,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91240,8 +90366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -91282,7 +90408,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91310,8 +90436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -91338,11 +90464,11 @@ paths: description: Response content: application/json: - schema: *632 + schema: *616 examples: - default: *635 + default: *619 '422': *15 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91365,8 +90491,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -91374,8 +90500,8 @@ paths: application/json: schema: *20 examples: - default: *636 - '301': *466 + default: *620 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -91395,8 +90521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -91404,12 +90530,12 @@ paths: application/json: schema: anyOf: - - *352 + - *342 - type: object properties: {} additionalProperties: false examples: - default: &638 + default: &622 value: limit: collaborators_only origin: repository @@ -91434,13 +90560,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: application/json: - schema: *637 + schema: *621 examples: default: summary: Example request body @@ -91452,9 +90578,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *342 examples: - default: *638 + default: *622 '409': description: Response x-github: @@ -91476,8 +90602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -91500,8 +90626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -91511,9 +90637,9 @@ paths: application/json: schema: type: array - items: *639 + items: *623 examples: - default: &812 + default: &796 value: - id: 1 repository: @@ -91644,9 +90770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *454 - - *455 - - *356 + - *438 + - *439 + - *346 requestBody: required: false content: @@ -91675,7 +90801,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *623 examples: default: value: @@ -91806,9 +90932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *454 - - *455 - - *356 + - *438 + - *439 + - *346 responses: '204': description: Response @@ -91839,8 +90965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *454 - - *455 + - *438 + - *439 - 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 @@ -91888,7 +91014,7 @@ paths: required: false schema: type: string - - *360 + - *350 - name: sort description: What to sort results by. in: query @@ -91913,7 +91039,7 @@ paths: type: array items: *219 examples: - default: &647 + default: &631 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92061,7 +91187,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *466 + '301': *450 '422': *15 '404': *6 x-github: @@ -92090,8 +91216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -92183,7 +91309,7 @@ paths: application/json: schema: *219 examples: - default: &644 + default: &628 value: id: 1 node_id: MDU6SXNzdWUx @@ -92339,7 +91465,7 @@ paths: '422': *15 '503': *184 '404': *6 - '410': *640 + '410': *624 x-github: triggersNotification: true githubCloudOnly: false @@ -92367,8 +91493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *228 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92389,9 +91515,9 @@ paths: application/json: schema: type: array - items: *641 + items: *625 examples: - default: &646 + default: &630 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92449,17 +91575,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '200': description: Response content: application/json: - schema: *641 + schema: *625 examples: - default: &642 + default: &626 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92513,8 +91639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -92537,9 +91663,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *625 examples: - default: *642 + default: *626 '422': *15 x-github: githubCloudOnly: false @@ -92557,8 +91683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '204': @@ -92579,8 +91705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -92607,9 +91733,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -92630,8 +91756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -92664,16 +91790,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -92695,10 +91821,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *454 - - *455 + - *438 + - *439 - *218 - - *446 + - *430 responses: '204': description: Response @@ -92718,8 +91844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -92729,7 +91855,7 @@ paths: application/json: schema: type: array - items: &643 + items: &627 title: Issue Event description: Issue Event type: object @@ -92809,7 +91935,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *302 + requested_team: *292 dismissed_review: title: Issue Event Dismissed Review type: object @@ -93068,8 +92194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *454 - - *455 + - *438 + - *439 - name: event_id in: path required: true @@ -93080,7 +92206,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *627 examples: default: value: @@ -93273,7 +92399,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *640 + '410': *624 '403': *27 x-github: githubCloudOnly: false @@ -93307,9 +92433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *454 - - *455 - - &645 + - *438 + - *439 + - &629 name: issue_number description: The number that identifies the issue. in: path @@ -93323,10 +92449,10 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *466 + default: *628 + '301': *450 '404': *6 - '410': *640 + '410': *624 '304': *35 x-github: githubCloudOnly: false @@ -93351,9 +92477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -93474,13 +92600,13 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 '422': *15 '503': *184 '403': *27 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93498,9 +92624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -93528,7 +92654,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93544,9 +92670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: content: application/json: @@ -93573,7 +92699,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93595,9 +92721,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - name: assignee in: path required: true @@ -93637,9 +92763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *209 - *17 - *19 @@ -93650,13 +92776,13 @@ paths: application/json: schema: type: array - items: *641 + items: *625 examples: - default: *646 + default: *630 headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93685,9 +92811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -93709,16 +92835,16 @@ paths: description: Response content: application/json: - schema: *641 + schema: *625 examples: - default: *642 + default: *626 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *640 + '410': *624 '422': *15 '404': *6 x-github: @@ -93746,9 +92872,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -93760,12 +92886,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *631 headers: Link: *41 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93793,9 +92919,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -93819,15 +92945,15 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *466 + '301': *450 '403': *27 - '410': *640 + '410': *624 '422': *15 '404': *6 x-github: @@ -93858,9 +92984,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -93874,13 +93000,13 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *466 + default: *628 + '301': *450 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *640 + '410': *624 x-github: triggersNotification: true githubCloudOnly: false @@ -93906,9 +93032,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -93920,12 +93046,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *631 headers: Link: *41 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93942,9 +93068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -93958,7 +93084,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &650 + - &634 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94007,7 +93133,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &635 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94135,7 +93261,7 @@ paths: - performed_via_github_app - assignee - assigner - - &652 + - &636 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94181,7 +93307,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &637 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -94227,7 +93353,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &638 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -94276,7 +93402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &639 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -94305,7 +93431,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *302 + requested_team: *292 requested_reviewer: *4 required: - review_requester @@ -94318,7 +93444,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &640 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -94347,7 +93473,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *302 + requested_team: *292 requested_reviewer: *4 required: - review_requester @@ -94360,7 +93486,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &641 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -94416,7 +93542,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &642 title: Locked Issue Event description: Locked Issue Event type: object @@ -94461,7 +93587,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &643 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -94522,7 +93648,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &644 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -94583,7 +93709,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &661 + - &645 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -94644,7 +93770,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &662 + - &646 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94737,7 +93863,7 @@ paths: color: red headers: Link: *41 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94754,9 +93880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -94766,7 +93892,7 @@ paths: application/json: schema: type: array - items: &648 + items: &632 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -94821,7 +93947,7 @@ paths: - color - default examples: - default: &649 + default: &633 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94839,9 +93965,9 @@ paths: default: false headers: Link: *41 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94858,9 +93984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -94919,12 +94045,12 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 - '301': *466 + default: *633 + '301': *450 '404': *6 - '410': *640 + '410': *624 '422': *15 x-github: githubCloudOnly: false @@ -94941,9 +94067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -95003,12 +94129,12 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 - '301': *466 + default: *633 + '301': *450 '404': *6 - '410': *640 + '410': *624 '422': *15 x-github: githubCloudOnly: false @@ -95025,15 +94151,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 responses: '204': description: Response - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95052,9 +94178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - name: name in: path required: true @@ -95067,7 +94193,7 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: default: value: @@ -95078,9 +94204,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95100,9 +94226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -95131,7 +94257,7 @@ paths: '204': description: Response '403': *27 - '410': *640 + '410': *624 '404': *6 '422': *15 x-github: @@ -95149,9 +94275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 responses: '204': description: Response @@ -95181,9 +94307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 responses: '200': description: Response @@ -95191,10 +94317,10 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *466 + default: *628 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95211,9 +94337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - 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. @@ -95239,13 +94365,13 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95263,9 +94389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95297,16 +94423,16 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -95328,10 +94454,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *454 - - *455 - - *645 - - *446 + - *438 + - *439 + - *629 + - *430 responses: '204': description: Response @@ -95360,9 +94486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95386,7 +94512,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -95419,9 +94545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -95433,11 +94559,11 @@ paths: type: array items: *219 examples: - default: *647 + default: *631 headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95465,9 +94591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95496,14 +94622,14 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *640 + '410': *624 '422': *15 '404': *6 x-github: @@ -95523,9 +94649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95558,7 +94684,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 '403': *27 '404': *6 '422': *7 @@ -95580,9 +94706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -95597,19 +94723,19 @@ paths: description: Timeline Event type: object anyOf: - - *650 - - *651 - - *652 - - *653 - - *654 - - *655 - - *656 - - *657 - - *658 - - *659 - - *660 - - *661 - - *662 + - *634 + - *635 + - *636 + - *637 + - *638 + - *639 + - *640 + - *641 + - *642 + - *643 + - *644 + - *645 + - *646 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95938,7 +95064,7 @@ paths: type: string comments: type: array - items: &683 + items: &667 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96176,7 +95302,7 @@ paths: type: string comments: type: array - items: *567 + items: *551 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -96451,7 +95577,7 @@ paths: headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96468,8 +95594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -96479,7 +95605,7 @@ paths: application/json: schema: type: array - items: &663 + items: &647 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -96547,8 +95673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -96584,9 +95710,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *647 examples: - default: &664 + default: &648 value: id: 1 key: ssh-rsa AAA... @@ -96620,9 +95746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *454 - - *455 - - &665 + - *438 + - *439 + - &649 name: key_id description: The unique identifier of the key. in: path @@ -96634,9 +95760,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *647 examples: - default: *664 + default: *648 '404': *6 x-github: githubCloudOnly: false @@ -96654,9 +95780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *454 - - *455 - - *665 + - *438 + - *439 + - *649 responses: '204': description: Response @@ -96676,8 +95802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -96687,9 +95813,9 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 + default: *633 headers: Link: *41 '404': *6 @@ -96710,8 +95836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -96747,9 +95873,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *632 examples: - default: &666 + default: &650 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96781,8 +95907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *454 - - *455 + - *438 + - *439 - name: name in: path required: true @@ -96793,9 +95919,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *632 examples: - default: *666 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -96812,8 +95938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *454 - - *455 + - *438 + - *439 - name: name in: path required: true @@ -96852,7 +95978,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *632 examples: default: value: @@ -96878,8 +96004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *454 - - *455 + - *438 + - *439 - name: name in: path required: true @@ -96905,8 +96031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -96942,8 +96068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '202': *37 '403': @@ -96971,8 +96097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -96998,9 +96124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *454 - - *455 - - *545 + - *438 + - *439 + - *529 responses: '200': description: Response @@ -97147,8 +96273,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97213,8 +96339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97248,9 +96374,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *568 + schema: *552 examples: - default: *667 + default: *651 '204': description: Response when already merged '404': @@ -97275,8 +96401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *454 - - *455 + - *438 + - *439 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -97317,7 +96443,7 @@ paths: application/json: schema: type: array - items: *391 + items: *381 examples: default: value: @@ -97373,8 +96499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97414,9 +96540,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: &668 + default: &652 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97475,9 +96601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *454 - - *455 - - &669 + - *438 + - *439 + - &653 name: milestone_number description: The number that identifies the milestone. in: path @@ -97489,9 +96615,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *668 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -97508,9 +96634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *454 - - *455 - - *669 + - *438 + - *439 + - *653 requestBody: required: false content: @@ -97548,9 +96674,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *668 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97566,9 +96692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *454 - - *455 - - *669 + - *438 + - *439 + - *653 responses: '204': description: Response @@ -97589,9 +96715,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: - - *454 - - *455 - - *669 + - *438 + - *439 + - *653 - *17 - *19 responses: @@ -97601,9 +96727,9 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 + default: *633 headers: Link: *41 x-github: @@ -97622,12 +96748,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: - - *454 - - *455 - - *670 - - *671 + - *438 + - *439 + - *654 + - *655 - *209 - - *672 + - *656 - *17 - *19 responses: @@ -97639,7 +96765,7 @@ paths: type: array items: *231 examples: - default: *673 + default: *657 headers: Link: *41 x-github: @@ -97663,8 +96789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -97722,14 +96848,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: &674 + schema: &658 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -97873,7 +96999,7 @@ paths: - custom_404 - public examples: - default: &675 + default: &659 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -97914,8 +97040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97970,9 +97096,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *658 examples: - default: *675 + default: *659 '422': *15 '409': *112 x-github: @@ -97995,8 +97121,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -98104,8 +97230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -98131,8 +97257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -98142,7 +97268,7 @@ paths: application/json: schema: type: array - items: &676 + items: &660 title: Page Build description: Page Build type: object @@ -98234,8 +97360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *454 - - *455 + - *438 + - *439 responses: '201': description: Response @@ -98282,16 +97408,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *676 + schema: *660 examples: - default: &677 + default: &661 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -98339,8 +97465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *454 - - *455 + - *438 + - *439 - name: build_id in: path required: true @@ -98351,9 +97477,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *660 examples: - default: *677 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98373,8 +97499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -98482,9 +97608,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: - - *454 - - *455 - - &678 + - *438 + - *439 + - &662 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -98542,9 +97668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *454 - - *455 - - *678 + - *438 + - *439 + - *662 responses: '204': *144 '404': *6 @@ -98571,8 +97697,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -98840,7 +97966,7 @@ paths: description: Empty response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -98867,8 +97993,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Private vulnerability reporting status @@ -98905,8 +98031,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: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '422': *14 @@ -98927,8 +98053,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: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '422': *14 @@ -98950,8 +98076,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -98961,7 +98087,7 @@ paths: type: array items: *145 examples: - default: *679 + default: *663 '403': *27 '404': *6 x-github: @@ -98983,8 +98109,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -99000,7 +98126,7 @@ paths: required: - properties examples: - default: *680 + default: *664 responses: '204': description: No Content when custom property values are successfully created @@ -99038,8 +98164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99099,9 +98225,9 @@ paths: application/json: schema: type: array - items: *572 + items: *556 examples: - default: *681 + default: *665 headers: Link: *41 '304': *35 @@ -99133,8 +98259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -99201,7 +98327,7 @@ paths: description: Response content: application/json: - schema: &685 + schema: &669 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -99330,7 +98456,7 @@ paths: milestone: anyOf: - type: 'null' - - *391 + - *381 active_lock_reason: type: - string @@ -99385,7 +98511,7 @@ paths: type: - array - 'null' - items: *370 + items: *360 head: type: object properties: @@ -99423,14 +98549,14 @@ paths: _links: type: object properties: - comments: *392 - commits: *392 - statuses: *392 - html: *392 - issue: *392 - review_comments: *392 - review_comment: *392 - self: *392 + comments: *382 + commits: *382 + statuses: *382 + html: *382 + issue: *382 + review_comments: *382 + review_comment: *382 + self: *382 required: - comments - commits @@ -99441,7 +98567,7 @@ paths: - review_comment - self author_association: *206 - auto_merge: *682 + auto_merge: *666 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -99543,7 +98669,7 @@ paths: - merged_by - review_comments examples: - default: &686 + default: &670 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100070,8 +99196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - name: sort in: query required: false @@ -100100,9 +99226,9 @@ paths: application/json: schema: type: array - items: *683 + items: *667 examples: - default: &688 + default: &672 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100179,17 +99305,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: - - *454 - - *455 + - *438 + - *439 - *218 responses: '200': description: Response content: application/json: - schema: *683 + schema: *667 examples: - default: &684 + default: &668 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100264,8 +99390,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: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -100288,9 +99414,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *667 examples: - default: *684 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100306,8 +99432,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: - - *454 - - *455 + - *438 + - *439 - *218 responses: '204': @@ -100329,8 +99455,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: - - *454 - - *455 + - *438 + - *439 - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100357,9 +99483,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -100380,8 +99506,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: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -100414,16 +99540,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -100445,10 +99571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *454 - - *455 + - *438 + - *439 - *218 - - *446 + - *430 responses: '204': description: Response @@ -100491,9 +99617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *454 - - *455 - - &687 + - *438 + - *439 + - &671 name: pull_number description: The number that identifies the pull request. in: path @@ -100506,9 +99632,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *685 + schema: *669 examples: - default: *686 + default: *670 '304': *35 '404': *6 '406': @@ -100543,9 +99669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -100587,9 +99713,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *669 examples: - default: *686 + default: *670 '422': *15 '403': *27 x-github: @@ -100611,9 +99737,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: true content: @@ -100674,17 +99800,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '401': *23 '403': *27 '404': *6 @@ -100714,9 +99840,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *228 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -100737,9 +99863,9 @@ paths: application/json: schema: type: array - items: *683 + items: *667 examples: - default: *688 + default: *672 headers: Link: *41 x-github: @@ -100772,9 +99898,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: true content: @@ -100880,7 +100006,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *667 examples: example-for-a-multi-line-comment: value: @@ -100968,9 +100094,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *218 requestBody: required: true @@ -100993,7 +100119,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *667 examples: default: value: @@ -101079,9 +100205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *17 - *19 responses: @@ -101091,9 +100217,9 @@ paths: application/json: schema: type: array - items: *568 + items: *552 examples: - default: *689 + default: *673 headers: Link: *41 x-github: @@ -101123,9 +100249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *17 - *19 responses: @@ -101135,7 +100261,7 @@ paths: application/json: schema: type: array - items: *579 + items: *563 examples: default: value: @@ -101173,9 +100299,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 responses: '204': description: Response if pull request has been merged @@ -101198,9 +100324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -101312,9 +100438,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 responses: '200': description: Response @@ -101330,7 +100456,7 @@ paths: items: *4 teams: type: array - items: *302 + items: *292 required: - users - teams @@ -101389,9 +100515,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -101428,7 +100554,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *556 examples: default: value: @@ -101964,9 +101090,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: true content: @@ -102000,7 +101126,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *556 examples: default: value: @@ -102505,9 +101631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *17 - *19 responses: @@ -102517,7 +101643,7 @@ paths: application/json: schema: type: array - items: &690 + items: &674 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102673,9 +101799,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -102765,9 +101891,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: &692 + default: &676 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102830,10 +101956,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: - - *454 - - *455 - - *687 - - &691 + - *438 + - *439 + - *671 + - &675 name: review_id description: The unique identifier of the review. in: path @@ -102845,9 +101971,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: &693 + default: &677 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102906,10 +102032,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 requestBody: required: true content: @@ -102932,7 +102058,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: default: value: @@ -102994,18 +102120,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 responses: '200': description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: *692 + default: *676 '422': *7 '404': *6 x-github: @@ -103032,10 +102158,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 - *17 - *19 responses: @@ -103133,9 +102259,9 @@ paths: _links: type: object properties: - self: *392 - html: *392 - pull_request: *392 + self: *382 + html: *382 + pull_request: *382 required: - self - html @@ -103293,10 +102419,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 requestBody: required: true content: @@ -103325,7 +102451,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: default: value: @@ -103388,10 +102514,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 requestBody: required: true content: @@ -103426,9 +102552,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: *693 + default: *677 '404': *6 '422': *7 '403': *27 @@ -103450,9 +102576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -103516,8 +102642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *454 - - *455 + - *438 + - *439 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103530,9 +102656,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *678 examples: - default: &695 + default: &679 value: type: file encoding: base64 @@ -103574,8 +102700,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: - - *454 - - *455 + - *438 + - *439 - name: dir description: The alternate path to look for a README file in: path @@ -103595,9 +102721,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *678 examples: - default: *695 + default: *679 '404': *6 '422': *15 x-github: @@ -103619,8 +102745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -103630,7 +102756,7 @@ paths: application/json: schema: type: array - items: &696 + items: &680 title: Release description: A release. type: object @@ -103712,7 +102838,7 @@ paths: author: *4 assets: type: array - items: &697 + items: &681 title: Release Asset description: Data related to a release. type: object @@ -103899,8 +103025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -103976,9 +103102,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: &700 + default: &684 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104083,9 +103209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *454 - - *455 - - &698 + - *438 + - *439 + - &682 name: asset_id description: The unique identifier of the asset. in: path @@ -104097,9 +103223,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *681 examples: - default: &699 + default: &683 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 @@ -104134,7 +103260,7 @@ paths: type: User site_admin: false '404': *6 - '302': *581 + '302': *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104150,9 +103276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *454 - - *455 - - *698 + - *438 + - *439 + - *682 requestBody: required: false content: @@ -104181,9 +103307,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *681 examples: - default: *699 + default: *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104199,9 +103325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *454 - - *455 - - *698 + - *438 + - *439 + - *682 responses: '204': description: Response @@ -104225,8 +103351,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -104312,16 +103438,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: *700 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104338,8 +103464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *454 - - *455 + - *438 + - *439 - name: tag description: tag parameter in: path @@ -104352,9 +103478,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: *700 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -104376,9 +103502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *454 - - *455 - - &701 + - *438 + - *439 + - &685 name: release_id description: The unique identifier of the release. in: path @@ -104392,9 +103518,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: *696 + schema: *680 examples: - default: *700 + default: *684 '401': description: Unauthorized x-github: @@ -104412,9 +103538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 requestBody: required: false content: @@ -104478,9 +103604,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: *700 + default: *684 '404': description: Not Found if the discussion category name is invalid content: @@ -104501,9 +103627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 responses: '204': description: Response @@ -104523,9 +103649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 - *17 - *19 responses: @@ -104535,7 +103661,7 @@ paths: application/json: schema: type: array - items: *697 + items: *681 examples: default: value: @@ -104617,9 +103743,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: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 - name: name in: query required: true @@ -104645,7 +103771,7 @@ paths: description: Response for successful upload content: application/json: - schema: *697 + schema: *681 examples: response-for-successful-upload: value: @@ -104700,9 +103826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 - 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. @@ -104726,9 +103852,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -104749,9 +103875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 requestBody: required: true content: @@ -104781,16 +103907,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -104812,10 +103938,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *454 - - *455 - - *701 - - *446 + - *438 + - *439 + - *685 + - *430 responses: '204': description: Response @@ -104839,9 +103965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 - *17 - *19 responses: @@ -104858,7 +103984,7 @@ paths: oneOf: - allOf: - *159 - - &702 + - &686 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104879,67 +104005,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *160 - - *702 + - *686 - allOf: - *161 - - *702 + - *686 - allOf: - *162 - - *702 + - *686 - allOf: - - *703 - - *702 + - *687 + - *686 - allOf: - *163 - - *702 + - *686 - allOf: - *164 - - *702 + - *686 - allOf: - *165 - - *702 + - *686 - allOf: - *166 - - *702 + - *686 - allOf: - *167 - - *702 + - *686 - allOf: - *168 - - *702 + - *686 - allOf: - *169 - - *702 + - *686 - allOf: - *170 - - *702 + - *686 - allOf: - *171 - - *702 + - *686 - allOf: - *172 - - *702 + - *686 - allOf: - *173 - - *702 + - *686 - allOf: - *174 - - *702 + - *686 - allOf: - *175 - - *702 + - *686 - allOf: - *176 - - *702 + - *686 - allOf: - *177 - - *702 + - *686 - allOf: - *178 - - *702 + - *686 - allOf: - - *704 - - *702 + - *688 + - *686 examples: default: value: @@ -104978,8 +104104,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - name: includes_parents @@ -104990,7 +104116,7 @@ paths: schema: type: boolean default: true - - *705 + - *689 responses: '200': description: Response @@ -105045,8 +104171,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 requestBody: description: Request body required: true @@ -105075,7 +104201,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *706 + items: *690 required: - name - enforcement @@ -105108,7 +104234,7 @@ paths: application/json: schema: *179 examples: - default: &715 + default: &699 value: id: 42 name: super cool ruleset @@ -105155,12 +104281,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *454 - - *455 - - *707 + - *438 + - *439 + - *691 - *99 - - *708 - - *709 + - *692 + - *693 - *17 - *19 responses: @@ -105168,9 +104294,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *694 examples: - default: *711 + default: *695 '404': *6 '500': *38 x-github: @@ -105191,17 +104317,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *454 - - *455 - - *712 + - *438 + - *439 + - *696 responses: '200': description: Response content: application/json: - schema: *713 + schema: *697 examples: - default: *714 + default: *698 '404': *6 '500': *38 x-github: @@ -105229,8 +104355,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105252,7 +104378,7 @@ paths: application/json: schema: *179 examples: - default: *715 + default: *699 '404': *6 '500': *38 put: @@ -105270,8 +104396,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105305,7 +104431,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *706 + items: *690 examples: default: value: @@ -105335,7 +104461,7 @@ paths: application/json: schema: *179 examples: - default: *715 + default: *699 '404': *6 '500': *38 delete: @@ -105353,8 +104479,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105377,8 +104503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - name: ruleset_id @@ -105396,7 +104522,7 @@ paths: type: array items: *183 examples: - default: *407 + default: *397 '404': *6 '500': *38 x-github: @@ -105415,8 +104541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105434,7 +104560,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *398 examples: default: value: @@ -105489,21 +104615,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: - - *454 - - *455 - - *409 - - *410 - - *411 - - *412 + - *438 + - *439 + - *399 + - *400 + - *401 + - *402 - *104 - *19 - *17 - - *716 - - *717 - - *413 - - *414 - - *415 - - *416 + - *700 + - *701 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -105511,7 +104637,7 @@ paths: application/json: schema: type: array - items: &721 + items: &705 type: object properties: number: *119 @@ -105527,8 +104653,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *718 - resolution: *719 + state: *702 + resolution: *703 resolved_at: type: - string @@ -105622,7 +104748,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *720 + - *704 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105767,16 +104893,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: - - *454 - - *455 - - *539 - - *416 + - *438 + - *439 + - *523 + - *406 responses: '200': description: Response content: application/json: - schema: *721 + schema: *705 examples: default: value: @@ -105828,9 +104954,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 requestBody: required: true content: @@ -105838,8 +104964,8 @@ paths: schema: type: object properties: - state: *718 - resolution: *719 + state: *702 + resolution: *703 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105859,7 +104985,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *705 examples: default: value: @@ -105934,9 +105060,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 - *19 - *17 responses: @@ -105947,7 +105073,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &896 + items: &880 type: object properties: type: @@ -105974,19 +105100,19 @@ paths: - commit details: oneOf: - - *722 - - *723 - - *724 - - *725 - - *726 - - *727 - - *728 - - *729 - - *730 - - *731 - - *732 - - *733 - - *734 + - *706 + - *707 + - *708 + - *709 + - *710 + - *711 + - *712 + - *713 + - *714 + - *715 + - *716 + - *717 + - *718 examples: default: value: @@ -106072,8 +105198,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -106081,14 +105207,14 @@ paths: schema: type: object properties: - reason: &736 + reason: &720 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *735 + placeholder_id: *719 required: - reason - placeholder_id @@ -106105,7 +105231,7 @@ paths: schema: type: object properties: - reason: *736 + reason: *720 expire_at: type: - string @@ -106152,8 +105278,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: - - *454 - - *455 + - *438 + - *439 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106168,7 +105294,7 @@ paths: properties: incremental_scans: type: array - items: &737 + items: &721 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106196,15 +105322,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *737 + items: *721 backfill_scans: type: array - items: *737 + items: *721 custom_pattern_backfill_scans: type: array items: allOf: - - *737 + - *721 - type: object properties: pattern_name: @@ -106274,8 +105400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *454 - - *455 + - *438 + - *439 - *104 - name: sort description: The property to sort the results by. @@ -106319,9 +105445,9 @@ paths: application/json: schema: type: array - items: *738 + items: *722 examples: - default: *739 + default: *723 '400': *14 '404': *6 x-github: @@ -106344,8 +105470,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -106425,7 +105551,7 @@ paths: login: type: string description: The username of the user credited. - type: *421 + type: *411 required: - login - type @@ -106515,9 +105641,9 @@ paths: description: Response content: application/json: - schema: *738 + schema: *722 examples: - default: &741 + default: &725 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106750,8 +105876,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -106864,7 +105990,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *722 examples: default: value: @@ -107011,17 +106137,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 responses: '200': description: Response content: application/json: - schema: *738 + schema: *722 examples: - default: *741 + default: *725 '403': *27 '404': *6 x-github: @@ -107045,9 +106171,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 requestBody: required: true content: @@ -107127,7 +106253,7 @@ paths: login: type: string description: The username of the user credited. - type: *421 + type: *411 required: - login - type @@ -107218,17 +106344,17 @@ paths: description: Response content: application/json: - schema: *738 + schema: *722 examples: - default: *741 - add_credit: *741 + default: *725 + add_credit: *725 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *248 + schema: *238 examples: invalid_state_transition: value: @@ -107259,9 +106385,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 responses: '202': *37 '400': *14 @@ -107288,17 +106414,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 responses: '202': description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 '400': *14 '422': *15 '403': *27 @@ -107324,8 +106450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -107421,8 +106547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -107431,7 +106557,7 @@ paths: application/json: schema: type: array - items: &742 + items: &726 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -107464,8 +106590,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -107543,8 +106669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -107638,8 +106764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -107793,8 +106919,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -107804,7 +106930,7 @@ paths: application/json: schema: type: array - items: *742 + items: *726 examples: default: value: @@ -107837,8 +106963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *454 - - *455 + - *438 + - *439 - name: sha in: path required: true @@ -107894,7 +107020,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *727 examples: default: value: @@ -107948,8 +107074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -107981,14 +107107,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &744 + schema: &728 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108061,8 +107187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -108088,7 +107214,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *728 examples: default: value: @@ -108115,8 +107241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -108136,8 +107262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -108219,8 +107345,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -108228,7 +107354,7 @@ paths: application/json: schema: type: array - items: &745 + items: &729 title: Tag protection description: Tag protection type: object @@ -108285,8 +107411,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -108309,7 +107435,7 @@ paths: description: Response content: application/json: - schema: *745 + schema: *729 examples: default: value: @@ -108340,8 +107466,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: - - *454 - - *455 + - *438 + - *439 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -108378,8 +107504,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *454 - - *455 + - *438 + - *439 - name: ref in: path required: true @@ -108415,8 +107541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -108426,9 +107552,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 headers: Link: *41 '404': *6 @@ -108448,8 +107574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *454 - - *455 + - *438 + - *439 - *19 - *17 responses: @@ -108457,7 +107583,7 @@ paths: description: Response content: application/json: - schema: &746 + schema: &730 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -108469,7 +107595,7 @@ paths: required: - names examples: - default: &747 + default: &731 value: names: - octocat @@ -108492,8 +107618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -108524,9 +107650,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *730 examples: - default: *747 + default: *731 '404': *6 '422': *7 x-github: @@ -108547,9 +107673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *454 - - *455 - - &748 + - *438 + - *439 + - &732 name: per description: The time frame to display results for. in: query @@ -108580,7 +107706,7 @@ paths: - 128 clones: type: array - items: &749 + items: &733 title: Traffic type: object properties: @@ -108667,8 +107793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -108762,8 +107888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -108826,9 +107952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *454 - - *455 - - *748 + - *438 + - *439 + - *732 responses: '200': description: Response @@ -108849,7 +107975,7 @@ paths: - 3782 views: type: array - items: *749 + items: *733 required: - uniques - count @@ -108926,8 +108052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -108963,7 +108089,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *263 examples: default: value: @@ -109201,8 +108327,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109225,8 +108351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -109248,8 +108374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -109275,8 +108401,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *454 - - *455 + - *438 + - *439 - name: ref in: path required: true @@ -109368,9 +108494,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109411,7 +108537,7 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: default: value: @@ -109521,7 +108647,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &757 + - &741 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -109531,7 +108657,7 @@ paths: type: string examples: - members - - &762 + - &746 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -109543,7 +108669,7 @@ paths: format: int32 examples: - 1 - - &763 + - &747 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -109587,7 +108713,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &752 + items: &736 allOf: - type: object required: @@ -109669,7 +108795,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: &764 + meta: &748 type: object description: The metadata associated with the creation/updates to the user. @@ -109734,30 +108860,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &753 + '400': &737 description: Bad request content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '401': *751 - '403': &754 + schema: *734 + '401': *735 + '403': &738 description: Permission denied - '429': &755 + '429': &739 description: Too many requests content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '500': &756 + schema: *734 + '500': &740 description: Internal server error content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 + schema: *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109781,7 +108907,7 @@ paths: required: true content: application/json: - schema: &760 + schema: &744 type: object required: - schemas @@ -109845,9 +108971,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *752 + schema: *736 examples: - group: &758 + group: &742 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -109866,13 +108992,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': *753 - '401': *751 - '403': *754 - '409': &761 + '400': *737 + '401': *735 + '403': *738 + '409': &745 description: Duplicate record detected - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109889,7 +109015,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: - - &759 + - &743 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109898,22 +109024,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *757 + - *741 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *752 + schema: *736 examples: - default: *758 - '400': *753 - '401': *751 - '403': *754 + default: *742 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109932,13 +109058,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: - - *759 + - *743 - *39 requestBody: required: true content: application/json: - schema: *760 + schema: *744 examples: group: summary: Group @@ -109964,17 +109090,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *752 + schema: *736 examples: - group: *758 - groupWithMembers: *758 - '400': *753 - '401': *751 - '403': *754 + group: *742 + groupWithMembers: *742 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109998,13 +109124,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: - - *759 + - *743 - *39 requestBody: required: true content: application/json: - schema: &771 + schema: &755 type: object required: - Operations @@ -110064,17 +109190,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *752 + schema: *736 examples: - updateGroup: *758 - addMembers: *758 - '400': *753 - '401': *751 - '403': *754 + updateGroup: *742 + addMembers: *742 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110090,17 +109216,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: - - *759 + - *743 - *39 responses: '204': description: Group was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110134,8 +109260,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *762 - - *763 + - *746 + - *747 - *39 responses: '200': @@ -110169,7 +109295,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &766 + items: &750 allOf: - type: object required: @@ -110261,7 +109387,7 @@ paths: address. examples: - true - roles: &765 + roles: &749 type: array description: The roles assigned to the user. items: @@ -110320,7 +109446,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *764 + meta: *748 startIndex: type: integer description: A starting index for the returned page @@ -110359,11 +109485,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *753 - '401': *751 - '403': *754 - '429': *755 - '500': *756 + '400': *737 + '401': *735 + '403': *738 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110387,7 +109513,7 @@ paths: required: true content: application/json: - schema: &769 + schema: &753 type: object required: - schemas @@ -110480,9 +109606,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *765 + roles: *749 examples: - user: &770 + user: &754 summary: User value: schemas: @@ -110529,9 +109655,9 @@ paths: description: User has been created content: application/scim+json: - schema: *766 + schema: *750 examples: - user: &767 + user: &751 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110557,13 +109683,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: *767 - '400': *753 - '401': *751 - '403': *754 - '409': *761 - '429': *755 - '500': *756 + enterpriseOwner: *751 + '400': *737 + '401': *735 + '403': *738 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110580,7 +109706,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: - - &768 + - &752 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -110593,15 +109719,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *766 + schema: *750 examples: - default: *767 - '400': *753 - '401': *751 - '403': *754 + default: *751 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110623,30 +109749,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: - - *768 + - *752 - *39 requestBody: required: true content: application/json: - schema: *769 + schema: *753 examples: - user: *770 + user: *754 responses: '200': description: User was updated content: application/scim+json: - schema: *766 + schema: *750 examples: - user: *767 - '400': *753 - '401': *751 - '403': *754 + user: *751 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110681,13 +109807,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: - - *768 + - *752 - *39 requestBody: required: true content: application/json: - schema: *771 + schema: *755 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -110727,18 +109853,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *766 + schema: *750 examples: - userMultiValuedProperties: *767 - userSingleValuedProperties: *767 - disableUser: *767 - '400': *753 - '401': *751 - '403': *754 + userMultiValuedProperties: *751 + userSingleValuedProperties: *751 + disableUser: *751 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110758,17 +109884,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: - - *768 + - *752 - *39 responses: '204': description: User was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110859,7 +109985,7 @@ paths: - 1 Resources: type: array - items: &772 + items: &756 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111106,22 +110232,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &773 + '404': &757 description: Resource not found content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '403': &774 + schema: *734 + '403': &758 description: Forbidden content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '400': *753 - '429': *755 + schema: *734 + '400': *737 + '429': *739 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111147,9 +110273,9 @@ paths: description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: &775 + default: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111172,17 +110298,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *773 - '403': *774 - '500': *756 + '404': *757 + '403': *758 + '500': *740 '409': description: Conflict content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '400': *753 + schema: *734 + '400': *737 requestBody: required: true content: @@ -111282,17 +110408,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *81 - - *768 + - *752 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: *775 - '404': *773 - '403': *774 + default: *759 + '404': *757 + '403': *758 '304': *35 x-github: githubCloudOnly: true @@ -111316,18 +110442,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *81 - - *768 + - *752 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: *775 + default: *759 '304': *35 - '404': *773 - '403': *774 + '404': *757 + '403': *758 requestBody: required: true content: @@ -111442,19 +110568,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *81 - - *768 + - *752 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: *775 + default: *759 '304': *35 - '404': *773 - '403': *774 - '400': *753 + '404': *757 + '403': *758 + '400': *737 '429': description: Response content: @@ -111550,12 +110676,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *81 - - *768 + - *752 responses: '204': description: Response - '404': *773 - '403': *774 + '404': *757 + '403': *758 '304': *35 x-github: githubCloudOnly: true @@ -111670,7 +110796,7 @@ paths: html_url: type: string format: uri - repository: *273 + repository: *263 score: type: number file_size: @@ -111689,7 +110815,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &776 + text_matches: &760 title: Search Result Text Matches type: array items: @@ -111853,7 +110979,7 @@ paths: enum: - author-date - committer-date - - &777 + - &761 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 @@ -111922,7 +111048,7 @@ paths: committer: anyOf: - type: 'null' - - *509 + - *493 comment_count: type: integer message: @@ -111941,7 +111067,7 @@ paths: url: type: string format: uri - verification: *626 + verification: *610 required: - author - committer @@ -111956,7 +111082,7 @@ paths: committer: anyOf: - type: 'null' - - *509 + - *493 parents: type: array items: @@ -111968,12 +111094,12 @@ paths: type: string sha: type: string - repository: *273 + repository: *263 score: type: number node_id: type: string - text_matches: *776 + text_matches: *760 required: - sha - node_id @@ -112166,7 +111292,7 @@ paths: - interactions - created - updated - - *777 + - *761 - *17 - *19 - name: advanced_search @@ -112263,11 +111389,11 @@ paths: type: - string - 'null' - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: type: string state_reason: @@ -112281,7 +111407,7 @@ paths: milestone: anyOf: - type: 'null' - - *391 + - *381 comments: type: integer created_at: @@ -112295,7 +111421,7 @@ paths: - string - 'null' format: date-time - text_matches: *776 + text_matches: *760 pull_request: type: object properties: @@ -112344,7 +111470,7 @@ paths: timeline_url: type: string format: uri - type: *357 + type: *347 performed_via_github_app: anyOf: - type: 'null' @@ -112518,7 +111644,7 @@ paths: enum: - created - updated - - *777 + - *761 - *17 - *19 responses: @@ -112563,7 +111689,7 @@ paths: - 'null' score: type: number - text_matches: *776 + text_matches: *760 required: - id - node_id @@ -112649,7 +111775,7 @@ paths: - forks - help-wanted-issues - updated - - *777 + - *761 - *17 - *19 responses: @@ -112886,7 +112012,7 @@ paths: - admin - pull - push - text_matches: *776 + text_matches: *760 temp_clone_token: type: string allow_merge_commit: @@ -113195,7 +112321,7 @@ paths: - string - 'null' format: uri - text_matches: *776 + text_matches: *760 related: type: - array @@ -113390,7 +112516,7 @@ paths: - followers - repositories - joined - - *777 + - *761 - *17 - *19 responses: @@ -113500,7 +112626,7 @@ paths: type: - boolean - 'null' - text_matches: *776 + text_matches: *760 blog: type: - string @@ -113582,7 +112708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &781 + - &765 name: team_id description: The unique identifier of the team. in: path @@ -113594,9 +112720,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 x-github: githubCloudOnly: false @@ -113623,7 +112749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *781 + - *765 requestBody: required: true content: @@ -113687,16 +112813,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '201': description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 '422': *15 '403': *27 @@ -113724,7 +112850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *781 + - *765 responses: '204': description: Response @@ -113755,7 +112881,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *781 + - *765 - *104 - *17 - *19 @@ -113766,9 +112892,9 @@ paths: application/json: schema: type: array - items: *437 + items: *421 examples: - default: *782 + default: *766 headers: Link: *41 x-github: @@ -113797,7 +112923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *781 + - *765 requestBody: required: true content: @@ -113831,9 +112957,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *438 + default: *422 x-github: triggersNotification: true githubCloudOnly: false @@ -113860,16 +112986,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *781 - - *439 + - *765 + - *423 responses: '200': description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *438 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113894,8 +113020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *781 - - *439 + - *765 + - *423 requestBody: required: false content: @@ -113918,9 +113044,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *783 + default: *767 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113945,8 +113071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *781 - - *439 + - *765 + - *423 responses: '204': description: Response @@ -113975,8 +113101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *781 - - *439 + - *765 + - *423 - *104 - *17 - *19 @@ -113987,9 +113113,9 @@ paths: application/json: schema: type: array - items: *440 + items: *424 examples: - default: *784 + default: *768 headers: Link: *41 x-github: @@ -114018,8 +113144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *781 - - *439 + - *765 + - *423 requestBody: required: true content: @@ -114041,9 +113167,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *441 + default: *425 x-github: triggersNotification: true githubCloudOnly: false @@ -114070,17 +113196,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 responses: '200': description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *441 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114105,9 +113231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 requestBody: required: true content: @@ -114129,9 +113255,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *785 + default: *769 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114156,9 +113282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 responses: '204': description: Response @@ -114187,9 +113313,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: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 - 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. @@ -114215,9 +113341,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 x-github: @@ -114246,9 +113372,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: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 requestBody: required: true content: @@ -114280,9 +113406,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114308,8 +113434,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: - - *781 - - *439 + - *765 + - *423 - 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. @@ -114335,9 +113461,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 x-github: @@ -114366,8 +113492,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: - - *781 - - *439 + - *765 + - *423 requestBody: required: true content: @@ -114399,9 +113525,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114425,7 +113551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -114435,9 +113561,9 @@ paths: application/json: schema: type: array - items: *354 + items: *344 examples: - default: *355 + default: *345 headers: Link: *41 x-github: @@ -114463,7 +113589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *781 + - *765 - name: role description: Filters members returned by their role in the team. in: query @@ -114514,7 +113640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *781 + - *765 - *132 responses: '204': @@ -114551,7 +113677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *781 + - *765 - *132 responses: '204': @@ -114591,7 +113717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *781 + - *765 - *132 responses: '204': @@ -114628,16 +113754,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: - - *781 + - *765 - *132 responses: '200': description: Response content: application/json: - schema: *451 + schema: *435 examples: - response-if-user-is-a-team-maintainer: *786 + response-if-user-is-a-team-maintainer: *770 '404': *6 x-github: githubCloudOnly: false @@ -114670,7 +113796,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: - - *781 + - *765 - *132 requestBody: required: false @@ -114696,9 +113822,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *435 examples: - response-if-users-membership-with-team-is-now-pending: *787 + response-if-users-membership-with-team-is-now-pending: *771 '403': description: Forbidden if team synchronization is set up '422': @@ -114732,7 +113858,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: - - *781 + - *765 - *132 responses: '204': @@ -114761,7 +113887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -114771,9 +113897,9 @@ paths: application/json: schema: type: array - items: *452 + items: *436 examples: - default: *788 + default: *772 headers: Link: *41 '404': *6 @@ -114799,16 +113925,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: - - *781 - - *453 + - *765 + - *437 responses: '200': description: Response content: application/json: - schema: *452 + schema: *436 examples: - default: *789 + default: *773 '404': description: Not Found if project is not managed by this team x-github: @@ -114832,8 +113958,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: - - *781 - - *453 + - *765 + - *437 requestBody: required: false content: @@ -114900,8 +114026,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: - - *781 - - *453 + - *765 + - *437 responses: '204': description: Response @@ -114928,7 +114054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -114938,9 +114064,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 '404': *6 @@ -114970,15 +114096,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: - - *781 - - *454 - - *455 + - *765 + - *438 + - *439 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *790 + schema: *774 examples: alternative-response-with-extra-repository-information: value: @@ -115129,9 +114255,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: - - *781 - - *454 - - *455 + - *765 + - *438 + - *439 requestBody: required: false content: @@ -115181,9 +114307,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: - - *781 - - *454 - - *455 + - *765 + - *438 + - *439 responses: '204': description: Response @@ -115212,15 +114338,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: - - *781 + - *765 responses: '200': description: Response content: application/json: - schema: *456 + schema: *440 examples: - default: *457 + default: *441 '403': *27 '404': *6 x-github: @@ -115247,7 +114373,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: - - *781 + - *765 requestBody: required: true content: @@ -115308,7 +114434,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *440 examples: default: value: @@ -115339,7 +114465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -115349,9 +114475,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - response-if-child-teams-exist: *791 + response-if-child-teams-exist: *775 headers: Link: *41 '404': *6 @@ -115384,7 +114510,7 @@ paths: application/json: schema: oneOf: - - &793 + - &777 title: Private User description: Private User type: object @@ -115634,7 +114760,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *792 + - *776 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115794,7 +114920,7 @@ paths: description: Response content: application/json: - schema: *793 + schema: *777 examples: default: value: @@ -115997,9 +115123,9 @@ paths: type: integer codespaces: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 '304': *35 '500': *38 '401': *23 @@ -116138,17 +115264,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '401': *23 '403': *27 '404': *6 @@ -116192,7 +115318,7 @@ paths: type: integer secrets: type: array - items: &794 + items: &778 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -116234,7 +115360,7 @@ paths: - visibility - selected_repositories_url examples: - default: *561 + default: *545 headers: Link: *41 x-github: @@ -116306,13 +115432,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: - - *283 + - *273 responses: '200': description: Response content: application/json: - schema: *794 + schema: *778 examples: default: value: @@ -116342,7 +115468,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: - - *283 + - *273 requestBody: required: true content: @@ -116387,7 +115513,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -116415,7 +115541,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: - - *283 + - *273 responses: '204': description: Response @@ -116440,7 +115566,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: - - *283 + - *273 responses: '200': description: Response @@ -116456,9 +115582,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *795 + default: *779 '401': *23 '403': *27 '404': *6 @@ -116483,7 +115609,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: - - *283 + - *273 requestBody: required: true content: @@ -116537,7 +115663,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: - - *283 + - *273 - name: repository_id in: path required: true @@ -116570,7 +115696,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: - - *283 + - *273 - name: repository_id in: path required: true @@ -116602,15 +115728,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: - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '304': *35 '500': *38 '401': *23 @@ -116636,7 +115762,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: - - *364 + - *354 requestBody: required: false content: @@ -116666,9 +115792,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '401': *23 '403': *27 '404': *6 @@ -116690,7 +115816,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: - - *364 + - *354 responses: '202': *37 '304': *35 @@ -116719,13 +115845,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: - - *364 + - *354 responses: '202': description: Response content: application/json: - schema: &796 + schema: &780 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116778,7 +115904,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &797 + default: &781 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116810,7 +115936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *364 + - *354 - name: export_id in: path required: true @@ -116823,9 +115949,9 @@ paths: description: Response content: application/json: - schema: *796 + schema: *780 examples: - default: *797 + default: *781 '404': *6 x-github: githubCloudOnly: false @@ -116846,7 +115972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *364 + - *354 responses: '200': description: Response @@ -116862,9 +115988,9 @@ paths: type: integer machines: type: array - items: *560 + items: *544 examples: - default: *798 + default: *782 '304': *35 '500': *38 '401': *23 @@ -116893,7 +116019,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: - - *364 + - *354 requestBody: required: true content: @@ -116949,11 +116075,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *465 + repository: *449 machine: anyOf: - type: 'null' - - *560 + - *544 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -117750,15 +116876,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: - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '304': *35 '500': *38 '400': *14 @@ -117790,15 +116916,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: - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '500': *38 '401': *23 '403': *27 @@ -117828,9 +116954,9 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: &809 + default: &793 value: - id: 197 name: hello_docker @@ -117931,7 +117057,7 @@ paths: application/json: schema: type: array - items: &799 + items: &783 title: Email description: Email type: object @@ -118001,9 +117127,9 @@ paths: application/json: schema: type: array - items: *799 + items: *783 examples: - default: &811 + default: &795 value: - email: octocat@github.com verified: true @@ -118080,7 +117206,7 @@ paths: application/json: schema: type: array - items: *799 + items: *783 examples: default: value: @@ -118338,7 +117464,7 @@ paths: application/json: schema: type: array - items: &800 + items: &784 title: GPG Key description: A unique encryption key type: object @@ -118483,7 +117609,7 @@ paths: - subkeys - revoked examples: - default: &825 + default: &809 value: - id: 3 name: Octocat's GPG Key @@ -118568,9 +117694,9 @@ paths: description: Response content: application/json: - schema: *800 + schema: *784 examples: - default: &801 + default: &785 value: id: 3 name: Octocat's GPG Key @@ -118627,7 +117753,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: - - &802 + - &786 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -118639,9 +117765,9 @@ paths: description: Response content: application/json: - schema: *800 + schema: *784 examples: - default: *801 + default: *785 '404': *6 '304': *35 '403': *27 @@ -118664,7 +117790,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: - - *802 + - *786 responses: '204': description: Response @@ -118855,7 +117981,7 @@ paths: type: array items: *72 examples: - default: *268 + default: *258 headers: Link: *41 '404': *6 @@ -118880,7 +118006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *267 + - *257 responses: '204': description: Response @@ -118906,7 +118032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *267 + - *257 responses: '204': description: Response @@ -118940,12 +118066,12 @@ paths: application/json: schema: anyOf: - - *352 + - *342 - type: object properties: {} additionalProperties: false examples: - default: *353 + default: *343 '204': description: Response when there are no restrictions x-github: @@ -118969,7 +118095,7 @@ paths: required: true content: application/json: - schema: *637 + schema: *621 examples: default: value: @@ -118980,7 +118106,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *342 examples: default: value: @@ -119061,7 +118187,7 @@ paths: - closed - all default: open - - *360 + - *350 - name: sort description: What to sort results by. in: query @@ -119086,7 +118212,7 @@ paths: type: array items: *219 examples: - default: *361 + default: *351 headers: Link: *41 '404': *6 @@ -119119,7 +118245,7 @@ paths: application/json: schema: type: array - items: &803 + items: &787 title: Key description: Key type: object @@ -119222,9 +118348,9 @@ paths: description: Response content: application/json: - schema: *803 + schema: *787 examples: - default: &804 + default: &788 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119257,15 +118383,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: - - *665 + - *649 responses: '200': description: Response content: application/json: - schema: *803 + schema: *787 examples: - default: *804 + default: *788 '404': *6 '304': *35 '403': *27 @@ -119288,7 +118414,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: - - *665 + - *649 responses: '204': description: Response @@ -119321,7 +118447,7 @@ paths: application/json: schema: type: array - items: &805 + items: &789 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -119400,7 +118526,7 @@ paths: - account - plan examples: - default: &806 + default: &790 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -119462,9 +118588,9 @@ paths: application/json: schema: type: array - items: *805 + items: *789 examples: - default: *806 + default: *790 headers: Link: *41 '304': *35 @@ -119504,7 +118630,7 @@ paths: application/json: schema: type: array - items: *365 + items: *355 examples: default: value: @@ -119612,7 +118738,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: default: value: @@ -119695,7 +118821,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: default: value: @@ -119763,7 +118889,7 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: default: value: @@ -120025,7 +119151,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -120205,7 +119331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *368 + - *358 - name: exclude in: query required: false @@ -120218,7 +119344,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -120412,7 +119538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *368 + - *358 responses: '302': description: Response @@ -120438,7 +119564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *368 + - *358 responses: '204': description: Response @@ -120467,8 +119593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *368 - - *807 + - *358 + - *791 responses: '204': description: Response @@ -120492,7 +119618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *368 + - *358 - *17 - *19 responses: @@ -120502,9 +119628,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 '404': *6 @@ -120583,7 +119709,7 @@ paths: - docker - nuget - container - - *808 + - *792 - *19 - *17 responses: @@ -120593,10 +119719,10 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *809 - '400': *810 + default: *793 + '400': *794 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120616,16 +119742,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: - - *374 - - *375 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *372 + schema: *362 examples: - default: &826 + default: &810 value: id: 40201 name: octo-name @@ -120738,8 +119864,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: - - *374 - - *375 + - *364 + - *365 responses: '204': description: Response @@ -120769,8 +119895,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: - - *374 - - *375 + - *364 + - *365 - name: token description: package token schema: @@ -120802,8 +119928,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: - - *374 - - *375 + - *364 + - *365 - *19 - *17 - name: state @@ -120823,7 +119949,7 @@ paths: application/json: schema: type: array - items: *376 + items: *366 examples: default: value: @@ -120872,15 +119998,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 responses: '200': description: Response content: application/json: - schema: *376 + schema: *366 examples: default: value: @@ -120916,9 +120042,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 responses: '204': description: Response @@ -120948,9 +120074,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 responses: '204': description: Response @@ -120987,9 +120113,9 @@ paths: application/json: schema: type: array - items: *799 + items: *783 examples: - default: *811 + default: *795 headers: Link: *41 '304': *35 @@ -121102,7 +120228,7 @@ paths: type: array items: *72 examples: - default: &818 + default: &802 summary: Default response value: - id: 1296269 @@ -121420,9 +120546,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121460,9 +120586,9 @@ paths: application/json: schema: type: array - items: *639 + items: *623 examples: - default: *812 + default: *796 headers: Link: *41 '304': *35 @@ -121485,7 +120611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *356 + - *346 responses: '204': description: Response @@ -121508,7 +120634,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *356 + - *346 responses: '204': description: Response @@ -121541,7 +120667,7 @@ paths: application/json: schema: type: array - items: &813 + items: &797 title: Social account description: Social media account type: object @@ -121558,7 +120684,7 @@ paths: - provider - url examples: - default: &814 + default: &798 value: - provider: twitter url: https://twitter.com/github @@ -121621,9 +120747,9 @@ paths: application/json: schema: type: array - items: *813 + items: *797 examples: - default: *814 + default: *798 '422': *15 '304': *35 '404': *6 @@ -121711,7 +120837,7 @@ paths: application/json: schema: type: array - items: &815 + items: &799 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -121731,7 +120857,7 @@ paths: - title - created_at examples: - default: &830 + default: &814 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121796,9 +120922,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *799 examples: - default: &816 + default: &800 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121828,7 +120954,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: - - &817 + - &801 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121840,9 +120966,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *799 examples: - default: *816 + default: *800 '404': *6 '304': *35 '403': *27 @@ -121865,7 +120991,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: - - *817 + - *801 responses: '204': description: Response @@ -121894,7 +121020,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: - - &831 + - &815 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 @@ -121919,11 +121045,11 @@ paths: type: array items: *72 examples: - default-response: *818 + default-response: *802 application/vnd.github.v3.star+json: schema: type: array - items: &832 + items: &816 title: Starred Repository description: Starred Repository type: object @@ -122079,8 +121205,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response if this repository is starred by you @@ -122108,8 +121234,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -122133,8 +121259,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -122167,9 +121293,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 '304': *35 @@ -122206,7 +121332,7 @@ paths: application/json: schema: type: array - items: *435 + items: *419 examples: default: value: @@ -122292,10 +121418,10 @@ paths: application/json: schema: oneOf: - - *793 - - *792 + - *777 + - *776 examples: - default-response: &820 + default-response: &804 summary: Default response value: login: octocat @@ -122330,7 +121456,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &821 + response-with-git-hub-plan-information: &805 summary: Response with GitHub plan information value: login: octocat @@ -122393,7 +121519,7 @@ paths: required: true schema: type: string - - *390 + - *380 requestBody: required: true description: Details of the draft item to create in the project. @@ -122427,9 +121553,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - draft_issue: *396 + draft_issue: *386 '304': *35 '403': *27 '401': *23 @@ -122452,7 +121578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *819 + - *803 - *17 responses: '200': @@ -122501,11 +121627,11 @@ paths: application/json: schema: oneOf: - - *793 - - *792 + - *777 + - *776 examples: - default-response: *820 - response-with-git-hub-plan-information: *821 + default-response: *804 + response-with-git-hub-plan-information: *805 '404': *6 x-github: githubCloudOnly: false @@ -122555,8 +121681,8 @@ paths: required: - subject_digests examples: - default: *822 - withPredicateType: *823 + default: *806 + withPredicateType: *807 responses: '200': description: Response @@ -122610,7 +121736,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *824 + default: *808 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122815,12 +121941,12 @@ paths: initiator: type: string examples: - default: *505 + default: *489 '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -122854,9 +121980,9 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *809 + default: *793 '403': *27 '401': *23 x-github: @@ -123240,9 +122366,9 @@ paths: application/json: schema: type: array - items: *800 + items: *784 examples: - default: *825 + default: *809 headers: Link: *41 x-github: @@ -123346,7 +122472,7 @@ paths: application/json: schema: *20 examples: - default: *636 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123471,7 +122597,7 @@ paths: - docker - nuget - container - - *808 + - *792 - *132 - *19 - *17 @@ -123482,12 +122608,12 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *809 + default: *793 '403': *27 '401': *23 - '400': *810 + '400': *794 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123507,17 +122633,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 responses: '200': description: Response content: application/json: - schema: *372 + schema: *362 examples: - default: *826 + default: *810 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123538,8 +122664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 responses: '204': @@ -123572,8 +122698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 - name: token description: package token @@ -123606,8 +122732,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: - - *374 - - *375 + - *364 + - *365 - *132 responses: '200': @@ -123616,7 +122742,7 @@ paths: application/json: schema: type: array - items: *376 + items: *366 examples: default: value: @@ -123674,16 +122800,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 - *132 responses: '200': description: Response content: application/json: - schema: *376 + schema: *366 examples: default: value: @@ -123718,10 +122844,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 - - *377 + - *367 responses: '204': description: Response @@ -123753,10 +122879,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 - - *377 + - *367 responses: '204': description: Response @@ -123797,9 +122923,9 @@ paths: application/json: schema: type: array - items: *388 + items: *378 examples: - default: *389 + default: *379 headers: Link: *41 '304': *35 @@ -123821,16 +122947,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *390 + - *380 - *132 responses: '200': description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 headers: Link: *41 '304': *35 @@ -123852,7 +122978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *390 + - *380 - *132 - *17 - *102 @@ -123864,9 +122990,9 @@ paths: application/json: schema: type: array - items: *393 + items: *383 examples: - default: *827 + default: *811 headers: Link: *41 '304': *35 @@ -123888,17 +123014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *390 - - *828 + - *380 + - *812 - *132 responses: '200': description: Response content: application/json: - schema: *393 + schema: *383 examples: - default: *829 + default: *813 headers: Link: *41 '304': *35 @@ -123921,7 +123047,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: - - *390 + - *380 - *132 - *102 - *103 @@ -123954,9 +123080,9 @@ paths: application/json: schema: type: array - items: *397 + items: *387 examples: - default: *398 + default: *388 headers: Link: *41 '304': *35 @@ -123978,7 +123104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *132 - - *390 + - *380 requestBody: required: true description: Details of the item to add to the project. @@ -124015,10 +123141,10 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - issue: *396 - pull_request: *396 + issue: *386 + pull_request: *386 '304': *35 '403': *27 '401': *23 @@ -124038,9 +123164,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: - - *390 + - *380 - *132 - - *399 + - *389 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124060,9 +123186,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - default: *398 + default: *388 headers: Link: *41 '304': *35 @@ -124083,9 +123209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *390 + - *380 - *132 - - *399 + - *389 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124158,13 +123284,13 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - text_field: *398 - number_field: *398 - date_field: *398 - single_select_field: *398 - iteration_field: *398 + text_field: *388 + number_field: *388 + date_field: *388 + single_select_field: *388 + iteration_field: *388 '401': *23 '403': *27 '404': *6 @@ -124184,9 +123310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *390 + - *380 - *132 - - *399 + - *389 responses: '204': description: Response @@ -124404,9 +123530,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -124414,458 +123540,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: - - *132 - responses: - '200': - description: Response - content: - application/json: - schema: *422 - examples: - default: *423 - 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: - - *132 - responses: - '200': - description: Response - content: - application/json: - schema: *427 - examples: - default: *428 - 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: - - *132 - - *191 - - *193 - - *192 - - *240 - - *195 - 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': *27 - '404': *6 - '500': *38 - '503': *184 - 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: - - *132 - responses: - '200': - description: Response - content: - application/json: - schema: *429 - examples: - default: *430 - 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: - - *132 - - *191 - - *241 - - *192 - 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': *27 - '500': *38 - '503': *184 - 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: - - *132 - - *191 - - *193 - - *192 - - *244 - - *195 - - *245 - 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': *27 - '404': *6 - '500': *38 - '503': *184 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -124888,9 +123562,9 @@ paths: application/json: schema: type: array - items: *813 + items: *797 examples: - default: *814 + default: *798 headers: Link: *41 x-github: @@ -124920,9 +123594,9 @@ paths: application/json: schema: type: array - items: *815 + items: *799 examples: - default: *830 + default: *814 headers: Link: *41 x-github: @@ -124947,7 +123621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *831 + - *815 - *104 - *17 - *19 @@ -124959,11 +123633,11 @@ paths: schema: anyOf: - type: array - items: *832 + items: *816 - type: array items: *72 examples: - default-response: *818 + default-response: *802 headers: Link: *41 x-github: @@ -124992,9 +123666,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -125123,7 +123797,7 @@ webhooks: type: string enum: - disabled - enterprise: &833 + enterprise: &817 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -125192,7 +123866,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &834 + installation: &818 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -125213,7 +123887,7 @@ webhooks: required: - id - node_id - organization: &835 + organization: &819 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -125286,7 +123960,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &836 + repository: &820 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -126199,10 +124873,10 @@ webhooks: type: string enum: - enabled - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -126278,11 +124952,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - rule: &837 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: &821 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) @@ -126505,11 +125179,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - rule: *837 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -126697,11 +125371,11 @@ webhooks: - everyone required: - from - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - rule: *837 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -126774,7 +125448,7 @@ webhooks: required: true content: application/json: - schema: &857 + schema: &841 title: Exemption request cancellation event type: object properties: @@ -126782,11 +125456,11 @@ webhooks: type: string enum: - cancelled - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: &838 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: &822 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -127024,7 +125698,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &839 + items: &823 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -127136,7 +125810,7 @@ webhooks: required: true content: application/json: - schema: &858 + schema: &842 title: Exemption request completed event type: object properties: @@ -127144,11 +125818,11 @@ webhooks: type: string enum: - completed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -127220,7 +125894,7 @@ webhooks: required: true content: application/json: - schema: &855 + schema: &839 title: Exemption request created event type: object properties: @@ -127228,11 +125902,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -127304,7 +125978,7 @@ webhooks: required: true content: application/json: - schema: &859 + schema: &843 title: Exemption response dismissed event type: object properties: @@ -127312,12 +125986,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 - exemption_response: *839 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -127391,7 +126065,7 @@ webhooks: required: true content: application/json: - schema: &856 + schema: &840 title: Exemption response submitted event type: object properties: @@ -127399,12 +126073,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 - exemption_response: *839 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -127488,7 +126162,7 @@ webhooks: type: string enum: - completed - check_run: &841 + check_run: &825 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127553,8 +126227,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *522 - repository: *273 + items: *506 + repository: *263 status: type: string enum: @@ -127598,7 +126272,7 @@ webhooks: - examples: - neutral - deployment: *840 + deployment: *824 details_url: type: string examples: @@ -127658,7 +126332,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *522 + items: *506 started_at: type: string format: date-time @@ -127696,10 +126370,10 @@ webhooks: - output - app - pull_requests - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -128092,11 +126766,11 @@ webhooks: type: string enum: - created - check_run: *841 - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + check_run: *825 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -128492,11 +127166,11 @@ webhooks: type: string enum: - requested_action - check_run: *841 - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + check_run: *825 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 requested_action: description: The action requested by the user. type: object @@ -128901,11 +127575,11 @@ webhooks: type: string enum: - rerequested - check_run: *841 - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + check_run: *825 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -129897,10 +128571,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -130600,10 +129274,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -131297,10 +129971,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -131469,7 +130143,7 @@ webhooks: required: - login - id - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131621,20 +130295,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &842 + commit_oid: &826 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: *833 - installation: *834 - organization: *835 - ref: &843 + enterprise: *817 + installation: *818 + organization: *819 + ref: &827 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: *836 + repository: *820 sender: *4 required: - action @@ -131801,7 +130475,7 @@ webhooks: required: - login - id - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132042,12 +130716,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -132145,7 +130819,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132330,12 +131004,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -132504,7 +131178,7 @@ webhooks: required: - login - id - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132681,12 +131355,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -132789,7 +131463,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132969,9 +131643,9 @@ webhooks: type: - string - 'null' - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132979,7 +131653,7 @@ webhooks: type: - string - 'null' - repository: *836 + repository: *820 sender: *4 required: - action @@ -133078,7 +131752,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133225,12 +131899,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -133492,10 +132166,10 @@ webhooks: - updated_at - author_association - body - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -133576,18 +132250,18 @@ webhooks: type: - string - 'null' - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *835 - pusher_type: &844 + organization: *819 + pusher_type: &828 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &845 + ref: &829 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133597,7 +132271,7 @@ webhooks: enum: - tag - branch - repository: *836 + repository: *820 sender: *4 required: - ref @@ -133680,9 +132354,9 @@ webhooks: enum: - created definition: *146 - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -133767,9 +132441,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -133847,9 +132521,9 @@ webhooks: enum: - promote_to_enterprise definition: *146 - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -133927,9 +132601,9 @@ webhooks: enum: - updated definition: *146 - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -134006,10 +132680,10 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - repository: *836 - organization: *835 + enterprise: *817 + installation: *818 + repository: *820 + organization: *819 sender: *4 new_property_values: type: array @@ -134094,18 +132768,18 @@ webhooks: title: delete event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - pusher_type: *844 - ref: *845 + enterprise: *817 + installation: *818 + organization: *819 + pusher_type: *828 + ref: *829 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *836 + repository: *820 sender: *4 required: - ref @@ -134189,11 +132863,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134277,11 +132951,11 @@ webhooks: type: string enum: - auto_reopened - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134365,11 +133039,11 @@ webhooks: type: string enum: - created - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134451,11 +133125,11 @@ webhooks: type: string enum: - dismissed - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134537,11 +133211,11 @@ webhooks: type: string enum: - fixed - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134624,11 +133298,11 @@ webhooks: type: string enum: - reintroduced - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134710,11 +133384,11 @@ webhooks: type: string enum: - reopened - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134791,9 +133465,9 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - key: &846 + enterprise: *817 + installation: *818 + key: &830 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134831,8 +133505,8 @@ webhooks: - verified - created_at - read_only - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -134909,11 +133583,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - key: *846 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + key: *830 + organization: *819 + repository: *820 sender: *4 required: - action @@ -135485,12 +134159,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: &850 + workflow: &834 title: Workflow type: - object @@ -136228,13 +134902,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *592 + deployment: *576 pull_requests: type: array - items: *685 - repository: *836 - organization: *835 - installation: *834 + items: *669 + repository: *820 + organization: *819 + installation: *818 sender: *4 responses: '200': @@ -136305,7 +134979,7 @@ webhooks: type: string enum: - approved - approver: &847 + approver: &831 type: object properties: avatar_url: @@ -136348,11 +135022,11 @@ webhooks: type: string comment: type: string - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - reviewers: &848 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: &832 type: array items: type: object @@ -136433,7 +135107,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &849 + workflow_job_run: &833 type: object properties: conclusion: @@ -137179,18 +135853,18 @@ webhooks: type: string enum: - rejected - approver: *847 + approver: *831 comment: type: string - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - reviewers: *848 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: *832 sender: *4 since: type: string - workflow_job_run: *849 + workflow_job_run: *833 workflow_job_runs: type: array items: @@ -137907,13 +136581,13 @@ webhooks: type: string enum: - requested - enterprise: *833 + enterprise: *817 environment: type: string - installation: *834 - organization: *835 - repository: *836 - requestor: &860 + installation: *818 + organization: *819 + repository: *820 + requestor: &844 title: User type: - object @@ -139856,12 +138530,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Deployment Workflow Run type: @@ -140552,7 +139226,7 @@ webhooks: type: string enum: - answered - answer: &853 + answer: &837 type: object properties: author_association: @@ -140712,7 +139386,7 @@ webhooks: - created_at - updated_at - body - discussion: &851 + discussion: &835 title: Discussion description: A Discussion in a repository. type: object @@ -141008,7 +139682,7 @@ webhooks: - id labels: type: array - items: *648 + items: *632 required: - repository_url - category @@ -141030,10 +139704,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141160,11 +139834,11 @@ webhooks: - from required: - category - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141247,11 +139921,11 @@ webhooks: type: string enum: - closed - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141333,7 +140007,7 @@ webhooks: type: string enum: - created - comment: &852 + comment: &836 type: object properties: author_association: @@ -141493,11 +140167,11 @@ webhooks: - updated_at - body - reactions - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141580,12 +140254,12 @@ webhooks: type: string enum: - deleted - comment: *852 - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + comment: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141680,12 +140354,12 @@ webhooks: - from required: - body - comment: *852 - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + comment: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141769,11 +140443,11 @@ webhooks: type: string enum: - created - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141855,11 +140529,11 @@ webhooks: type: string enum: - deleted - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141959,11 +140633,11 @@ webhooks: type: string required: - from - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142045,10 +140719,10 @@ webhooks: type: string enum: - labeled - discussion: *851 - enterprise: *833 - installation: *834 - label: &854 + discussion: *835 + enterprise: *817 + installation: *818 + label: &838 title: Label type: object properties: @@ -142081,8 +140755,8 @@ webhooks: - color - default - description - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142165,11 +140839,11 @@ webhooks: type: string enum: - locked - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142251,11 +140925,11 @@ webhooks: type: string enum: - pinned - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142337,11 +141011,11 @@ webhooks: type: string enum: - reopened - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142426,16 +141100,16 @@ webhooks: changes: type: object properties: - new_discussion: *851 - new_repository: *836 + new_discussion: *835 + new_repository: *820 required: - new_discussion - new_repository - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142518,10 +141192,10 @@ webhooks: type: string enum: - unanswered - discussion: *851 - old_answer: *853 - organization: *835 - repository: *836 + discussion: *835 + old_answer: *837 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142603,12 +141277,12 @@ webhooks: type: string enum: - unlabeled - discussion: *851 - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142691,11 +141365,11 @@ webhooks: type: string enum: - unlocked - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142777,11 +141451,11 @@ webhooks: type: string enum: - unpinned - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142850,7 +141524,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142913,7 +141587,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142979,7 +141653,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143045,7 +141719,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143111,7 +141785,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143177,7 +141851,7 @@ webhooks: required: true content: application/json: - schema: *859 + schema: *843 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143243,7 +141917,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143308,7 +141982,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143373,7 +142047,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143438,7 +142112,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143503,7 +142177,7 @@ webhooks: required: true content: application/json: - schema: *859 + schema: *843 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143569,7 +142243,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143636,7 +142310,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *833 + enterprise: *817 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144314,9 +142988,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - forkee @@ -144462,9 +143136,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pages: description: The pages that were updated. type: array @@ -144502,7 +143176,7 @@ webhooks: - action - sha - html_url - repository: *836 + repository: *820 sender: *4 required: - pages @@ -144578,10 +143252,10 @@ webhooks: type: string enum: - created - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: &861 + organization: *819 + repositories: &845 description: An array of repository objects that the installation can access. type: array @@ -144607,8 +143281,8 @@ webhooks: - name - full_name - private - repository: *836 - requester: *860 + repository: *820 + requester: *844 sender: *4 required: - action @@ -144683,11 +143357,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -144764,11 +143438,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -144845,10 +143519,10 @@ webhooks: type: string enum: - added - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories_added: &862 + organization: *819 + repositories_added: &846 description: An array of repository objects, which were added to the installation. type: array @@ -144894,15 +143568,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *836 - repository_selection: &863 + repository: *820 + repository_selection: &847 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *860 + requester: *844 sender: *4 required: - action @@ -144981,10 +143655,10 @@ webhooks: type: string enum: - removed - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories_added: *862 + organization: *819 + repositories_added: *846 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -145011,9 +143685,9 @@ webhooks: - name - full_name - private - repository: *836 - repository_selection: *863 - requester: *860 + repository: *820 + repository_selection: *847 + requester: *844 sender: *4 required: - action @@ -145092,11 +143766,11 @@ webhooks: type: string enum: - suspend - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -145279,10 +143953,10 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 target_type: type: string @@ -145361,11 +144035,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -145613,8 +144287,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146431,8 +145105,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146449,7 +145123,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -146793,8 +145467,8 @@ webhooks: - state - locked - assignee - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146874,7 +145548,7 @@ webhooks: type: string enum: - deleted - comment: &864 + comment: &848 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147041,8 +145715,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147855,8 +146529,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147873,7 +146547,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -148219,8 +146893,8 @@ webhooks: - state - locked - assignee - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -148300,7 +146974,7 @@ webhooks: type: string enum: - edited - changes: &888 + changes: &872 description: The changes to the comment. type: object properties: @@ -148312,9 +146986,9 @@ webhooks: type: string required: - from - comment: *864 - enterprise: *833 - installation: *834 + comment: *848 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149130,8 +147804,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149148,7 +147822,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -149492,8 +148166,8 @@ webhooks: - state - locked - assignee - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149583,9 +148257,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *72 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149679,9 +148353,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *72 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149774,9 +148448,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149870,9 +148544,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149957,10 +148631,10 @@ webhooks: type: string enum: - assigned - assignee: *860 - enterprise: *833 - installation: *834 - issue: &867 + assignee: *844 + enterprise: *817 + installation: *818 + issue: &851 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150772,11 +149446,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150793,7 +149467,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -150896,8 +149570,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -150977,8 +149651,8 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -151795,11 +150469,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151816,7 +150490,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -152062,8 +150736,8 @@ webhooks: required: - state - closed_at - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -152142,8 +150816,8 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152951,11 +151625,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152972,7 +151646,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -153074,8 +151748,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -153154,8 +151828,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153986,11 +152660,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154007,7 +152681,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -154088,7 +152762,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &865 + milestone: &849 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154231,8 +152905,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -154331,8 +153005,8 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155144,11 +153818,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155162,7 +153836,7 @@ webhooks: timeline_url: type: string format: uri - type: *357 + type: *347 title: description: Title of the issue type: string @@ -155268,9 +153942,9 @@ webhooks: - active_lock_reason - body - reactions - label: *854 - organization: *835 - repository: *836 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -155350,8 +154024,8 @@ webhooks: type: string enum: - labeled - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156162,11 +154836,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156180,7 +154854,7 @@ webhooks: timeline_url: type: string format: uri - type: *357 + type: *347 title: description: Title of the issue type: string @@ -156286,9 +154960,9 @@ webhooks: - active_lock_reason - body - reactions - label: *854 - organization: *835 - repository: *836 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -156368,8 +155042,8 @@ webhooks: type: string enum: - locked - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157205,11 +155879,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157223,7 +155897,7 @@ webhooks: timeline_url: type: string format: uri - type: *357 + type: *347 title: description: Title of the issue type: string @@ -157306,8 +155980,8 @@ webhooks: format: uri user_view_type: type: string - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -157386,8 +156060,8 @@ webhooks: type: string enum: - milestoned - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158217,11 +156891,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158238,7 +156912,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -158318,9 +156992,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *865 - organization: *835 - repository: *836 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -159212,11 +157886,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159312,7 +157986,7 @@ webhooks: required: - login - id - type: *357 + type: *347 required: - id - number @@ -159793,8 +158467,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160606,11 +159280,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160627,7 +159301,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -160729,8 +159403,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -160810,9 +159484,9 @@ webhooks: type: string enum: - pinned - enterprise: *833 - installation: *834 - issue: &866 + enterprise: *817 + installation: *818 + issue: &850 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -161618,11 +160292,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161639,7 +160313,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -161741,8 +160415,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161821,8 +160495,8 @@ webhooks: type: string enum: - reopened - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162656,11 +161330,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162757,9 +161431,9 @@ webhooks: format: uri user_view_type: type: string - type: *357 - organization: *835 - repository: *836 + type: *347 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163648,11 +162322,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163669,7 +162343,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -164251,11 +162925,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *833 - installation: *834 - issue: *866 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164335,12 +163009,12 @@ webhooks: type: string enum: - typed - enterprise: *833 - installation: *834 - issue: *867 - type: *357 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + type: *347 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164421,7 +163095,7 @@ webhooks: type: string enum: - unassigned - assignee: &891 + assignee: &875 title: User type: - object @@ -164493,11 +163167,11 @@ webhooks: required: - login - id - enterprise: *833 - installation: *834 - issue: *867 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164576,12 +163250,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *833 - installation: *834 - issue: *867 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164661,8 +163335,8 @@ webhooks: type: string enum: - unlocked - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165496,11 +164170,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165517,7 +164191,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -165597,8 +164271,8 @@ webhooks: format: uri user_view_type: type: string - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165678,11 +164352,11 @@ webhooks: type: string enum: - unpinned - enterprise: *833 - installation: *834 - issue: *866 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165761,12 +164435,12 @@ webhooks: type: string enum: - untyped - enterprise: *833 - installation: *834 - issue: *867 - type: *357 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + type: *347 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165846,11 +164520,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165928,11 +164602,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166042,11 +164716,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166128,9 +164802,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: &868 + enterprise: *817 + installation: *818 + marketplace_purchase: &852 title: Marketplace Purchase type: object required: @@ -166218,8 +164892,8 @@ webhooks: type: integer unit_count: type: integer - organization: *835 - previous_marketplace_purchase: &869 + organization: *819 + previous_marketplace_purchase: &853 title: Marketplace Purchase type: object properties: @@ -166303,7 +164977,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *836 + repository: *820 sender: *4 required: - action @@ -166383,10 +165057,10 @@ webhooks: - changed effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: *868 - organization: *835 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166474,7 +165148,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *836 + repository: *820 sender: *4 required: - action @@ -166556,10 +165230,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: *868 - organization: *835 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166645,7 +165319,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *836 + repository: *820 sender: *4 required: - action @@ -166726,8 +165400,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 marketplace_purchase: title: Marketplace Purchase type: object @@ -166813,9 +165487,9 @@ webhooks: type: integer unit_count: type: integer - organization: *835 - previous_marketplace_purchase: *869 - repository: *836 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -166895,12 +165569,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: *868 - organization: *835 - previous_marketplace_purchase: *869 - repository: *836 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -167002,11 +165676,11 @@ webhooks: type: string required: - to - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167108,11 +165782,11 @@ webhooks: type: - string - 'null' - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167191,11 +165865,11 @@ webhooks: type: string enum: - removed - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167273,11 +165947,11 @@ webhooks: type: string enum: - added - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167355,7 +166029,7 @@ webhooks: required: - login - id - team: &870 + team: &854 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -167585,11 +166259,11 @@ webhooks: type: string enum: - removed - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167668,7 +166342,7 @@ webhooks: required: - login - id - team: *870 + team: *854 required: - action - scope @@ -167750,8 +166424,8 @@ webhooks: type: string enum: - checks_requested - installation: *834 - merge_group: &871 + installation: *818 + merge_group: &855 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -167770,15 +166444,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *526 + head_commit: *510 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167864,10 +166538,10 @@ webhooks: - merged - invalidated - dequeued - installation: *834 - merge_group: *871 - organization: *835 - repository: *836 + installation: *818 + merge_group: *855 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167940,7 +166614,7 @@ webhooks: type: string enum: - deleted - enterprise: *833 + enterprise: *817 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -168049,12 +166723,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *834 - organization: *835 + installation: *818 + organization: *819 repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -168134,11 +166808,11 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 - milestone: *865 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168217,9 +166891,9 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - milestone: &872 + enterprise: *817 + installation: *818 + milestone: &856 title: Milestone description: A collection of related issues and pull requests. type: object @@ -168361,8 +167035,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168441,11 +167115,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - milestone: *865 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168555,11 +167229,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - milestone: *865 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168639,11 +167313,11 @@ webhooks: type: string enum: - opened - enterprise: *833 - installation: *834 - milestone: *872 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *856 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168722,11 +167396,11 @@ webhooks: type: string enum: - blocked - blocked_user: *860 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168805,11 +167479,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *860 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168885,7 +167559,7 @@ webhooks: enum: - created definition: *140 - enterprise: *833 + enterprise: *817 sender: *4 required: - action @@ -168965,8 +167639,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 sender: *4 required: - action @@ -169039,8 +167713,8 @@ webhooks: enum: - updated definition: *140 - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 sender: *4 required: - action @@ -169112,9 +167786,9 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 new_property_values: type: array @@ -169202,9 +167876,9 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - membership: &873 + enterprise: *817 + installation: *818 + membership: &857 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -169314,8 +167988,8 @@ webhooks: - role - organization_url - user - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169393,11 +168067,11 @@ webhooks: type: string enum: - member_added - enterprise: *833 - installation: *834 - membership: *873 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169476,8 +168150,8 @@ webhooks: type: string enum: - member_invited - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -169599,10 +168273,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 - user: *860 + user: *844 required: - action - invitation @@ -169680,11 +168354,11 @@ webhooks: type: string enum: - member_removed - enterprise: *833 - installation: *834 - membership: *873 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169771,11 +168445,11 @@ webhooks: properties: from: type: string - enterprise: *833 - installation: *834 - membership: *873 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169851,9 +168525,9 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -170376,7 +169050,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &874 + items: &858 title: Ruby Gems metadata type: object properties: @@ -170473,7 +169147,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -170549,9 +169223,9 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -170913,7 +169587,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *874 + items: *858 source_url: type: string format: uri @@ -170984,7 +169658,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -171165,12 +169839,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *833 + enterprise: *817 id: type: integer - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - id @@ -171247,7 +169921,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &875 + personal_access_token_request: &859 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -171397,10 +170071,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *833 - organization: *835 + enterprise: *817 + organization: *819 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171477,11 +170151,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *875 - enterprise: *833 - organization: *835 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171557,11 +170231,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *875 - enterprise: *833 - organization: *835 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171636,11 +170310,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *875 - organization: *835 - enterprise: *833 + personal_access_token_request: *859 + organization: *819 + enterprise: *817 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171745,7 +170419,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *876 + last_response: *860 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -171777,8 +170451,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 zen: description: Random string of GitHub zen. @@ -172023,10 +170697,10 @@ webhooks: - from required: - note - enterprise: *833 - installation: *834 - organization: *835 - project_card: &877 + enterprise: *817 + installation: *818 + organization: *819 + project_card: &861 title: Project Card type: object properties: @@ -172149,7 +170823,7 @@ webhooks: - creator - created_at - updated_at - repository: *836 + repository: *820 sender: *4 required: - action @@ -172230,11 +170904,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - project_card: *877 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -172314,9 +170988,9 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 project_card: title: Project Card type: object @@ -172446,7 +171120,7 @@ webhooks: repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -172540,11 +171214,11 @@ webhooks: - from required: - note - enterprise: *833 - installation: *834 - organization: *835 - project_card: *877 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -172638,9 +171312,9 @@ webhooks: - from required: - column_id - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 project_card: allOf: - title: Project Card @@ -172837,7 +171511,7 @@ webhooks: type: string required: - after_id - repository: *836 + repository: *820 sender: *4 required: - action @@ -172917,10 +171591,10 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 - organization: *835 - project: &879 + enterprise: *817 + installation: *818 + organization: *819 + project: &863 title: Project type: object properties: @@ -173047,7 +171721,7 @@ webhooks: - creator - created_at - updated_at - repository: *836 + repository: *820 sender: *4 required: - action @@ -173127,10 +171801,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - project_column: &878 + enterprise: *817 + installation: *818 + organization: *819 + project_column: &862 title: Project Column type: object properties: @@ -173170,7 +171844,7 @@ webhooks: - name - created_at - updated_at - repository: *836 + repository: *820 sender: *4 required: - action @@ -173249,14 +171923,14 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - project_column: *878 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -173345,11 +172019,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - project_column: *878 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -173429,11 +172103,11 @@ webhooks: type: string enum: - moved - enterprise: *833 - installation: *834 - organization: *835 - project_column: *878 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -173513,11 +172187,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - project: *879 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -173597,14 +172271,14 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - project: *879 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -173705,11 +172379,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - project: *879 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -173788,11 +172462,11 @@ webhooks: type: string enum: - reopened - enterprise: *833 - installation: *834 - organization: *835 - project: *879 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -173873,9 +172547,9 @@ webhooks: type: string enum: - closed - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -173956,9 +172630,9 @@ webhooks: type: string enum: - created - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -174039,9 +172713,9 @@ webhooks: type: string enum: - deleted - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -174162,9 +172836,9 @@ webhooks: type: string to: type: string - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -174247,7 +172921,7 @@ webhooks: type: string enum: - archived - changes: &883 + changes: &867 type: object properties: archived_at: @@ -174263,9 +172937,9 @@ webhooks: - string - 'null' format: date-time - installation: *834 - organization: *835 - projects_v2_item: &880 + installation: *818 + organization: *819 + projects_v2_item: &864 title: Projects v2 Item description: An item belonging to a project type: object @@ -174283,7 +172957,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *394 + content_type: *384 creator: *4 created_at: type: string @@ -174405,9 +173079,9 @@ webhooks: - 'null' to: type: string - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174489,9 +173163,9 @@ webhooks: type: string enum: - created - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174572,9 +173246,9 @@ webhooks: type: string enum: - deleted - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174679,7 +173353,7 @@ webhooks: oneOf: - type: string - type: integer - - &881 + - &865 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -174703,7 +173377,7 @@ webhooks: required: - id - name - - &882 + - &866 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -174743,8 +173417,8 @@ webhooks: oneOf: - type: string - type: integer - - *881 - - *882 + - *865 + - *866 type: - 'null' - string @@ -174767,9 +173441,9 @@ webhooks: - 'null' required: - body - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174866,9 +173540,9 @@ webhooks: type: - string - 'null' - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174951,10 +173625,10 @@ webhooks: type: string enum: - restored - changes: *883 - installation: *834 - organization: *835 - projects_v2_item: *880 + changes: *867 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -175036,9 +173710,9 @@ webhooks: type: string enum: - reopened - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -175119,9 +173793,9 @@ webhooks: type: string enum: - created - installation: *834 - organization: *835 - projects_v2_status_update: *884 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -175202,9 +173876,9 @@ webhooks: type: string enum: - deleted - installation: *834 - organization: *835 - projects_v2_status_update: *884 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -175350,9 +174024,9 @@ webhooks: - string - 'null' format: date - installation: *834 - organization: *835 - projects_v2_status_update: *884 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -175423,10 +174097,10 @@ webhooks: title: public event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - repository @@ -175503,13 +174177,13 @@ webhooks: type: string enum: - assigned - assignee: *860 - enterprise: *833 - installation: *834 - number: &885 + assignee: *844 + enterprise: *817 + installation: *818 + number: &869 description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -177858,7 +176532,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -177940,11 +176614,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -180286,7 +178960,7 @@ webhooks: - draft reason: type: string - repository: *836 + repository: *820 sender: *4 required: - action @@ -180368,11 +179042,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -182714,7 +181388,7 @@ webhooks: - draft reason: type: string - repository: *836 + repository: *820 sender: *4 required: - action @@ -182796,13 +181470,13 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: &886 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: &870 allOf: - - *685 + - *669 - type: object properties: allow_auto_merge: @@ -182864,7 +181538,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *836 + repository: *820 sender: *4 required: - action @@ -182945,12 +181619,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -183030,11 +181704,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *833 - milestone: *391 - number: *885 - organization: *835 - pull_request: &887 + enterprise: *817 + milestone: *381 + number: *869 + organization: *819 + pull_request: &871 title: Pull Request type: object properties: @@ -185361,7 +184035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -185440,11 +184114,11 @@ webhooks: type: string enum: - dequeued - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -187790,7 +186464,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *836 + repository: *820 sender: *4 required: - action @@ -187914,12 +186588,12 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -187999,11 +186673,11 @@ webhooks: type: string enum: - enqueued - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -190334,7 +189008,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -190414,11 +189088,11 @@ webhooks: type: string enum: - labeled - enterprise: *833 - installation: *834 - label: *854 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + label: *838 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -192766,7 +191440,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -192847,10 +191521,10 @@ webhooks: type: string enum: - locked - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -195196,7 +193870,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -195276,12 +193950,12 @@ webhooks: type: string enum: - milestoned - enterprise: *833 - milestone: *391 - number: *885 - organization: *835 - pull_request: *887 - repository: *836 + enterprise: *817 + milestone: *381 + number: *869 + organization: *819 + pull_request: *871 + repository: *820 sender: *4 required: - action @@ -195360,12 +194034,12 @@ webhooks: type: string enum: - opened - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -195446,12 +194120,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -195531,12 +194205,12 @@ webhooks: type: string enum: - reopened - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -195911,9 +194585,9 @@ webhooks: - start_side - side - reactions - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -198143,7 +196817,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *836 + repository: *820 sender: *4 required: - action @@ -198223,7 +196897,7 @@ webhooks: type: string enum: - deleted - comment: &889 + comment: &873 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. @@ -198516,9 +197190,9 @@ webhooks: - start_side - side - reactions - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -200736,7 +199410,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *836 + repository: *820 sender: *4 required: - action @@ -200816,11 +199490,11 @@ webhooks: type: string enum: - edited - changes: *888 - comment: *889 - enterprise: *833 - installation: *834 - organization: *835 + changes: *872 + comment: *873 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -203041,7 +201715,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *836 + repository: *820 sender: *4 required: - action @@ -203122,9 +201796,9 @@ webhooks: type: string enum: - dismissed - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -205357,7 +204031,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 + repository: *820 review: description: The review that was affected. type: object @@ -205608,9 +204282,9 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -207724,8 +206398,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 - review: &890 + repository: *820 + review: &874 description: The review that was affected. type: object properties: @@ -207963,12 +206637,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -210315,7 +208989,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_reviewer: title: User type: @@ -210401,12 +209075,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -212760,7 +211434,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212955,12 +211629,12 @@ webhooks: type: string enum: - review_requested - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -215309,7 +213983,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_reviewer: title: User type: @@ -215396,12 +214070,12 @@ webhooks: type: string enum: - review_requested - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -217741,7 +216415,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -217925,9 +216599,9 @@ webhooks: type: string enum: - submitted - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -220163,8 +218837,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 - review: *890 + repository: *820 + review: *874 sender: *4 required: - action @@ -220244,9 +218918,9 @@ webhooks: type: string enum: - resolved - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -222377,7 +221051,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 + repository: *820 sender: *4 thread: type: object @@ -222774,9 +221448,9 @@ webhooks: type: string enum: - unresolved - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -224890,7 +223564,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 + repository: *820 sender: *4 thread: type: object @@ -225289,10 +223963,10 @@ webhooks: type: string before: type: string - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -227627,7 +226301,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -227709,11 +226383,11 @@ webhooks: type: string enum: - unassigned - assignee: *891 - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + assignee: *875 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -230063,7 +228737,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -230142,11 +228816,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *833 - installation: *834 - label: *854 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + label: *838 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -232485,7 +231159,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -232566,10 +231240,10 @@ webhooks: type: string enum: - unlocked - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -234898,7 +233572,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -235101,7 +233775,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *833 + enterprise: *817 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -235196,8 +233870,8 @@ webhooks: - url - author - committer - installation: *834 - organization: *835 + installation: *818 + organization: *819 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -235785,9 +234459,9 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -236264,7 +234938,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *874 + items: *858 summary: type: string tag_name: @@ -236320,7 +234994,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -236398,9 +235072,9 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -236712,7 +235386,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *874 + items: *858 summary: type: string tag_name: @@ -236762,7 +235436,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -236839,10 +235513,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - release: &892 + enterprise: *817 + installation: *818 + organization: *819 + release: &876 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -237173,7 +235847,7 @@ webhooks: - updated_at - zipball_url - body - repository: *836 + repository: *820 sender: *4 required: - action @@ -237250,11 +235924,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - release: *892 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -237371,11 +236045,11 @@ webhooks: type: boolean required: - to - enterprise: *833 - installation: *834 - organization: *835 - release: *892 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -237453,9 +236127,9 @@ webhooks: type: string enum: - prereleased - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -237791,7 +236465,7 @@ webhooks: - string - 'null' format: uri - repository: *836 + repository: *820 sender: *4 required: - action @@ -237867,10 +236541,10 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 - release: &893 + enterprise: *817 + installation: *818 + organization: *819 + release: &877 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -238203,7 +236877,7 @@ webhooks: - string - 'null' format: uri - repository: *836 + repository: *820 sender: *4 required: - action @@ -238279,11 +236953,11 @@ webhooks: type: string enum: - released - enterprise: *833 - installation: *834 - organization: *835 - release: *892 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -238359,11 +237033,11 @@ webhooks: type: string enum: - unpublished - enterprise: *833 - installation: *834 - organization: *835 - release: *893 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *877 + repository: *820 sender: *4 required: - action @@ -238439,11 +237113,11 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - repository_advisory: *738 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *722 sender: *4 required: - action @@ -238519,11 +237193,11 @@ webhooks: type: string enum: - reported - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - repository_advisory: *738 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *722 sender: *4 required: - action @@ -238599,10 +237273,10 @@ webhooks: type: string enum: - archived - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238679,10 +237353,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238760,10 +237434,10 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238848,10 +237522,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238966,10 +237640,10 @@ webhooks: - 'null' items: type: string - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239041,10 +237715,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 status: type: string @@ -239125,10 +237799,10 @@ webhooks: type: string enum: - privatized - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239205,10 +237879,10 @@ webhooks: type: string enum: - publicized - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239302,10 +237976,10 @@ webhooks: - name required: - repository - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239385,10 +238059,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 repository_ruleset: *179 sender: *4 required: @@ -239467,10 +238141,10 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 repository_ruleset: *179 sender: *4 required: @@ -239549,10 +238223,10 @@ webhooks: type: string enum: - edited - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 repository_ruleset: *179 changes: type: object @@ -239614,16 +238288,16 @@ webhooks: properties: added: type: array - items: *706 + items: *690 deleted: type: array - items: *706 + items: *690 updated: type: array items: type: object properties: - rule: *706 + rule: *690 changes: type: object properties: @@ -239860,10 +238534,10 @@ webhooks: - from required: - owner - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239941,10 +238615,10 @@ webhooks: type: string enum: - unarchived - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240022,7 +238696,7 @@ webhooks: type: string enum: - create - alert: &894 + alert: &878 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -240146,10 +238820,10 @@ webhooks: type: string enum: - open - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240359,10 +239033,10 @@ webhooks: type: string enum: - dismissed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240440,11 +239114,11 @@ webhooks: type: string enum: - reopen - alert: *894 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *878 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240646,10 +239320,10 @@ webhooks: enum: - fixed - open - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240727,7 +239401,7 @@ webhooks: type: string enum: - created - alert: &895 + alert: &879 type: object properties: number: *119 @@ -240841,10 +239515,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240925,11 +239599,11 @@ webhooks: type: string enum: - created - alert: *895 - installation: *834 - location: *896 - organization: *835 - repository: *836 + alert: *879 + installation: *818 + location: *880 + organization: *819 + repository: *820 sender: *4 required: - location @@ -241167,11 +239841,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241249,11 +239923,11 @@ webhooks: type: string enum: - reopened - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241331,11 +240005,11 @@ webhooks: type: string enum: - resolved - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241413,11 +240087,11 @@ webhooks: type: string enum: - validated - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241547,10 +240221,10 @@ webhooks: - organization - enterprise - - repository: *836 - enterprise: *833 - installation: *834 - organization: *835 + repository: *820 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -241628,11 +240302,11 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - security_advisory: &897 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: &881 description: The details of the security advisory, including summary, description, and severity. type: object @@ -241818,11 +240492,11 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - security_advisory: *897 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: *881 sender: *4 required: - action @@ -241895,10 +240569,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -242084,11 +240758,11 @@ webhooks: from: type: object properties: - security_and_analysis: *401 - enterprise: *833 - installation: *834 - organization: *835 - repository: *465 + security_and_analysis: *391 + enterprise: *817 + installation: *818 + organization: *819 + repository: *449 sender: *4 required: - changes @@ -242166,12 +240840,12 @@ webhooks: type: string enum: - cancelled - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: &898 + sponsorship: &882 type: object properties: created_at: @@ -242476,12 +241150,12 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - sponsorship @@ -242569,12 +241243,12 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - changes @@ -242651,17 +241325,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &899 + effective_date: &883 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: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - sponsorship @@ -242735,7 +241409,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &900 + changes: &884 type: object properties: tier: @@ -242779,13 +241453,13 @@ webhooks: - from required: - tier - effective_date: *899 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + effective_date: *883 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - changes @@ -242862,13 +241536,13 @@ webhooks: type: string enum: - tier_changed - changes: *900 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + changes: *884 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - changes @@ -242942,10 +241616,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243029,10 +241703,10 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243466,15 +242140,15 @@ webhooks: type: - string - 'null' - enterprise: *833 + enterprise: *817 id: description: The unique identifier of the status. type: integer - installation: *834 + installation: *818 name: type: string - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 sha: description: The Commit SHA. @@ -243590,9 +242264,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243682,9 +242356,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243774,9 +242448,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243866,9 +242540,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243945,12 +242619,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - team: &901 + team: &885 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -244180,9 +242854,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -244652,7 +243326,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -244728,9 +243402,9 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -245200,7 +243874,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -245277,9 +243951,9 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -245749,7 +244423,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -245893,9 +244567,9 @@ webhooks: - from required: - permissions - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -246365,7 +245039,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - changes @@ -246443,9 +245117,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -246915,7 +245589,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -246991,10 +245665,10 @@ webhooks: type: string enum: - started - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -247067,17 +245741,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *833 + enterprise: *817 inputs: type: - object - 'null' additionalProperties: true - installation: *834 - organization: *835 + installation: *818 + organization: *819 ref: type: string - repository: *836 + repository: *820 sender: *4 workflow: type: string @@ -247159,10 +245833,10 @@ webhooks: type: string enum: - completed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -247418,7 +246092,7 @@ webhooks: type: string required: - conclusion - deployment: *592 + deployment: *576 required: - action - repository @@ -247497,10 +246171,10 @@ webhooks: type: string enum: - in_progress - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -247782,7 +246456,7 @@ webhooks: required: - status - steps - deployment: *592 + deployment: *576 required: - action - repository @@ -247861,10 +246535,10 @@ webhooks: type: string enum: - queued - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -248010,7 +246684,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *592 + deployment: *576 required: - action - repository @@ -248089,10 +246763,10 @@ webhooks: type: string enum: - waiting - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -248239,7 +246913,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *592 + deployment: *576 required: - action - repository @@ -248319,12 +246993,12 @@ webhooks: type: string enum: - completed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Workflow Run type: object @@ -249343,12 +248017,12 @@ webhooks: type: string enum: - in_progress - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Workflow Run type: object @@ -250352,12 +249026,12 @@ webhooks: type: string enum: - requested - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 413f06000..1dd3c5f00 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -43642,7 +43642,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": [ { @@ -43879,7 +43879,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -50891,7 +50891,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": [ { @@ -50978,7 +50978,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -67075,148 +67075,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", @@ -67227,7 +67085,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": [ { @@ -67410,7 +67268,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, @@ -67424,7 +67282,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": [ { @@ -67657,7 +67515,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "post": { @@ -67669,7 +67527,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": [ { @@ -68034,7 +67892,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" } } } @@ -68143,7 +68001,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" } } } @@ -68155,7 +68013,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -68169,7 +68027,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": [ { @@ -68482,7 +68340,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -68494,7 +68352,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": [ { @@ -68853,13 +68711,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" } } } @@ -68968,7 +68826,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" } } } @@ -69002,7 +68860,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" } } } @@ -69014,7 +68872,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -69026,7 +68884,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": [ { @@ -69253,7 +69111,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -69267,7 +69125,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": [ { @@ -69542,8 +69400,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "post": { @@ -69555,7 +69413,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": [ { @@ -69713,8 +69571,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -69728,7 +69586,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": [ { @@ -69976,8 +69834,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "patch": { @@ -69989,7 +69847,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": [ { @@ -70316,8 +70174,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -70329,7 +70187,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": [ { @@ -70570,8 +70428,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -70585,7 +70443,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": [ { @@ -70884,8 +70742,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -70897,7 +70755,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": [ { @@ -71130,79 +70988,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" } } }, @@ -71216,7 +71003,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": [ { @@ -71637,22 +71424,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": [ { @@ -71663,41 +71450,277 @@ "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", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" } } } @@ -71708,329 +71731,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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": 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": [ { @@ -72419,8 +72135,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -110545,2380 +110261,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", - "examples": [ - "2066deda-923f-43f9-88d2-62395a28c0cdd" - ] - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "SkuPricing", - "ProductPricing" - ], - "examples": [ - "SkuPricing" - ] - }, - "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", - "examples": [ - true - ] - }, - "budget_scope": { - "type": "string", - "description": "The scope of the budget (enterprise, organization, repository, cost center)", - "examples": [ - "enterprise" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity for the budget (enterprise does not require a name).", - "examples": [ - "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", - "examples": [ - true - ] - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "examples": [ - "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", - "enum": [ - "enterprise", - "organization", - "repository", - "cost_center" - ], - "examples": [ - "enterprise" - ] - }, - "budget_entity_name": { - "type": "string", - "description": "The name of the entity to apply the budget to", - "examples": [ - "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", - "examples": [ - true - ] - }, - "budget_product_sku": { - "type": "string", - "description": "A single product or sku to apply the budget to.", - "examples": [ - "actions_linux" - ] - }, - "budget_type": { - "type": "string", - "description": "The type of pricing for the budget", - "enum": [ - "ProductPricing", - "SkuPricing" - ], - "examples": [ - "ProductPricing" - ] - }, - "budget_alerting": { - "type": "object", - "properties": { - "will_alert": { - "type": "boolean", - "description": "Whether alerts are enabled for this budget", - "examples": [ - true - ] - }, - "alert_recipients": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Array of user login names who will receive alerts", - "examples": [ - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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", - "examples": [ - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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", - "null" - ] - }, - { - "type": [ - "integer", - "null" - ] - }, - { - "type": [ - "array", - "null" - ], - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/organizations/{org}/settings/billing/usage": { - "get": { - "summary": "Get billing usage report for an organization", - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -254781,148 +252123,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", @@ -255120,148 +252320,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", @@ -805288,1357 +802346,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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/users/{username}/settings/billing/shared-storage": { - "get": { - "summary": "Get shared storage billing for a user", - "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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, - "/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", - "null" - ] - }, - "documentation_url": { - "type": [ - "string", - "null" - ] - }, - "detail": { - "type": [ - "string", - "null" - ] - }, - "status": { - "type": "integer" - }, - "scimType": { - "type": [ - "string", - "null" - ] - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - } - } - } - } - } - } - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "500": { - "description": "Internal Error", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "503": { - "description": "Service unavailable", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "billing", - "subcategory": "enhanced-billing" - } - } - }, "/users/{username}/social_accounts": { "get": { "summary": "List social accounts for a user", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 41507805b..0aa137c96 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -915,7 +915,7 @@ paths: - subscriptions_url - type - url - type: &421 + type: &411 type: string description: The type of credit the user is receiving. enum: @@ -1048,7 +1048,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &249 + schema: &239 title: Validation Error Simple description: Validation Error Simple type: object @@ -1081,7 +1081,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: - - &740 + - &724 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1666,7 +1666,7 @@ paths: schema: type: integer default: 30 - - &335 + - &325 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 @@ -1682,7 +1682,7 @@ paths: application/json: schema: type: array - items: &336 + items: &326 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1778,7 +1778,7 @@ paths: - installation_id - repository_id examples: - default: &337 + default: &327 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1810,7 +1810,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &750 + schema: &734 title: Scim Error description: Scim Error type: object @@ -1841,7 +1841,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &248 + schema: &238 title: Validation Error description: Validation Error type: object @@ -1913,7 +1913,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &328 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2048,7 +2048,7 @@ paths: - request - response examples: - default: &339 + default: &329 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7825,7 +7825,7 @@ paths: description: Response content: application/json: - schema: &250 + schema: &240 type: object properties: total_active_caches_count: @@ -7840,7 +7840,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &251 + default: &241 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8055,7 +8055,7 @@ paths: - public_ip_enabled - platform examples: - default: &252 + default: &242 value: total_count: 2 runners: @@ -8359,7 +8359,7 @@ paths: application/json: schema: *43 examples: - default: &253 + default: &243 value: id: 1 platform: linux-x64 @@ -8504,7 +8504,7 @@ paths: application/json: schema: *46 examples: - default: &254 + default: &244 value: version: 1.0.0 size_gb: 75 @@ -8672,7 +8672,7 @@ paths: description: Response content: application/json: - schema: &255 + schema: &245 type: object properties: public_ips: @@ -8699,7 +8699,7 @@ paths: required: - public_ips examples: - default: &256 + default: &246 value: public_ips: current_usage: 17 @@ -8739,7 +8739,7 @@ paths: type: array items: *50 examples: - default: &257 + default: &247 value: id: 4-core cpu_cores: 4 @@ -9003,7 +9003,7 @@ paths: - all - local_only - selected - selected_actions_url: &260 + selected_actions_url: &250 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` @@ -9083,7 +9083,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &262 + schema: &252 type: object properties: days: @@ -9101,7 +9101,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &751 + '401': &735 description: Authorization failure '404': *6 x-github: @@ -9129,7 +9129,7 @@ paths: required: true content: application/json: - schema: &263 + schema: &253 type: object properties: days: @@ -9178,7 +9178,7 @@ paths: required: - approval_policy examples: - default: &264 + default: &254 value: approval_policy: first_time_contributors '404': *6 @@ -9236,7 +9236,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &255 type: object required: - run_workflows_from_fork_pull_requests @@ -9290,7 +9290,7 @@ paths: required: true content: application/json: - schema: &266 + schema: &256 type: object required: - run_workflows_from_fork_pull_requests @@ -9726,7 +9726,7 @@ paths: description: Success response content: application/json: - schema: &269 + schema: &259 type: object properties: default_workflow_permissions: &61 @@ -9774,7 +9774,7 @@ paths: required: true content: application/json: - schema: &270 + schema: &260 type: object properties: default_workflow_permissions: *61 @@ -10619,7 +10619,7 @@ paths: application/json: schema: type: array - items: &274 + items: &264 title: Runner Application description: Runner Application type: object @@ -10644,7 +10644,7 @@ paths: - download_url - filename examples: - default: &275 + default: &265 value: - os: osx architecture: x64 @@ -10728,7 +10728,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &276 + '201': &266 description: Response content: application/json: @@ -10847,7 +10847,7 @@ paths: - token - expires_at examples: - default: &277 + default: &267 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10887,7 +10887,7 @@ paths: application/json: schema: *73 examples: - default: &278 + default: &268 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10919,7 +10919,7 @@ paths: application/json: schema: *70 examples: - default: &279 + default: &269 value: id: 23 name: MBP @@ -11135,7 +11135,7 @@ paths: - *39 - *69 responses: - '200': &280 + '200': &270 description: Response content: application/json: @@ -11191,7 +11191,7 @@ paths: parameters: - *39 - *69 - - &281 + - &271 name: name description: The name of a self-hosted runner's custom label. in: path @@ -11288,7 +11288,7 @@ paths: required: true content: application/json: - schema: &288 + schema: &278 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11939,7 +11939,7 @@ paths: required: false schema: type: string - - &291 + - &281 name: include description: |- The event types to include: @@ -11957,7 +11957,7 @@ paths: - web - git - all - - &292 + - &282 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. @@ -11965,7 +11965,7 @@ paths: required: false schema: type: string - - &293 + - &283 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. @@ -11973,7 +11973,7 @@ paths: required: false schema: type: string - - &294 + - &284 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11995,7 +11995,7 @@ paths: application/json: schema: type: array - items: &295 + items: &285 type: object properties: "@timestamp": @@ -12117,7 +12117,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &296 + default: &286 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12785,7 +12785,7 @@ paths: application/json: schema: type: array - items: &297 + items: &287 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12957,7 +12957,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &298 + default: &288 value: - id: 21 number: 42 @@ -13062,7 +13062,7 @@ paths: application/json: schema: type: array - items: &300 + items: &290 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -13193,7 +13193,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &301 + default: &291 value: - id: 21 number: 42 @@ -13278,7 +13278,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &306 + - &296 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`, @@ -13288,7 +13288,7 @@ paths: schema: &105 type: string description: The name of the tool used to generate the code scanning analysis. - - &307 + - &297 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 @@ -13312,7 +13312,7 @@ paths: be returned. in: query required: false - schema: &308 + schema: &298 type: string description: State of a code scanning alert. enum: @@ -13337,7 +13337,7 @@ paths: application/json: schema: type: array - items: &309 + items: &299 type: object properties: number: &119 @@ -13366,7 +13366,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &532 + instances_url: &516 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13402,7 +13402,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &533 + dismissed_reason: &517 type: - string - 'null' @@ -13413,14 +13413,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &534 + dismissed_comment: &518 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &535 + rule: &519 type: object properties: id: @@ -13481,7 +13481,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &536 + tool: &520 type: object properties: name: *105 @@ -13492,15 +13492,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *106 - most_recent_instance: &537 + most_recent_instance: &521 type: object properties: - ref: &530 + ref: &514 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &547 + analysis_key: &531 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13511,7 +13511,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &548 + category: &532 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13902,7 +13902,7 @@ paths: - most_recent_instance - repository examples: - default: &310 + default: &300 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14561,7 +14561,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &311 + code_scanning_options: &301 type: - object - 'null' @@ -14759,7 +14759,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &303 type: array description: A list of default code security configurations items: @@ -14775,7 +14775,7 @@ paths: default configuration: *108 examples: - default: &314 + default: &304 value: - default_for_new_repos: public configuration: @@ -15229,7 +15229,7 @@ paths: default: value: default_for_new_repos: all - configuration: &312 + configuration: &302 value: id: 1325 target_type: organization @@ -15314,7 +15314,7 @@ paths: application/json: schema: type: array - items: &315 + items: &305 type: object description: Repositories associated with a code security configuration and attachment status @@ -15338,7 +15338,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &316 + repository: &306 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15623,7 +15623,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: - *39 - *17 @@ -15770,7 +15770,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 @@ -15839,7 +15839,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &302 + - &292 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15916,7 +15916,7 @@ paths: parent: anyOf: - type: 'null' - - &370 + - &360 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -17263,7 +17263,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &322 + - &312 name: state in: query description: |- @@ -17272,7 +17272,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &323 + - &313 name: severity in: query description: |- @@ -17281,7 +17281,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &324 + - &314 name: ecosystem in: query description: |- @@ -17290,14 +17290,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &325 + - &315 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 - - &326 + - &316 name: epss_percentage in: query description: |- @@ -17309,7 +17309,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 - - &583 + - &567 name: has in: query description: |- @@ -17323,7 +17323,7 @@ paths: type: string enum: - patch - - &327 + - &317 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -17333,7 +17333,7 @@ paths: enum: - development - runtime - - &328 + - &318 name: sort in: query description: |- @@ -17359,7 +17359,7 @@ paths: application/json: schema: type: array - items: &329 + items: &319 type: object description: A Dependabot alert. properties: @@ -17426,7 +17426,7 @@ paths: - direct - transitive - - security_advisory: &584 + security_advisory: &568 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17662,7 +17662,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: &585 + auto_dismissed_at: &569 type: - string - 'null' @@ -17689,7 +17689,7 @@ paths: - repository additionalProperties: false examples: - default: &330 + default: &320 value: - number: 2 state: dismissed @@ -18626,7 +18626,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: - *39 responses: @@ -18678,7 +18678,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 @@ -18807,7 +18807,7 @@ paths: - name - created_on examples: - default: &431 + default: &415 value: total_count: 2 network_configurations: @@ -19030,7 +19030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &432 + - &416 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -19042,7 +19042,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &417 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -19081,7 +19081,7 @@ paths: - subnet_id - region examples: - default: &434 + default: &418 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -19909,7 +19909,7 @@ paths: required: true content: application/json: - schema: &400 + schema: &390 title: Custom Property Set Payload description: Custom property set payload type: object @@ -21084,7 +21084,7 @@ paths: conditions: anyOf: - *151 - - &404 + - &394 title: Organization ruleset conditions type: object description: |- @@ -21134,7 +21134,7 @@ paths: - object rules: type: array - items: &706 + items: &690 title: Repository Rule type: object description: A repository rule. @@ -21143,7 +21143,7 @@ paths: - *160 - *161 - *162 - - &703 + - &687 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -21237,7 +21237,7 @@ paths: - *176 - *177 - *178 - - &704 + - &688 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -21493,7 +21493,7 @@ paths: type: string format: date-time examples: - default: &407 + default: &397 value: - version_id: 3 actor: @@ -21546,7 +21546,7 @@ paths: description: Response content: application/json: - schema: &408 + schema: &398 allOf: - *183 - type: object @@ -21601,7 +21601,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &409 + - &399 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -21612,7 +21612,7 @@ paths: enum: - open - resolved - - &410 + - &400 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -21622,7 +21622,7 @@ paths: required: false schema: type: string - - &411 + - &401 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -21631,7 +21631,7 @@ paths: required: false schema: type: string - - &412 + - &402 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -21647,7 +21647,7 @@ paths: - *17 - *102 - *103 - - &413 + - &403 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -21656,7 +21656,7 @@ paths: required: false schema: type: string - - &414 + - &404 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -21665,7 +21665,7 @@ paths: schema: type: boolean default: false - - &415 + - &405 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -21674,7 +21674,7 @@ paths: schema: type: boolean default: false - - &416 + - &406 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -21690,7 +21690,7 @@ paths: application/json: schema: type: array - items: &417 + items: &407 type: object properties: number: *119 @@ -21706,14 +21706,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &718 + state: &702 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: &719 + resolution: &703 type: - string - 'null' @@ -21820,14 +21820,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &720 + - &704 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &722 + - &706 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -21884,7 +21884,7 @@ paths: - blob_url - commit_sha - commit_url - - &723 + - &707 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. @@ -21945,7 +21945,7 @@ paths: - page_url - commit_sha - commit_url - - &724 + - &708 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -21960,7 +21960,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &725 + - &709 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -21975,7 +21975,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &726 + - &710 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -21990,7 +21990,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &727 + - &711 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -22005,7 +22005,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &728 + - &712 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -22020,7 +22020,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &729 + - &713 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -22035,7 +22035,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &730 + - &714 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. @@ -22050,7 +22050,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &731 + - &715 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. @@ -22065,7 +22065,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &732 + - &716 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. @@ -22080,7 +22080,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &733 + - &717 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. @@ -22095,7 +22095,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &734 + - &718 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 @@ -22120,7 +22120,7 @@ paths: - type: 'null' - *4 examples: - default: &418 + default: &408 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -22329,7 +22329,7 @@ paths: description: Response content: application/json: - schema: &419 + schema: &409 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -22416,7 +22416,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *185 examples: - default: &420 + default: &410 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -22535,115 +22535,6 @@ paths: '404': *6 '409': *112 '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: - - *39 - responses: - '200': - description: Response - content: - application/json: - schema: &422 - 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: &423 - 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 @@ -22658,10 +22549,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: - *39 - - &424 + - &412 name: advanced_security_product in: query description: | @@ -22681,7 +22572,7 @@ paths: description: Success content: application/json: - schema: &425 + schema: &413 type: object properties: total_advanced_security_committers: @@ -22744,7 +22635,7 @@ paths: required: - repositories examples: - default: &426 + default: &414 value: total_advanced_security_committers: 2 total_count: 2 @@ -22770,7 +22661,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: enterprise-admin - subcategory: billing + subcategory: licensing "/enterprises/{enterprise}/settings/billing/budgets": get: summary: Get all budgets @@ -22784,11 +22675,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: - *39 responses: - '200': &236 + '200': description: Response when getting all budgets content: application/json: @@ -22913,7 +22804,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets post: summary: Create a budget description: |- @@ -22926,7 +22817,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: - *39 requestBody: @@ -23093,7 +22984,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 @@ -23104,12 +22995,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 @@ -23123,7 +23014,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: - *39 - &187 @@ -23134,7 +23025,7 @@ paths: schema: type: string responses: - '200': &237 + '200': description: Response when updating a budget content: application/json: @@ -23231,7 +23122,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget description: |- @@ -23244,7 +23135,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 @@ -23410,11 +23301,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 @@ -23425,7 +23316,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: @@ -23435,12 +23326,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: |- @@ -23453,12 +23344,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: - *39 - *187 responses: - '200': &238 + '200': description: Response when deleting a budget content: application/json: @@ -23488,7 +23379,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 @@ -23498,7 +23389,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: - *39 - name: state @@ -23587,8 +23478,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 @@ -23598,7 +23489,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: - *39 requestBody: @@ -23698,8 +23589,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 @@ -23710,7 +23601,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: - *39 - &190 @@ -23783,8 +23674,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. @@ -23793,7 +23684,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 @@ -23841,8 +23732,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 @@ -23852,7 +23743,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: - *39 - *190 @@ -23898,8 +23789,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 @@ -23912,7 +23803,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: - *39 - *190 @@ -23992,8 +23883,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: |- @@ -24005,7 +23896,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: - *39 - *190 @@ -24059,61 +23950,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: - - *39 - responses: - '200': - description: Response - content: - application/json: - schema: &427 - 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: &428 - 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 @@ -24126,7 +23964,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: - *39 - &191 @@ -24164,15 +24002,13 @@ paths: required: false schema: type: string - - &239 - 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 - - &240 - name: model + - name: model description: The model name to query usage for. The name is not case sensitive. in: query required: false @@ -24321,61 +24157,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: - - *39 - responses: - '200': - description: Response - content: - application/json: - schema: &429 - 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: &430 - 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 @@ -24388,12 +24171,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: - *39 - *191 - - &241 - 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. @@ -24414,7 +24196,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &242 + schema: type: object properties: usageItems: @@ -24467,7 +24249,7 @@ paths: - netAmount - organizationName examples: - default: &243 + default: value: usageItems: - date: '2023-08-01' @@ -24488,8 +24270,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 @@ -24505,23 +24287,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: - *39 - *191 - *193 - *192 - *194 - - &244 - name: repository + - name: repository description: The repository name to query for usage in the format owner/repository. in: query required: false schema: type: string - *195 - - &245 - name: sku + - name: sku description: The SKU to query for usage. in: query required: false @@ -24657,8 +24437,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 @@ -25721,7 +25501,7 @@ paths: milestone: anyOf: - type: 'null' - - &391 + - &381 title: Milestone description: A collection of related issues and pull requests. @@ -25893,7 +25673,7 @@ paths: timeline_url: type: string format: uri - type: &357 + type: &347 title: Issue Type description: The type of issue. type: @@ -26002,7 +25782,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &778 + sub_issues_summary: &762 title: Sub-issues Summary type: object properties: @@ -26023,7 +25803,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &779 + issue_dependencies_summary: &763 title: Issue Dependencies Summary type: object properties: @@ -26042,7 +25822,7 @@ paths: - total_blocking issue_field_values: type: array - items: &780 + items: &764 title: Issue Field Value description: A value assigned to an issue field type: object @@ -26137,7 +25917,7 @@ paths: - user - created_at - updated_at - comment: &641 + comment: &625 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -26703,7 +26483,7 @@ paths: url: type: string format: uri - user: &792 + user: &776 title: Public User description: Public User type: object @@ -28598,7 +28378,7 @@ paths: - closed - all default: open - - &360 + - &350 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -28649,7 +28429,7 @@ paths: type: array items: *219 examples: - default: &361 + default: &351 value: - id: 1 node_id: MDU6SXNzdWUx @@ -30060,14 +29840,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: - - &454 + - &438 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &455 + - &439 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -30129,7 +29909,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &466 + '301': &450 description: Moved permanently content: application/json: @@ -30151,7 +29931,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &670 + - &654 name: all description: If `true`, show notifications marked as read. in: query @@ -30159,7 +29939,7 @@ paths: schema: type: boolean default: false - - &671 + - &655 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -30169,7 +29949,7 @@ paths: type: boolean default: false - *209 - - &672 + - &656 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: @@ -30201,7 +29981,7 @@ paths: properties: id: type: string - repository: &273 + repository: &263 title: Minimal Repository description: Minimal Repository type: object @@ -30540,7 +30320,7 @@ paths: type: boolean examples: - false - security_and_analysis: &401 + security_and_analysis: &391 type: - object - 'null' @@ -30713,7 +30493,7 @@ paths: - url - subscription_url examples: - default: &673 + default: &657 value: - id: '1' repository: @@ -31318,7 +31098,7 @@ paths: - 3 custom_roles: type: array - items: &318 + items: &308 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -31367,7 +31147,7 @@ paths: - created_at - updated_at examples: - default: &319 + default: &309 value: id: 8030 name: Security Engineer @@ -31694,7 +31474,7 @@ paths: type: array items: *145 examples: - default: &679 + default: &663 value: - property_name: environment value: production @@ -31744,7 +31524,7 @@ paths: required: - properties examples: - default: &680 + default: &664 value: properties: - property_name: environment @@ -31765,570 +31545,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: - - *81 - responses: - '200': *236 - '404': *6 - '403': *27 - '500': *38 - 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: - - *81 - - *187 - responses: - '200': *237 - '400': *14 - '404': *6 - '403': *27 - '500': *38 - '503': *184 - 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: - - *81 - - *187 - 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 - examples: - - 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': *23 - '403': *27 - '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: - - *81 - - *187 - responses: - '200': *238 - '400': *14 - '404': *6 - '403': *27 - '500': *38 - '503': *184 - 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: - - *81 - - *191 - - *193 - - *192 - - *239 - - *240 - - *195 - 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': *27 - '404': *6 - '500': *38 - '503': *184 - 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: - - *81 - - *191 - - *241 - - *192 - responses: - '200': - description: Billing usage report response for an organization - content: - application/json: - schema: *242 - examples: - default: *243 - '400': *14 - '403': *27 - '500': *38 - '503': *184 - 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: - - *81 - - *191 - - *193 - - *192 - - *244 - - *195 - - *245 - 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': *27 - '500': *38 - '503': *184 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -32355,7 +31571,7 @@ paths: description: Response content: application/json: - schema: &246 + schema: &236 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -32765,7 +31981,7 @@ paths: - updated_at - archived_at examples: - default-response: &247 + default-response: &237 value: login: github id: 1 @@ -33091,17 +32307,17 @@ paths: description: Response content: application/json: - schema: *246 + schema: *236 examples: - default: *247 + default: *237 '422': description: Validation failed content: application/json: schema: oneOf: - - *248 - - *249 + - *238 + - *239 '409': *112 x-github: githubCloudOnly: false @@ -33156,9 +32372,9 @@ paths: description: Response content: application/json: - schema: *250 + schema: *240 examples: - default: *251 + default: *241 headers: Link: *41 x-github: @@ -33199,7 +32415,7 @@ paths: type: integer repository_cache_usages: type: array - items: &471 + items: &455 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -33277,7 +32493,7 @@ paths: type: array items: *42 examples: - default: *252 + default: *242 headers: Link: *41 x-github: @@ -33444,7 +32660,7 @@ paths: application/json: schema: *43 examples: - default: *253 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33536,7 +32752,7 @@ paths: application/json: schema: *46 examples: - default: *254 + default: *244 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33655,9 +32871,9 @@ paths: description: Response content: application/json: - schema: *255 + schema: *245 examples: - default: *256 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33693,7 +32909,7 @@ paths: type: array items: *50 examples: - default: *257 + default: *247 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -33882,7 +33098,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &258 + schema: &248 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -33896,7 +33112,7 @@ paths: required: - include_claim_keys examples: - default: &259 + default: &249 value: include_claim_keys: - repo @@ -33923,15 +33139,15 @@ paths: required: true content: application/json: - schema: *258 + schema: *248 examples: - default: *259 + default: *249 responses: '201': description: Empty response content: application/json: - schema: &284 + schema: &274 title: Empty Object description: An object without any properties. type: object @@ -33970,7 +33186,7 @@ paths: schema: type: object properties: - enabled_repositories: &261 + enabled_repositories: &251 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -33984,7 +33200,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *54 - selected_actions_url: *260 + selected_actions_url: *250 sha_pinning_required: *55 required: - enabled_repositories @@ -34026,7 +33242,7 @@ paths: schema: type: object properties: - enabled_repositories: *261 + enabled_repositories: *251 allowed_actions: *54 sha_pinning_required: *55 required: @@ -34062,7 +33278,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *252 examples: response: summary: Example response @@ -34093,7 +33309,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *253 examples: application/json: value: @@ -34131,7 +33347,7 @@ paths: application/json: schema: *56 examples: - default: *264 + default: *254 '404': *6 x-github: enabledForGitHubApps: true @@ -34188,7 +33404,7 @@ paths: description: Response content: application/json: - schema: *265 + schema: *255 examples: default: *57 '403': *27 @@ -34213,7 +33429,7 @@ paths: required: true content: application/json: - schema: *266 + schema: *256 examples: default: *57 responses: @@ -34265,7 +33481,7 @@ paths: type: array items: *72 examples: - default: &268 + default: &258 value: total_count: 1 repositories: @@ -34450,7 +33666,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - &267 + - &257 name: repository_id description: The unique identifier of the repository. in: path @@ -34479,7 +33695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *81 - - *267 + - *257 responses: '204': description: Response @@ -34675,7 +33891,7 @@ paths: type: array items: *72 examples: - default: *268 + default: *258 '403': *27 '404': *6 x-github: @@ -34744,7 +33960,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: - *81 - - *267 + - *257 responses: '204': description: No content @@ -34771,7 +33987,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: - *81 - - *267 + - *257 responses: '204': description: No content @@ -34805,7 +34021,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *259 examples: default: *63 x-github: @@ -34839,7 +34055,7 @@ paths: required: false content: application/json: - schema: *270 + schema: *260 examples: default: *63 x-github: @@ -34886,7 +34102,7 @@ paths: type: number runner_groups: type: array - items: &271 + items: &261 type: object properties: id: @@ -35076,9 +34292,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *261 examples: - default: &272 + default: &262 value: id: 2 name: octo-runner-group @@ -35120,7 +34336,7 @@ paths: description: Response content: application/json: - schema: *271 + schema: *261 examples: default: value: @@ -35213,9 +34429,9 @@ paths: description: Response content: application/json: - schema: *271 + schema: *261 examples: - default: *272 + default: *262 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -35279,7 +34495,7 @@ paths: type: array items: *42 examples: - default: *252 + default: *242 headers: Link: *41 x-github: @@ -35320,9 +34536,9 @@ paths: type: number repositories: type: array - items: *273 + items: *263 examples: - default: &795 + default: &779 value: total_count: 1 repositories: @@ -35621,7 +34837,7 @@ paths: parameters: - *81 - *66 - - *267 + - *257 responses: '204': description: Response @@ -35645,7 +34861,7 @@ paths: parameters: - *81 - *66 - - *267 + - *257 responses: '204': description: Response @@ -35863,9 +35079,9 @@ paths: application/json: schema: type: array - items: *274 + items: *264 examples: - default: *275 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35930,7 +35146,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *276 + '201': *266 '404': *6 '422': *7 '409': *112 @@ -35969,7 +35185,7 @@ paths: application/json: schema: *73 examples: - default: *277 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36005,7 +35221,7 @@ paths: application/json: schema: *73 examples: - default: *278 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36036,7 +35252,7 @@ paths: application/json: schema: *70 examples: - default: *279 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36211,7 +35427,7 @@ paths: - *81 - *69 responses: - '200': *280 + '200': *270 '404': *6 x-github: githubCloudOnly: false @@ -36240,7 +35456,7 @@ paths: parameters: - *81 - *69 - - *281 + - *271 responses: '200': *75 '404': *6 @@ -36285,7 +35501,7 @@ paths: type: integer secrets: type: array - items: &282 + items: &272 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -36366,7 +35582,7 @@ paths: description: Response content: application/json: - schema: &491 + schema: &475 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -36401,7 +35617,7 @@ paths: - key_id - key examples: - default: &492 + default: &476 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -36427,7 +35643,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *81 - - &283 + - &273 name: secret_name description: The name of the secret. in: path @@ -36439,7 +35655,7 @@ paths: description: Response content: application/json: - schema: *282 + schema: *272 examples: default: value: @@ -36470,7 +35686,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -36527,7 +35743,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -36554,7 +35770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -36581,7 +35797,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 - *19 - *17 responses: @@ -36599,9 +35815,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: &287 + default: &277 value: total_count: 1 repositories: @@ -36694,7 +35910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -36747,7 +35963,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -36781,7 +35997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -36814,7 +36030,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *81 - - &476 + - &460 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)." @@ -36838,7 +36054,7 @@ paths: type: integer variables: type: array - items: &285 + items: &275 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -36976,7 +36192,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -37002,7 +36218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *81 - - &286 + - &276 name: name description: The name of the variable. in: path @@ -37014,7 +36230,7 @@ paths: description: Response content: application/json: - schema: *285 + schema: *275 examples: default: value: @@ -37045,7 +36261,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *81 - - *286 + - *276 requestBody: required: true content: @@ -37108,7 +36324,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *81 - - *286 + - *276 responses: '204': description: Response @@ -37135,7 +36351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *81 - - *286 + - *276 - *19 - *17 responses: @@ -37153,9 +36369,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 '409': description: Response when the visibility of the variable is not set to `selected` @@ -37182,7 +36398,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *81 - - *286 + - *276 requestBody: required: true content: @@ -37232,7 +36448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *81 - - *286 + - *276 - name: repository_id in: path required: true @@ -37267,7 +36483,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *81 - - *286 + - *276 - name: repository_id in: path required: true @@ -37325,7 +36541,7 @@ paths: required: true content: application/json: - schema: *288 + schema: *278 examples: default: *79 parameters: @@ -37485,7 +36701,7 @@ paths: type: integer deployment_records: type: array - items: &289 + items: &279 title: Artifact Deployment Record description: Artifact Metadata Deployment Record type: object @@ -37530,7 +36746,7 @@ paths: description: The ID of the provenance attestation associated with the deployment record. examples: - default: &290 + default: &280 value: total_count: 1 deployment_records: @@ -37678,9 +36894,9 @@ paths: type: integer deployment_records: type: array - items: *289 + items: *279 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37889,9 +37105,9 @@ paths: - 3 deployment_records: type: array - items: *289 + items: *279 examples: - default: *290 + default: *280 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38021,12 +37237,12 @@ paths: required: - subject_digests examples: - default: &822 + default: &806 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &823 + withPredicateType: &807 value: subject_digests: - sha256:abc123 @@ -38085,7 +37301,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &824 + default: &808 value: attestations_subject_digests: - sha256:abc: @@ -38434,7 +37650,7 @@ paths: initiator: type: string examples: - default: &505 + default: &489 value: attestations: - bundle: @@ -38560,10 +37776,10 @@ paths: required: false schema: type: string - - *291 - - *292 - - *293 - - *294 + - *281 + - *282 + - *283 + - *284 - *17 responses: '200': @@ -38572,9 +37788,9 @@ paths: application/json: schema: type: array - items: *295 + items: *285 examples: - default: *296 + default: *286 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38697,7 +37913,7 @@ paths: subcategory: bypass-requests parameters: - *81 - - &299 + - &289 name: repository_name description: The name of the repository to filter on. in: query @@ -38716,9 +37932,9 @@ paths: application/json: schema: type: array - items: *297 + items: *287 examples: - default: *298 + default: *288 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -38742,7 +37958,7 @@ paths: subcategory: delegated-bypass parameters: - *81 - - *299 + - *289 - *97 - *98 - *99 @@ -38756,9 +37972,9 @@ paths: application/json: schema: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -38785,7 +38001,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &303 + schema: &293 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -38811,7 +38027,7 @@ paths: application/json: schema: type: array - items: &304 + items: &294 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -38842,7 +38058,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *302 + items: *292 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -38861,7 +38077,7 @@ paths: - string - 'null' format: date-time - state: *303 + state: *293 contact_link: description: The contact link of the campaign. type: @@ -39084,9 +38300,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: &305 + default: &295 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -39169,9 +38385,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 '404': *6 '422': description: Unprocessable Entity @@ -39249,7 +38465,7 @@ paths: - string - 'null' format: uri - state: *303 + state: *293 examples: default: value: @@ -39259,9 +38475,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *294 examples: - default: *305 + default: *295 '400': description: Bad Request content: @@ -39328,8 +38544,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *81 - - *306 - - *307 + - *296 + - *297 - *102 - *103 - *19 @@ -39340,7 +38556,7 @@ paths: be returned. in: query required: false - schema: *308 + schema: *298 - name: sort description: The property by which to sort the results. in: query @@ -39356,7 +38572,7 @@ paths: be returned. in: query required: false - schema: &531 + schema: &515 type: string description: Severity of a code scanning alert. enum: @@ -39374,9 +38590,9 @@ paths: application/json: schema: type: array - items: *309 + items: *299 examples: - default: *310 + default: *300 headers: Link: *41 '404': *6 @@ -39591,7 +38807,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *311 + code_scanning_options: *301 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -39734,7 +38950,7 @@ paths: application/json: schema: *108 examples: - default: *312 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39762,9 +38978,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *303 examples: - default: *314 + default: *304 '304': *35 '403': *27 '404': *6 @@ -39851,7 +39067,7 @@ paths: application/json: schema: *108 examples: - default: *312 + default: *302 '304': *35 '403': *27 '404': *6 @@ -40273,7 +39489,7 @@ paths: default: value: default_for_new_repos: all - configuration: *312 + configuration: *302 '403': *27 '404': *6 x-github: @@ -40326,13 +39542,13 @@ paths: application/json: schema: type: array - items: *315 + items: *305 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *316 + repository: *306 '403': *27 '404': *6 x-github: @@ -40372,7 +39588,7 @@ paths: type: integer codespaces: type: array - items: &362 + items: &352 type: object title: Codespace description: A codespace. @@ -40403,11 +39619,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *273 + repository: *263 machine: anyOf: - type: 'null' - - &560 + - &544 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -40694,7 +39910,7 @@ paths: - pulls_url - recent_folders examples: - default: &363 + default: &353 value: total_count: 3 codespaces: @@ -41318,7 +40534,7 @@ paths: type: integer secrets: type: array - items: &317 + items: &307 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -41359,7 +40575,7 @@ paths: - updated_at - visibility examples: - default: &561 + default: &545 value: total_count: 2 secrets: @@ -41397,7 +40613,7 @@ paths: description: Response content: application/json: - schema: &562 + schema: &546 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -41432,7 +40648,7 @@ paths: - key_id - key examples: - default: &563 + default: &547 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -41456,15 +40672,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '200': description: Response content: application/json: - schema: *317 + schema: *307 examples: - default: &565 + default: &549 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -41492,7 +40708,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -41547,7 +40763,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -41574,7 +40790,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -41600,7 +40816,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 - *19 - *17 responses: @@ -41618,9 +40834,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 '404': *6 x-github: githubCloudOnly: false @@ -41643,7 +40859,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -41694,7 +40910,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -41728,7 +40944,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -42551,7 +41767,7 @@ paths: - 3 custom_roles: type: array - items: *318 + items: *308 examples: default: value: @@ -42643,7 +41859,7 @@ paths: required: true content: application/json: - schema: &320 + schema: &310 type: object properties: name: @@ -42685,9 +41901,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -42718,9 +41934,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '404': *6 x-github: githubCloudOnly: true @@ -42748,7 +41964,7 @@ paths: required: true content: application/json: - schema: &321 + schema: &311 type: object properties: name: @@ -42787,9 +42003,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -42847,7 +42063,7 @@ paths: required: true content: application/json: - schema: *320 + schema: *310 examples: default: value: @@ -42861,9 +42077,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -42900,9 +42116,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '404': *6 x-github: githubCloudOnly: true @@ -42936,7 +42152,7 @@ paths: required: true content: application/json: - schema: *321 + schema: *311 examples: default: value: @@ -42951,9 +42167,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *308 examples: - default: *319 + default: *309 '422': *15 '404': *6 x-github: @@ -43013,11 +42229,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *81 - - *322 - - *323 - - *324 - - *325 - - *326 + - *312 + - *313 + - *314 + - *315 + - *316 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -43055,8 +42271,8 @@ paths: Can be: `critical-resource`, `internet-exposed`, `sensitive-data`, `lateral-movement` schema: type: string - - *327 - - *328 + - *317 + - *318 - *104 - *102 - *103 @@ -43068,9 +42284,9 @@ paths: application/json: schema: type: array - items: *329 + items: *319 examples: - default: *330 + default: *320 '304': *35 '400': *14 '403': *27 @@ -43114,7 +42330,7 @@ paths: type: integer secrets: type: array - items: &331 + items: &321 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -43193,7 +42409,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &572 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -43212,7 +42428,7 @@ paths: - key_id - key examples: - default: &589 + default: &573 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -43236,13 +42452,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '200': description: Response content: application/json: - schema: *331 + schema: *321 examples: default: value: @@ -43271,7 +42487,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -43330,7 +42546,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -43355,7 +42571,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -43380,7 +42596,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 - *19 - *17 responses: @@ -43398,9 +42614,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43422,7 +42638,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -43473,7 +42689,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -43505,7 +42721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *81 - - *283 + - *273 - name: repository_id in: path required: true @@ -43542,7 +42758,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - &597 + - &581 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -43550,7 +42766,7 @@ paths: required: false schema: type: string - - &598 + - &582 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -43558,7 +42774,7 @@ paths: required: false schema: type: string - - &599 + - &583 name: time_period description: |- The time period to filter by. @@ -43574,7 +42790,7 @@ paths: - week - month default: month - - &600 + - &584 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -43589,7 +42805,7 @@ paths: - denied - all default: all - - *299 + - *289 - *17 - *19 responses: @@ -43599,7 +42815,7 @@ paths: application/json: schema: type: array - items: &601 + items: &585 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -43762,7 +42978,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &602 + default: &586 value: - id: 21 number: 42 @@ -43849,11 +43065,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *81 - - *299 + - *289 - *97 - *98 - *99 - - &603 + - &587 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -43879,7 +43095,7 @@ paths: application/json: schema: type: array - items: &604 + items: &588 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -44006,7 +43222,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &605 + default: &589 value: - id: 21 number: 42 @@ -44094,7 +43310,7 @@ paths: application/json: schema: type: array - items: &372 + items: &362 title: Package description: A software package type: object @@ -44147,7 +43363,7 @@ paths: repository: anyOf: - type: 'null' - - *273 + - *263 created_at: type: string format: date-time @@ -44165,7 +43381,7 @@ paths: - created_at - updated_at examples: - default: &373 + default: &363 value: - id: 197 name: hello_docker @@ -44352,7 +43568,7 @@ paths: description: Response content: application/json: - schema: &449 + schema: &433 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -44442,7 +43658,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &450 + default: &434 value: group_id: '123' group_name: Octocat admins @@ -44497,7 +43713,7 @@ paths: description: Response content: application/json: - schema: &447 + schema: &431 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -44537,7 +43753,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &448 + default: &432 value: groups: - group_id: '123' @@ -44581,7 +43797,7 @@ paths: application/json: schema: type: array - items: &354 + items: &344 title: Organization Invitation description: Organization Invitation type: object @@ -44635,7 +43851,7 @@ paths: - invitation_teams_url - node_id examples: - default: &355 + default: &345 value: - id: 1 login: monalisa @@ -44702,7 +43918,7 @@ paths: application/json: schema: type: array - items: &402 + items: &392 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -44716,7 +43932,7 @@ paths: - name - description examples: - default: &403 + default: &393 value: - name: add_assignee description: Assign or remove a user @@ -44757,7 +43973,7 @@ paths: application/json: schema: type: array - items: &332 + items: &322 title: Org Hook description: Org Hook type: object @@ -44940,9 +44156,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *322 examples: - default: &333 + default: &323 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -44987,7 +44203,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *81 - - &334 + - &324 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. @@ -45000,9 +44216,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *322 examples: - default: *333 + default: *323 '404': *6 x-github: githubCloudOnly: false @@ -45024,7 +44240,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *81 - - *334 + - *324 requestBody: required: false content: @@ -45070,7 +44286,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *322 examples: default: value: @@ -45110,7 +44326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *81 - - *334 + - *324 responses: '204': description: Response @@ -45136,7 +44352,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *81 - - *334 + - *324 responses: '200': description: Response @@ -45165,7 +44381,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *81 - - *334 + - *324 requestBody: required: false content: @@ -45214,9 +44430,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *81 - - *334 + - *324 - *17 - - *335 + - *325 responses: '200': description: Response @@ -45224,9 +44440,9 @@ paths: application/json: schema: type: array - items: *336 + items: *326 examples: - default: *337 + default: *327 '400': *14 '422': *15 x-github: @@ -45250,16 +44466,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *81 - - *334 + - *324 - *16 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *339 + default: *329 '400': *14 '422': *15 x-github: @@ -45283,7 +44499,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *81 - - *334 + - *324 - *16 responses: '202': *37 @@ -45310,7 +44526,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *81 - - *334 + - *324 responses: '204': description: Response @@ -45333,7 +44549,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *81 - - &344 + - &334 name: actor_type in: path description: The type of the actor @@ -45346,14 +44562,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &345 + - &335 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &340 + - &330 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`.' @@ -45361,7 +44577,7 @@ paths: required: true schema: type: string - - &341 + - &331 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) @@ -45456,12 +44672,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *81 - - *340 - - *341 + - *330 + - *331 - *19 - *17 - *104 - - &350 + - &340 name: sort description: The property to sort the results by. in: query @@ -45541,14 +44757,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *81 - - *340 - - *341 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: &342 + schema: &332 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -45564,7 +44780,7 @@ paths: type: integer format: int64 examples: - default: &343 + default: &333 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -45585,23 +44801,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *81 - - &346 + - &336 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *340 - - *341 + - *330 + - *331 responses: '200': description: Response content: application/json: - schema: *342 + schema: *332 examples: - default: *343 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -45620,18 +44836,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *81 - - *340 - - *341 - - *344 - - *345 + - *330 + - *331 + - *334 + - *335 responses: '200': description: Response content: application/json: - schema: *342 + schema: *332 examples: - default: *343 + default: *333 x-github: enabledForGitHubApps: true category: orgs @@ -45649,9 +44865,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *81 - - *340 - - *341 - - &347 + - *330 + - *331 + - &337 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -45664,7 +44880,7 @@ paths: description: Response content: application/json: - schema: &348 + schema: &338 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -45680,7 +44896,7 @@ paths: type: integer format: int64 examples: - default: &349 + default: &339 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -45717,18 +44933,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *81 - - *346 - - *340 - - *341 - - *347 + - *336 + - *330 + - *331 + - *337 responses: '200': description: Response content: application/json: - schema: *348 + schema: *338 examples: - default: *349 + default: *339 x-github: enabledForGitHubApps: true category: orgs @@ -45746,19 +44962,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *81 - - *344 - - *345 - - *340 - - *341 - - *347 + - *334 + - *335 + - *330 + - *331 + - *337 responses: '200': description: Response content: application/json: - schema: *348 + schema: *338 examples: - default: *349 + default: *339 x-github: enabledForGitHubApps: true category: orgs @@ -45776,13 +44992,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *81 - - *346 - - *340 - - *341 + - *336 + - *330 + - *331 - *19 - *17 - *104 - - *350 + - *340 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -45866,7 +45082,7 @@ paths: application/json: schema: *20 examples: - default: &636 + default: &620 value: id: 1 account: @@ -46032,12 +45248,12 @@ paths: application/json: schema: anyOf: - - &352 + - &342 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &351 + limit: &341 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -46065,7 +45281,7 @@ paths: properties: {} additionalProperties: false examples: - default: &353 + default: &343 value: limit: collaborators_only origin: organization @@ -46094,13 +45310,13 @@ paths: required: true content: application/json: - schema: &637 + schema: &621 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *351 + limit: *341 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -46125,9 +45341,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *342 examples: - default: *353 + default: *343 '422': *15 x-github: githubCloudOnly: false @@ -46205,9 +45421,9 @@ paths: application/json: schema: type: array - items: *354 + items: *344 examples: - default: *355 + default: *345 headers: Link: *41 '404': *6 @@ -46285,7 +45501,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *344 examples: default: value: @@ -46342,7 +45558,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *81 - - &356 + - &346 name: invitation_id description: The unique identifier of the invitation. in: path @@ -46376,7 +45592,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *81 - - *356 + - *346 - *17 - *19 responses: @@ -46386,9 +45602,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: &371 + default: &361 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -46431,7 +45647,7 @@ paths: application/json: schema: type: array - items: *357 + items: *347 examples: default: value: @@ -46519,9 +45735,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *347 examples: - default: &358 + default: &348 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -46554,7 +45770,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *81 - - &359 + - &349 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -46610,9 +45826,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *347 examples: - default: *358 + default: *348 '404': *6 '422': *7 x-github: @@ -46637,7 +45853,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *81 - - *359 + - *349 responses: '204': description: Response @@ -46700,7 +45916,7 @@ paths: - closed - all default: open - - *360 + - *350 - name: type description: Can be the name of an issue type. in: query @@ -46731,7 +45947,7 @@ paths: type: array items: *219 examples: - default: *361 + default: *351 headers: Link: *41 '404': *6 @@ -46890,9 +46106,9 @@ paths: type: integer codespaces: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 '304': *35 '500': *38 '401': *23 @@ -46919,7 +46135,7 @@ paths: parameters: - *81 - *132 - - &364 + - &354 name: codespace_name in: path required: true @@ -46954,15 +46170,15 @@ paths: parameters: - *81 - *132 - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: &559 + default: &543 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -47218,7 +46434,7 @@ paths: description: Response content: application/json: - schema: &365 + schema: &355 title: Org Membership description: Org Membership type: object @@ -47287,7 +46503,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &366 + response-if-user-has-an-active-admin-membership-with-organization: &356 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -47384,9 +46600,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: - response-if-user-already-had-membership-with-organization: *366 + response-if-user-already-had-membership-with-organization: *356 '422': *15 '403': *27 x-github: @@ -47458,7 +46674,7 @@ paths: application/json: schema: type: array - items: &367 + items: &357 title: Migration description: A migration. type: object @@ -47796,7 +47012,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -47975,7 +47191,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *81 - - &368 + - &358 name: migration_id description: The unique identifier of the migration. in: path @@ -48003,7 +47219,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -48173,7 +47389,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *81 - - *368 + - *358 responses: '302': description: Response @@ -48195,7 +47411,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *81 - - *368 + - *358 responses: '204': description: Response @@ -48219,8 +47435,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *81 - - *368 - - &807 + - *358 + - &791 name: repo_name description: repo_name parameter in: path @@ -48248,7 +47464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *81 - - *368 + - *358 - *17 - *19 responses: @@ -48258,9 +47474,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: &378 + default: &368 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -48469,7 +47685,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &369 + items: &359 title: Organization Role description: Organization roles type: object @@ -48678,7 +47894,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *359 examples: default: value: @@ -48908,7 +48124,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *359 examples: default: value: @@ -49005,7 +48221,7 @@ paths: description: Response content: application/json: - schema: *369 + schema: *359 examples: default: value: @@ -49164,7 +48380,7 @@ paths: parent: anyOf: - type: 'null' - - *370 + - *360 type: description: The ownership type of the team type: string @@ -49197,7 +48413,7 @@ paths: - type - parent examples: - default: *371 + default: *361 headers: Link: *41 '404': @@ -49256,7 +48472,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *370 + items: *360 name: type: - string @@ -49566,7 +48782,7 @@ paths: - nuget - container - *81 - - &808 + - &792 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -49602,12 +48818,12 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *373 + default: *363 '403': *27 '401': *23 - '400': &810 + '400': &794 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -49629,7 +48845,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &374 + - &364 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 @@ -49647,7 +48863,7 @@ paths: - docker - nuget - container - - &375 + - &365 name: package_name description: The name of the package. in: path @@ -49660,7 +48876,7 @@ paths: description: Response content: application/json: - schema: *372 + schema: *362 examples: default: value: @@ -49712,8 +48928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 responses: '204': @@ -49746,8 +48962,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 - name: token description: package token @@ -49780,8 +48996,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: - - *374 - - *375 + - *364 + - *365 - *81 - *19 - *17 @@ -49802,7 +49018,7 @@ paths: application/json: schema: type: array - items: &376 + items: &366 title: Package Version description: A version of a software package type: object @@ -49937,10 +49153,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: - - *374 - - *375 + - *364 + - *365 - *81 - - &377 + - &367 name: package_version_id description: Unique identifier of the package version. in: path @@ -49952,7 +49168,7 @@ paths: description: Response content: application/json: - schema: *376 + schema: *366 examples: default: value: @@ -49988,10 +49204,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 - - *377 + - *367 responses: '204': description: Response @@ -50023,10 +49239,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *374 - - *375 + - *364 + - *365 - *81 - - *377 + - *367 responses: '204': description: Response @@ -50056,7 +49272,7 @@ paths: - *81 - *17 - *19 - - &379 + - &369 name: sort description: The property by which to sort the results. in: query @@ -50067,7 +49283,7 @@ paths: - created_at default: created_at - *104 - - &380 + - &370 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -50079,7 +49295,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &381 + - &371 name: repository description: The name of the repository to use to filter the results. in: query @@ -50088,7 +49304,7 @@ paths: type: string examples: - Hello-World - - &382 + - &372 name: permission description: The permission to use to filter the results. in: query @@ -50097,7 +49313,7 @@ paths: type: string examples: - issues_read - - &383 + - &373 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) @@ -50107,7 +49323,7 @@ paths: schema: type: string format: date-time - - &384 + - &374 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) @@ -50117,7 +49333,7 @@ paths: schema: type: string format: date-time - - &385 + - &375 name: token_id description: The ID of the token in: query @@ -50434,9 +49650,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -50462,14 +49678,14 @@ paths: - *81 - *17 - *19 - - *379 + - *369 - *104 - - *380 - - *381 - - *382 - - *383 - - *384 - - *385 + - *370 + - *371 + - *372 + - *373 + - *374 + - *375 responses: '500': *38 '422': *15 @@ -50751,9 +49967,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -50795,7 +50011,7 @@ paths: type: integer configurations: type: array - items: &386 + items: &376 title: Organization private registry description: Private registry configuration for an organization type: object @@ -51091,7 +50307,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &387 + org-private-registry-with-selected-visibility: &377 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -51183,15 +50399,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *81 - - *283 + - *273 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *386 + schema: *376 examples: - default: *387 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -51213,7 +50429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *81 - - *283 + - *273 requestBody: required: true content: @@ -51319,7 +50535,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *81 - - *283 + - *273 responses: '204': description: Response @@ -51359,7 +50575,7 @@ paths: application/json: schema: type: array - items: &388 + items: &378 title: Projects v2 Project description: A projects v2 project type: object @@ -51433,7 +50649,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &884 + - &868 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -51518,7 +50734,7 @@ paths: - deleted_at - deleted_by examples: - default: &389 + default: &379 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -51621,7 +50837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &390 + - &380 name: project_number description: The project's number. in: path @@ -51634,9 +50850,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 headers: Link: *41 '304': *35 @@ -51659,7 +50875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/drafts#create-draft-item-for-organization-owned-project parameters: - *81 - - *390 + - *380 requestBody: required: true description: Details of the draft item to create in the project. @@ -51693,7 +50909,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &385 title: Projects v2 Item description: An item belonging to a project type: object @@ -51707,7 +50923,7 @@ paths: content: oneOf: - *219 - - &572 + - &556 title: Pull Request Simple description: Pull Request Simple type: object @@ -51827,7 +51043,7 @@ paths: milestone: anyOf: - type: 'null' - - *391 + - *381 active_lock_reason: type: - string @@ -51882,7 +51098,7 @@ paths: type: - array - 'null' - items: *302 + items: *292 head: type: object properties: @@ -51926,7 +51142,7 @@ paths: _links: type: object properties: - comments: &392 + comments: &382 title: Link description: Hypermedia Link type: object @@ -51935,13 +51151,13 @@ paths: type: string required: - href - commits: *392 - statuses: *392 - html: *392 - issue: *392 - review_comments: *392 - review_comment: *392 - self: *392 + commits: *382 + statuses: *382 + html: *382 + issue: *382 + review_comments: *382 + review_comment: *382 + self: *382 required: - comments - commits @@ -51952,7 +51168,7 @@ paths: - review_comment - self author_association: *206 - auto_merge: &682 + auto_merge: &666 title: Auto merge description: The status of auto merging a pull request. type: @@ -52054,7 +51270,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: &394 + content_type: &384 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -52098,7 +51314,7 @@ paths: - updated_at - archived_at examples: - draft_issue: &396 + draft_issue: &386 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -52172,7 +51388,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *390 + - *380 - *81 - *17 - *102 @@ -52184,7 +51400,7 @@ paths: application/json: schema: type: array - items: &393 + items: &383 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -52334,7 +51550,7 @@ paths: - updated_at - project_url examples: - default: &827 + default: &811 value: - id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52465,8 +51681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *390 - - &828 + - *380 + - &812 name: field_id description: The unique identifier of the field. in: path @@ -52479,9 +51695,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *383 examples: - default: &829 + default: &813 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -52525,7 +51741,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: - - *390 + - *380 - *81 - 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) @@ -52558,7 +51774,7 @@ paths: application/json: schema: type: array - items: &397 + items: &387 title: Projects v2 Item description: An item belonging to a project type: object @@ -52575,7 +51791,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: *394 + content_type: *384 content: type: - object @@ -52625,7 +51841,7 @@ paths: - updated_at - archived_at examples: - default: &398 + default: &388 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -53322,7 +52538,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *81 - - *390 + - *380 requestBody: required: true description: Details of the item to add to the project. @@ -53359,10 +52575,10 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - issue: *396 - pull_request: *396 + issue: *386 + pull_request: *386 '304': *35 '403': *27 '401': *23 @@ -53382,9 +52598,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: - - *390 + - *380 - *81 - - &399 + - &389 name: item_id description: The unique identifier of the project item. in: path @@ -53410,9 +52626,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - default: *398 + default: *388 headers: Link: *41 '304': *35 @@ -53433,9 +52649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *390 + - *380 - *81 - - *399 + - *389 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -53508,13 +52724,13 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - text_field: *398 - number_field: *398 - date_field: *398 - single_select_field: *398 - iteration_field: *398 + text_field: *388 + number_field: *388 + date_field: *388 + single_select_field: *388 + iteration_field: *388 '401': *23 '403': *27 '404': *6 @@ -53534,9 +52750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *390 + - *380 - *81 - - *399 + - *389 responses: '204': description: Response @@ -53699,7 +52915,7 @@ paths: required: true content: application/json: - schema: *400 + schema: *390 examples: default: value: @@ -54065,9 +53281,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -54271,7 +53487,7 @@ paths: description: Response content: application/json: - schema: &465 + schema: &449 title: Full Repository description: Full Repository type: object @@ -54736,7 +53952,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &577 + code_of_conduct: &561 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -54766,7 +53982,7 @@ paths: - key - name - html_url - security_and_analysis: *401 + security_and_analysis: *391 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -54850,7 +54066,7 @@ paths: - network_count - subscribers_count examples: - default: &467 + default: &451 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -55376,9 +54592,9 @@ paths: application/json: schema: type: array - items: *402 + items: *392 examples: - default: *403 + default: *393 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55403,7 +54619,7 @@ paths: - *81 - *17 - *19 - - &705 + - &689 name: targets description: | A comma-separated list of rule targets to filter by. @@ -55495,11 +54711,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *404 + conditions: *394 rules: type: array description: An array of rules within the ruleset. - items: &406 + items: &396 title: Repository Rule type: object description: A repository rule. @@ -55563,7 +54779,7 @@ paths: application/json: schema: *179 examples: - default: &405 + default: &395 value: id: 21 name: super cool ruleset @@ -55618,7 +54834,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *81 - - &707 + - &691 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 @@ -55628,16 +54844,16 @@ paths: schema: type: string x-multi-segment: true - - *299 + - *289 - *99 - - &708 + - &692 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 - - &709 + - &693 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -55657,7 +54873,7 @@ paths: description: Response content: application/json: - schema: &710 + schema: &694 title: Rule Suites description: Response type: array @@ -55713,7 +54929,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &711 + default: &695 value: - id: 21 actor_id: 12 @@ -55757,7 +54973,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *81 - - &712 + - &696 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -55773,7 +54989,7 @@ paths: description: Response content: application/json: - schema: &713 + schema: &697 title: Rule Suite description: Response type: object @@ -55880,7 +55096,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &714 + default: &698 value: id: 21 actor_id: 12 @@ -55955,7 +55171,7 @@ paths: application/json: schema: *179 examples: - default: *405 + default: *395 '404': *6 '500': *38 put: @@ -56004,11 +55220,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *158 - conditions: *404 + conditions: *394 rules: description: An array of rules within the ruleset. type: array - items: *406 + items: *396 examples: default: value: @@ -56045,7 +55261,7 @@ paths: application/json: schema: *179 examples: - default: *405 + default: *395 '404': *6 '500': *38 delete: @@ -56104,7 +55320,7 @@ paths: type: array items: *183 examples: - default: *407 + default: *397 '404': *6 '500': *38 x-github: @@ -56141,7 +55357,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *398 examples: default: value: @@ -56204,14 +55420,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *81 - - *409 - - *410 - - *411 - - *412 + - *399 + - *400 + - *401 + - *402 - *104 - *19 - *17 - - &716 + - &700 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 @@ -56221,7 +55437,7 @@ paths: required: false schema: type: string - - &717 + - &701 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 @@ -56231,10 +55447,10 @@ paths: required: false schema: type: string - - *413 - - *414 - - *415 - - *416 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -56242,9 +55458,9 @@ paths: application/json: schema: type: array - items: *417 + items: *407 examples: - default: *418 + default: *408 headers: Link: *41 '404': *6 @@ -56279,9 +55495,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *409 examples: - default: *420 + default: *410 '403': *27 '404': *6 patch: @@ -56434,7 +55650,7 @@ paths: application/json: schema: type: array - items: &738 + items: &722 description: A repository security advisory. type: object properties: @@ -56678,7 +55894,7 @@ paths: login: type: string description: The username of the user credited. - type: *421 + type: *411 credits_detailed: type: - array @@ -56689,7 +55905,7 @@ paths: type: object properties: user: *4 - type: *421 + type: *411 state: type: string description: The state of the user's acceptance of the @@ -56715,7 +55931,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *302 + items: *292 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -56753,7 +55969,7 @@ paths: - private_fork additionalProperties: false examples: - default: &739 + default: &723 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -57140,9 +56356,9 @@ paths: application/json: schema: type: array - items: *370 + items: *360 examples: - default: *371 + default: *361 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57205,36 +56421,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: - - *81 - responses: - '200': - description: Response - content: - application/json: - schema: *422 - examples: - default: *423 - 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 @@ -57254,7 +56440,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *81 - - *424 + - *412 - *17 - *19 responses: @@ -57262,74 +56448,14 @@ paths: description: Success content: application/json: - schema: *425 + schema: *413 examples: - default: *426 + default: *414 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: - - *81 - responses: - '200': - description: Response - content: - application/json: - schema: *427 - examples: - default: *428 - 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: - - *81 - responses: - '200': - description: Response - content: - application/json: - schema: *429 - examples: - default: *430 - x-github: - githubCloudOnly: false - enabledForGitHubApps: false - category: billing - subcategory: billing "/orgs/{org}/settings/immutable-releases": get: summary: Get immutable releases settings for an organization @@ -57470,9 +56596,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *287 + default: *277 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57541,7 +56667,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *267 + - *257 responses: '204': description: Response @@ -57564,7 +56690,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#disable-a-selected-repository-for-immutable-releases-in-an-organization parameters: - *81 - - *267 + - *257 responses: '204': description: Response @@ -57607,7 +56733,7 @@ paths: type: array items: *137 examples: - default: *431 + default: *415 headers: Link: *41 x-github: @@ -57808,15 +56934,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: - *81 - - *432 + - *416 responses: '200': description: Response content: application/json: - schema: *433 + schema: *417 examples: - default: *434 + default: *418 headers: Link: *41 x-github: @@ -57854,7 +56980,7 @@ paths: description: Response content: application/json: - schema: &456 + schema: &440 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -57906,7 +57032,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &457 + default: &441 value: groups: - group_id: '123' @@ -58018,9 +57144,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 headers: Link: *41 '403': *27 @@ -58114,7 +57240,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &419 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -58188,7 +57314,7 @@ paths: parent: anyOf: - type: 'null' - - *370 + - *360 members_count: type: integer examples: @@ -58513,7 +57639,7 @@ paths: - repos_count - organization examples: - default: &436 + default: &420 value: id: 1 node_id: MDQ6VGVhbTE= @@ -58590,9 +57716,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 x-github: githubCloudOnly: false @@ -58677,16 +57803,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '201': description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 '422': *15 '403': *27 @@ -58756,7 +57882,7 @@ paths: application/json: schema: type: array - items: &437 + items: &421 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -58867,7 +57993,7 @@ paths: - updated_at - url examples: - default: &782 + default: &766 value: - author: login: octocat @@ -58976,9 +58102,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: &438 + default: &422 value: author: login: octocat @@ -59052,7 +58178,7 @@ paths: parameters: - *81 - *204 - - &439 + - &423 name: discussion_number description: The number that identifies the discussion. in: path @@ -59064,9 +58190,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *438 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59090,7 +58216,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 requestBody: required: false content: @@ -59113,9 +58239,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: &783 + default: &767 value: author: login: octocat @@ -59187,7 +58313,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 responses: '204': description: Response @@ -59215,7 +58341,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 - *104 - *17 - *19 @@ -59226,7 +58352,7 @@ paths: application/json: schema: type: array - items: &440 + items: &424 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -59306,7 +58432,7 @@ paths: - updated_at - url examples: - default: &784 + default: &768 value: - author: login: octocat @@ -59376,7 +58502,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 requestBody: required: true content: @@ -59398,9 +58524,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: &441 + default: &425 value: author: login: octocat @@ -59468,8 +58594,8 @@ paths: parameters: - *81 - *204 - - *439 - - &442 + - *423 + - &426 name: comment_number description: The number that identifies the comment. in: path @@ -59481,9 +58607,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *441 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59507,8 +58633,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 requestBody: required: true content: @@ -59530,9 +58656,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: &785 + default: &769 value: author: login: octocat @@ -59598,8 +58724,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 responses: '204': description: Response @@ -59627,8 +58753,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 - 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. @@ -59654,7 +58780,7 @@ paths: application/json: schema: type: array - items: &443 + items: &427 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -59698,7 +58824,7 @@ paths: - content - created_at examples: - default: &445 + default: &429 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59750,8 +58876,8 @@ paths: parameters: - *81 - *204 - - *439 - - *442 + - *423 + - *426 requestBody: required: true content: @@ -59784,9 +58910,9 @@ paths: team discussion comment content: application/json: - schema: *443 + schema: *427 examples: - default: &444 + default: &428 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -59815,9 +58941,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59842,9 +58968,9 @@ paths: parameters: - *81 - *204 - - *439 - - *442 - - &446 + - *423 + - *426 + - &430 name: reaction_id description: The unique identifier of the reaction. in: path @@ -59878,7 +59004,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 - 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. @@ -59904,9 +59030,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 x-github: @@ -59934,7 +59060,7 @@ paths: parameters: - *81 - *204 - - *439 + - *423 requestBody: required: true content: @@ -59966,16 +59092,16 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60000,8 +59126,8 @@ paths: parameters: - *81 - *204 - - *439 - - *446 + - *423 + - *430 responses: '204': description: Response @@ -60031,9 +59157,9 @@ paths: description: Response content: application/json: - schema: *447 + schema: *431 examples: - default: *448 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -60077,9 +59203,9 @@ paths: description: Response content: application/json: - schema: *449 + schema: *433 examples: - default: *450 + default: *434 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -60134,9 +59260,9 @@ paths: application/json: schema: type: array - items: *354 + items: *344 examples: - default: *355 + default: *345 headers: Link: *41 x-github: @@ -60220,7 +59346,7 @@ paths: description: Response content: application/json: - schema: &451 + schema: &435 title: Team Membership description: Team Membership type: object @@ -60248,7 +59374,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &786 + response-if-user-is-a-team-maintainer: &770 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -60311,9 +59437,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *435 examples: - response-if-users-membership-with-team-is-now-pending: &787 + response-if-users-membership-with-team-is-now-pending: &771 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -60386,7 +59512,7 @@ paths: application/json: schema: type: array - items: &452 + items: &436 title: Team Project description: A team's access to a project. type: object @@ -60455,7 +59581,7 @@ paths: - updated_at - permissions examples: - default: &788 + default: &772 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -60520,7 +59646,7 @@ paths: parameters: - *81 - *204 - - &453 + - &437 name: project_id description: The unique identifier of the project. in: path @@ -60532,9 +59658,9 @@ paths: description: Response content: application/json: - schema: *452 + schema: *436 examples: - default: &789 + default: &773 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -60598,7 +59724,7 @@ paths: parameters: - *81 - *204 - - *453 + - *437 requestBody: required: false content: @@ -60667,7 +59793,7 @@ paths: parameters: - *81 - *204 - - *453 + - *437 responses: '204': description: Response @@ -60705,9 +59831,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -60738,14 +59864,14 @@ paths: parameters: - *81 - *204 - - *454 - - *455 + - *438 + - *439 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &790 + schema: &774 title: Team Repository description: A team's access to a repository. type: object @@ -61388,8 +60514,8 @@ paths: parameters: - *81 - *204 - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -61436,8 +60562,8 @@ paths: parameters: - *81 - *204 - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -61470,9 +60596,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *440 examples: - default: *457 + default: *441 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -61538,7 +60664,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *440 examples: default: value: @@ -61581,9 +60707,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - response-if-child-teams-exist: &791 + response-if-child-teams-exist: &775 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -61710,7 +60836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &458 + - &442 name: card_id description: The unique identifier of the card. in: path @@ -61722,7 +60848,7 @@ paths: description: Response content: application/json: - schema: &459 + schema: &443 title: Project Card description: Project cards represent a scope of work. type: object @@ -61797,7 +60923,7 @@ paths: - created_at - updated_at examples: - default: &460 + default: &444 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -61853,7 +60979,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *458 + - *442 requestBody: required: false content: @@ -61883,9 +61009,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *443 examples: - default: *460 + default: *444 '304': *35 '403': *27 '401': *23 @@ -61912,7 +61038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *458 + - *442 responses: '204': description: Response @@ -61956,7 +61082,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *458 + - *442 requestBody: required: true content: @@ -62069,7 +61195,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &461 + - &445 name: column_id description: The unique identifier of the column. in: path @@ -62081,7 +61207,7 @@ paths: description: Response content: application/json: - schema: &462 + schema: &446 title: Project Column description: Project columns contain cards of work. type: object @@ -62135,7 +61261,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &447 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -62170,7 +61296,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *461 + - *445 requestBody: required: true content: @@ -62195,9 +61321,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *446 examples: - default: *463 + default: *447 '304': *35 '403': *27 '401': *23 @@ -62222,7 +61348,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *461 + - *445 responses: '204': description: Response @@ -62251,7 +61377,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *461 + - *445 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -62272,7 +61398,7 @@ paths: application/json: schema: type: array - items: *459 + items: *443 examples: default: value: @@ -62331,7 +61457,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *461 + - *445 requestBody: required: true content: @@ -62375,9 +61501,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *443 examples: - default: *460 + default: *444 '304': *35 '403': *27 '401': *23 @@ -62387,8 +61513,8 @@ paths: application/json: schema: oneOf: - - *248 - - *249 + - *238 + - *239 '503': description: Response content: @@ -62433,7 +61559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *461 + - *445 requestBody: required: true content: @@ -62494,7 +61620,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *453 + - *437 - 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 @@ -62551,7 +61677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *453 + - *437 - *132 requestBody: required: false @@ -62606,7 +61732,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *453 + - *437 - *132 responses: '204': @@ -62638,7 +61764,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: - - *453 + - *437 - *132 responses: '200': @@ -62736,7 +61862,7 @@ paths: resources: type: object properties: - core: &464 + core: &448 title: Rate Limit type: object properties: @@ -62753,21 +61879,21 @@ paths: - remaining - reset - used - graphql: *464 - search: *464 - code_search: *464 - source_import: *464 - integration_manifest: *464 - code_scanning_upload: *464 - actions_runner_registration: *464 - scim: *464 - dependency_snapshots: *464 - dependency_sbom: *464 - code_scanning_autofix: *464 + graphql: *448 + search: *448 + code_search: *448 + source_import: *448 + integration_manifest: *448 + code_scanning_upload: *448 + actions_runner_registration: *448 + scim: *448 + dependency_snapshots: *448 + dependency_sbom: *448 + code_scanning_autofix: *448 required: - core - search - rate: *464 + rate: *448 required: - rate - resources @@ -62872,14 +61998,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *465 + schema: *449 examples: default-response: summary: Default response @@ -63384,7 +62510,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *466 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63402,8 +62528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -63661,10 +62787,10 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 - '307': &468 + default: *451 + '307': &452 description: Temporary Redirect content: application/json: @@ -63693,8 +62819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -63716,7 +62842,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': *468 + '307': *452 '404': *6 '409': *112 x-github: @@ -63740,11 +62866,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - - &483 + - &467 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -63767,7 +62893,7 @@ paths: type: integer artifacts: type: array - items: &469 + items: &453 title: Artifact description: An artifact type: object @@ -63862,7 +62988,7 @@ paths: - expires_at - updated_at examples: - default: &484 + default: &468 value: total_count: 2 artifacts: @@ -63923,9 +63049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *454 - - *455 - - &470 + - *438 + - *439 + - &454 name: artifact_id description: The unique identifier of the artifact. in: path @@ -63937,7 +63063,7 @@ paths: description: Response content: application/json: - schema: *469 + schema: *453 examples: default: value: @@ -63975,9 +63101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: + - *438 + - *439 - *454 - - *455 - - *470 responses: '204': description: Response @@ -64001,9 +63127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: + - *438 + - *439 - *454 - - *455 - - *470 - name: archive_format in: path required: true @@ -64017,7 +63143,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': &640 + '410': &624 description: Gone content: application/json: @@ -64044,14 +63170,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *471 + schema: *455 examples: default: value: @@ -64077,11 +63203,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: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - - &472 + - &456 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 @@ -64115,7 +63241,7 @@ paths: description: Response content: application/json: - schema: &473 + schema: &457 title: Repository actions caches description: Repository actions caches type: object @@ -64165,7 +63291,7 @@ paths: - total_count - actions_caches examples: - default: &474 + default: &458 value: total_count: 1 actions_caches: @@ -64197,23 +63323,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: - - *454 - - *455 + - *438 + - *439 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *472 + - *456 responses: '200': description: Response content: application/json: - schema: *473 + schema: *457 examples: - default: *474 + default: *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64233,8 +63359,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: - - *454 - - *455 + - *438 + - *439 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -64265,9 +63391,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: - - *454 - - *455 - - &475 + - *438 + - *439 + - &459 name: job_id description: The unique identifier of the job. in: path @@ -64279,7 +63405,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &471 title: Job description: Information of a job execution in a workflow run type: object @@ -64626,9 +63752,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: - - *454 - - *455 - - *475 + - *438 + - *439 + - *459 responses: '302': description: Response @@ -64656,9 +63782,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: - - *454 - - *455 - - *475 + - *438 + - *439 + - *459 requestBody: required: false content: @@ -64680,7 +63806,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -64704,8 +63830,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Status response @@ -64755,8 +63881,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -64790,7 +63916,7 @@ paths: description: Empty response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -64819,8 +63945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -64838,7 +63964,7 @@ paths: type: integer secrets: type: array - items: &489 + items: &473 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -64859,7 +63985,7 @@ paths: - created_at - updated_at examples: - default: &490 + default: &474 value: total_count: 2 secrets: @@ -64892,9 +64018,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *454 - - *455 - - *476 + - *438 + - *439 + - *460 - *19 responses: '200': @@ -64911,7 +64037,7 @@ paths: type: integer variables: type: array - items: &493 + items: &477 title: Actions Variable type: object properties: @@ -64945,7 +64071,7 @@ paths: - created_at - updated_at examples: - default: &494 + default: &478 value: total_count: 2 variables: @@ -64978,8 +64104,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -64988,11 +64114,11 @@ paths: schema: type: object properties: - enabled: &477 + enabled: &461 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *54 - selected_actions_url: *260 + selected_actions_url: *250 sha_pinning_required: *55 required: - enabled @@ -65023,8 +64149,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -65035,7 +64161,7 @@ paths: schema: type: object properties: - enabled: *477 + enabled: *461 allowed_actions: *54 sha_pinning_required: *55 required: @@ -65068,14 +64194,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: &478 + schema: &462 type: object properties: access_level: @@ -65093,7 +64219,7 @@ paths: required: - access_level examples: - default: &479 + default: &463 value: access_level: organization x-github: @@ -65118,15 +64244,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: application/json: - schema: *478 + schema: *462 examples: - default: *479 + default: *463 responses: '204': description: Response @@ -65150,14 +64276,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *262 + schema: *252 examples: default: value: @@ -65181,8 +64307,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Empty response for successful settings update @@ -65192,7 +64318,7 @@ paths: required: true content: application/json: - schema: *263 + schema: *253 examples: default: summary: Set retention days @@ -65216,8 +64342,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -65225,7 +64351,7 @@ paths: application/json: schema: *56 examples: - default: *264 + default: *254 '404': *6 x-github: enabledForGitHubApps: true @@ -65244,8 +64370,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -65279,14 +64405,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *265 + schema: *255 examples: default: *57 '403': *27 @@ -65308,13 +64434,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: application/json: - schema: *266 + schema: *256 examples: default: *57 responses: @@ -65340,8 +64466,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -65372,8 +64498,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -65405,14 +64531,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *269 + schema: *259 examples: default: *63 x-github: @@ -65435,8 +64561,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Success response @@ -65447,7 +64573,7 @@ paths: required: true content: application/json: - schema: *270 + schema: *260 examples: default: *63 x-github: @@ -65476,8 +64602,8 @@ paths: in: query schema: type: string - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -65521,8 +64647,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -65530,9 +64656,9 @@ paths: application/json: schema: type: array - items: *274 + items: *264 examples: - default: *275 + default: *265 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65554,8 +64680,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -65598,7 +64724,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *276 + '201': *266 '404': *6 '422': *7 '409': *112 @@ -65629,8 +64755,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: - - *454 - - *455 + - *438 + - *439 responses: '201': description: Response @@ -65638,7 +64764,7 @@ paths: application/json: schema: *73 examples: - default: *277 + default: *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65666,8 +64792,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: - - *454 - - *455 + - *438 + - *439 responses: '201': description: Response @@ -65675,7 +64801,7 @@ paths: application/json: schema: *73 examples: - default: *278 + default: *268 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65697,8 +64823,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: '200': @@ -65707,7 +64833,7 @@ paths: application/json: schema: *70 examples: - default: *279 + default: *269 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65728,8 +64854,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: '204': @@ -65756,8 +64882,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: '200': *75 @@ -65782,8 +64908,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: - - *454 - - *455 + - *438 + - *439 - *69 requestBody: required: true @@ -65832,8 +64958,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: - - *454 - - *455 + - *438 + - *439 - *69 requestBody: required: true @@ -65883,11 +65009,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: - - *454 - - *455 + - *438 + - *439 - *69 responses: - '200': *280 + '200': *270 '404': *6 x-github: githubCloudOnly: false @@ -65914,10 +65040,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: - - *454 - - *455 + - *438 + - *439 - *69 - - *281 + - *271 responses: '200': *75 '404': *6 @@ -65945,9 +65071,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: - - *454 - - *455 - - &497 + - *438 + - *439 + - &481 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. @@ -65955,7 +65081,7 @@ paths: required: false schema: type: string - - &498 + - &482 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -65963,7 +65089,7 @@ paths: required: false schema: type: string - - &499 + - &483 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -65972,7 +65098,7 @@ paths: required: false schema: type: string - - &500 + - &484 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 @@ -65999,7 +65125,7 @@ paths: - pending - *17 - *19 - - &501 + - &485 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)." @@ -66008,7 +65134,7 @@ paths: schema: type: string format: date-time - - &480 + - &464 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -66017,13 +65143,13 @@ paths: schema: type: boolean default: false - - &502 + - &486 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &503 + - &487 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -66046,7 +65172,7 @@ paths: type: integer workflow_runs: type: array - items: &481 + items: &465 title: Workflow Run description: An invocation of a workflow type: object @@ -66163,7 +65289,7 @@ paths: type: - array - 'null' - items: &522 + items: &506 title: Pull Request Minimal type: object properties: @@ -66290,7 +65416,7 @@ paths: head_commit: anyOf: - type: 'null' - - &526 + - &510 title: Simple Commit description: A commit. type: object @@ -66364,8 +65490,8 @@ paths: - timestamp - author - committer - repository: *273 - head_repository: *273 + repository: *263 + head_repository: *263 head_repository_id: type: integer examples: @@ -66405,7 +65531,7 @@ paths: - workflow_url - pull_requests examples: - default: &504 + default: &488 value: total_count: 1 workflow_runs: @@ -66641,24 +65767,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *454 - - *455 - - &482 + - *438 + - *439 + - &466 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *480 + - *464 responses: '200': description: Response content: application/json: - schema: *481 + schema: *465 examples: - default: &485 + default: &469 value: id: 30433642 name: Build @@ -66899,9 +66025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '204': description: Response @@ -66924,9 +66050,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '200': description: Response @@ -67054,15 +66180,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -67089,12 +66215,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 - *17 - *19 - - *483 + - *467 responses: '200': description: Response @@ -67110,9 +66236,9 @@ paths: type: integer artifacts: type: array - items: *469 + items: *453 examples: - default: *484 + default: *468 headers: Link: *41 x-github: @@ -67136,25 +66262,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *454 - - *455 - - *482 - - &486 + - *438 + - *439 + - *466 + - &470 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *480 + - *464 responses: '200': description: Response content: application/json: - schema: *481 + schema: *465 examples: - default: *485 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67177,10 +66303,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: - - *454 - - *455 - - *482 - - *486 + - *438 + - *439 + - *466 + - *470 - *17 - *19 responses: @@ -67198,9 +66324,9 @@ paths: type: integer jobs: type: array - items: *487 + items: *471 examples: - default: &488 + default: &472 value: total_count: 1 jobs: @@ -67313,10 +66439,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *454 - - *455 - - *482 - - *486 + - *438 + - *439 + - *466 + - *470 responses: '302': description: Response @@ -67344,15 +66470,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '202': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -67379,9 +66505,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: true content: @@ -67448,15 +66574,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '202': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -67483,9 +66609,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 - 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 @@ -67515,9 +66641,9 @@ paths: type: integer jobs: type: array - items: *487 + items: *471 examples: - default: *488 + default: *472 headers: Link: *41 x-github: @@ -67542,9 +66668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '302': description: Response @@ -67571,9 +66697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '204': description: Response @@ -67600,9 +66726,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '200': description: Response @@ -67671,7 +66797,7 @@ paths: items: type: object properties: - type: &606 + type: &590 type: string description: The type of reviewer. enum: @@ -67682,7 +66808,7 @@ paths: reviewer: anyOf: - *4 - - *302 + - *292 required: - environment - wait_timer @@ -67757,9 +66883,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: true content: @@ -67809,7 +66935,7 @@ paths: application/json: schema: type: array - items: &592 + items: &576 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -67921,7 +67047,7 @@ paths: - created_at - updated_at examples: - default: &593 + default: &577 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -67977,9 +67103,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: false content: @@ -68001,7 +67127,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68024,9 +67150,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: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 requestBody: required: false content: @@ -68048,7 +67174,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68081,9 +67207,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *454 - - *455 - - *482 + - *438 + - *439 + - *466 responses: '200': description: Response @@ -68220,8 +67346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -68239,9 +67365,9 @@ paths: type: integer secrets: type: array - items: *489 + items: *473 examples: - default: *490 + default: *474 headers: Link: *41 x-github: @@ -68266,16 +67392,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *491 + schema: *475 examples: - default: *492 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68297,17 +67423,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '200': description: Response content: application/json: - schema: *489 + schema: *473 examples: - default: &619 + default: &603 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -68333,9 +67459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 requestBody: required: true content: @@ -68366,7 +67492,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68392,9 +67518,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '204': description: Response @@ -68419,9 +67545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *454 - - *455 - - *476 + - *438 + - *439 + - *460 - *19 responses: '200': @@ -68438,9 +67564,9 @@ paths: type: integer variables: type: array - items: *493 + items: *477 examples: - default: *494 + default: *478 headers: Link: *41 x-github: @@ -68463,8 +67589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -68491,7 +67617,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -68516,17 +67642,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *454 - - *455 - - *286 + - *438 + - *439 + - *276 responses: '200': description: Response content: application/json: - schema: *493 + schema: *477 examples: - default: &620 + default: &604 value: name: USERNAME value: octocat @@ -68552,9 +67678,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *454 - - *455 - - *286 + - *438 + - *439 + - *276 requestBody: required: true content: @@ -68596,9 +67722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *454 - - *455 - - *286 + - *438 + - *439 + - *276 responses: '204': description: Response @@ -68623,8 +67749,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -68642,7 +67768,7 @@ paths: type: integer workflows: type: array - items: &495 + items: &479 title: Workflow description: A GitHub Actions workflow type: object @@ -68760,9 +67886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *454 - - *455 - - &496 + - *438 + - *439 + - &480 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -68777,7 +67903,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *479 examples: default: value: @@ -68810,9 +67936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '204': description: Response @@ -68837,9 +67963,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '204': description: Response @@ -68890,9 +68016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '204': description: Response @@ -68919,19 +68045,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: - - *454 - - *455 - - *496 - - *497 - - *498 - - *499 - - *500 + - *438 + - *439 + - *480 + - *481 + - *482 + - *483 + - *484 - *17 - *19 - - *501 - - *480 - - *502 - - *503 + - *485 + - *464 + - *486 + - *487 responses: '200': description: Response @@ -68947,9 +68073,9 @@ paths: type: integer workflow_runs: type: array - items: *481 + items: *465 examples: - default: *504 + default: *488 headers: Link: *41 x-github: @@ -68982,9 +68108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *454 - - *455 - - *496 + - *438 + - *439 + - *480 responses: '200': description: Response @@ -69045,8 +68171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *454 - - *455 + - *438 + - *439 - *104 - *17 - *102 @@ -69214,8 +68340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -69252,8 +68378,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: - - *454 - - *455 + - *438 + - *439 - name: assignee in: path required: true @@ -69289,8 +68415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -69402,8 +68528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *102 - *103 @@ -69460,7 +68586,7 @@ paths: initiator: type: string examples: - default: *505 + default: *489 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69480,8 +68606,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -69489,7 +68615,7 @@ paths: application/json: schema: type: array - items: &506 + items: &490 title: Autolink reference description: An autolink reference. type: object @@ -69548,8 +68674,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -69588,9 +68714,9 @@ paths: description: response content: application/json: - schema: *506 + schema: *490 examples: - default: &507 + default: &491 value: id: 1 key_prefix: TICKET- @@ -69621,9 +68747,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: - - *454 - - *455 - - &508 + - *438 + - *439 + - &492 name: autolink_id description: The unique identifier of the autolink. in: path @@ -69635,9 +68761,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *490 examples: - default: *507 + default: *491 '404': *6 x-github: githubCloudOnly: false @@ -69657,9 +68783,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: - - *454 - - *455 - - *508 + - *438 + - *439 + - *492 responses: '204': description: Response @@ -69683,8 +68809,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response if Dependabot is enabled @@ -69734,8 +68860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -69756,8 +68882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -69777,8 +68903,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *454 - - *455 + - *438 + - *439 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -69816,7 +68942,7 @@ paths: - url protected: type: boolean - protection: &510 + protection: &494 title: Branch Protection description: Branch Protection type: object @@ -69859,7 +68985,7 @@ paths: required: - contexts - checks - enforce_admins: &513 + enforce_admins: &497 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -69876,7 +69002,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &515 + required_pull_request_reviews: &499 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -69898,7 +69024,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *302 + items: *292 apps: description: The list of apps with review dismissal access. @@ -69930,7 +69056,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *302 + items: *292 apps: description: The list of apps allowed to bypass pull request requirements. @@ -69960,7 +69086,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &512 + restrictions: &496 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -70023,7 +69149,7 @@ paths: type: string teams: type: array - items: *302 + items: *292 apps: type: array items: @@ -70253,9 +69379,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *454 - - *455 - - &511 + - *438 + - *439 + - &495 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). @@ -70269,14 +69395,14 @@ paths: description: Response content: application/json: - schema: &521 + schema: &505 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &568 + commit: &552 title: Commit description: Commit type: object @@ -70315,7 +69441,7 @@ paths: author: anyOf: - type: 'null' - - &509 + - &493 title: Git User description: Metaproperties for Git author/committer information. @@ -70336,7 +69462,7 @@ paths: committer: anyOf: - type: 'null' - - *509 + - *493 message: type: string examples: @@ -70360,7 +69486,7 @@ paths: required: - sha - url - verification: &626 + verification: &610 title: Verification type: object properties: @@ -70396,14 +69522,14 @@ paths: author: oneOf: - *4 - - *284 + - *274 type: - 'null' - object committer: oneOf: - *4 - - *284 + - *274 type: - 'null' - object @@ -70440,7 +69566,7 @@ paths: type: integer files: type: array - items: &579 + items: &563 title: Diff Entry description: Diff Entry type: object @@ -70536,7 +69662,7 @@ paths: - self protected: type: boolean - protection: *510 + protection: *494 protection_url: type: string format: uri @@ -70645,7 +69771,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *466 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -70667,15 +69793,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *510 + schema: *494 examples: default: value: @@ -70869,9 +69995,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -71131,7 +70257,7 @@ paths: url: type: string format: uri - required_status_checks: &518 + required_status_checks: &502 title: Status Check Policy description: Status Check Policy type: object @@ -71212,7 +70338,7 @@ paths: items: *4 teams: type: array - items: *302 + items: *292 apps: type: array items: *5 @@ -71230,7 +70356,7 @@ paths: items: *4 teams: type: array - items: *302 + items: *292 apps: type: array items: *5 @@ -71290,7 +70416,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *512 + restrictions: *496 required_conversation_resolution: type: object properties: @@ -71402,9 +70528,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71429,17 +70555,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: &514 + default: &498 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -71461,17 +70587,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: *514 + default: *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71490,9 +70616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71517,17 +70643,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *515 + schema: *499 examples: - default: &516 + default: &500 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -71623,9 +70749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -71723,9 +70849,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *499 examples: - default: *516 + default: *500 '422': *15 x-github: githubCloudOnly: false @@ -71746,9 +70872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71775,17 +70901,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: &517 + default: &501 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -71808,17 +70934,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *513 + schema: *497 examples: - default: *517 + default: *501 '404': *6 x-github: githubCloudOnly: false @@ -71838,9 +70964,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -71865,17 +70991,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *518 + schema: *502 examples: - default: &519 + default: &503 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -71901,9 +71027,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -71955,9 +71081,9 @@ paths: description: Response content: application/json: - schema: *518 + schema: *502 examples: - default: *519 + default: *503 '404': *6 '422': *15 x-github: @@ -71979,9 +71105,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -72005,9 +71131,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72041,9 +71167,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72110,9 +71236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72176,9 +71302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: content: application/json: @@ -72244,15 +71370,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response content: application/json: - schema: *512 + schema: *496 examples: default: value: @@ -72343,9 +71469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '204': description: Response @@ -72368,9 +71494,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: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72380,7 +71506,7 @@ paths: type: array items: *5 examples: - default: &520 + default: &504 value: - id: 1 slug: octoapp @@ -72437,9 +71563,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72473,7 +71599,7 @@ paths: type: array items: *5 examples: - default: *520 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -72494,9 +71620,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72530,7 +71656,7 @@ paths: type: array items: *5 examples: - default: *520 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -72551,9 +71677,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72587,7 +71713,7 @@ paths: type: array items: *5 examples: - default: *520 + default: *504 '422': *15 x-github: githubCloudOnly: false @@ -72609,9 +71735,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: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72619,9 +71745,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '404': *6 x-github: githubCloudOnly: false @@ -72641,9 +71767,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72679,9 +71805,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '422': *15 x-github: githubCloudOnly: false @@ -72702,9 +71828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: false content: @@ -72740,9 +71866,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '422': *15 x-github: githubCloudOnly: false @@ -72763,9 +71889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: content: application/json: @@ -72800,9 +71926,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 '422': *15 x-github: githubCloudOnly: false @@ -72824,9 +71950,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: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 responses: '200': description: Response @@ -72860,9 +71986,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72920,9 +72046,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -72980,9 +72106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -73042,9 +72168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 requestBody: required: true content: @@ -73066,7 +72192,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *505 examples: default: value: @@ -73180,8 +72306,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *454 - - *455 + - *438 + - *439 - *97 - *98 - *99 @@ -73195,9 +72321,9 @@ paths: application/json: schema: type: array - items: *297 + items: *287 examples: - default: *298 + default: *288 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -73217,8 +72343,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_request_number in: path required: true @@ -73232,7 +72358,7 @@ paths: description: Response content: application/json: - schema: *297 + schema: *287 examples: default: value: @@ -73291,8 +72417,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - *97 - *98 - *99 @@ -73306,9 +72432,9 @@ paths: application/json: schema: type: array - items: *300 + items: *290 examples: - default: *301 + default: *291 '404': *6 '403': *27 '500': *38 @@ -73332,8 +72458,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_request_number in: path required: true @@ -73345,7 +72471,7 @@ paths: description: A single bypass request. content: application/json: - schema: *300 + schema: *290 examples: default: value: @@ -73403,8 +72529,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_request_number in: path required: true @@ -73475,8 +72601,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *454 - - *455 + - *438 + - *439 - name: bypass_response_id in: path required: true @@ -73509,8 +72635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -73789,7 +72915,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &507 title: CheckRun description: A check performed on the code of a given code change type: object @@ -73924,8 +73050,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *522 - deployment: &840 + items: *506 + deployment: &824 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -74212,9 +73338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *454 - - *455 - - &524 + - *438 + - *439 + - &508 name: check_run_id description: The unique identifier of the check run. in: path @@ -74226,9 +73352,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *507 examples: - default: &525 + default: &509 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -74328,9 +73454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *454 - - *455 - - *524 + - *438 + - *439 + - *508 requestBody: required: true content: @@ -74570,9 +73696,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *507 examples: - default: *525 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74592,9 +73718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *454 - - *455 - - *524 + - *438 + - *439 + - *508 - *17 - *19 responses: @@ -74704,15 +73830,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *454 - - *455 - - *524 + - *438 + - *439 + - *508 responses: '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -74750,8 +73876,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -74773,7 +73899,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &527 + schema: &511 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -74855,12 +73981,12 @@ paths: type: - array - 'null' - items: *522 + items: *506 app: anyOf: - type: 'null' - *5 - repository: *273 + repository: *263 created_at: type: - string @@ -74871,7 +73997,7 @@ paths: - string - 'null' format: date-time - head_commit: *526 + head_commit: *510 latest_check_runs_count: type: integer check_runs_url: @@ -74899,7 +74025,7 @@ paths: - check_runs_url - pull_requests examples: - default: &528 + default: &512 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -75190,9 +74316,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *527 + schema: *511 examples: - default: *528 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75211,8 +74337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -75273,7 +74399,7 @@ paths: required: - app_id - setting - repository: *273 + repository: *263 examples: default: value: @@ -75521,9 +74647,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *454 - - *455 - - &529 + - *438 + - *439 + - &513 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -75535,9 +74661,9 @@ paths: description: Response content: application/json: - schema: *527 + schema: *511 examples: - default: *528 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75560,17 +74686,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: - - *454 - - *455 - - *529 - - &574 + - *438 + - *439 + - *513 + - &558 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &575 + - &559 name: status description: Returns check runs with the specified `status`. in: query @@ -75609,9 +74735,9 @@ paths: type: integer check_runs: type: array - items: *523 + items: *507 examples: - default: &576 + default: &560 value: total_count: 1 check_runs: @@ -75713,15 +74839,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *454 - - *455 - - *529 + - *438 + - *439 + - *513 responses: '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -75748,21 +74874,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: - - *454 - - *455 - - *306 - - *307 + - *438 + - *439 + - *296 + - *297 - *19 - *17 - - &545 + - &529 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: *530 - - &546 + schema: *514 + - &530 name: pr description: The number of the pull request for the results you want to list. in: query @@ -75787,13 +74913,13 @@ paths: be returned. in: query required: false - schema: *308 + schema: *298 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *531 + schema: *515 responses: '200': description: Response @@ -75809,7 +74935,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *532 + instances_url: *516 state: *107 fixed_at: *129 dismissed_by: @@ -75817,11 +74943,11 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *533 - dismissed_comment: *534 - rule: *535 - tool: *536 - most_recent_instance: *537 + dismissed_reason: *517 + dismissed_comment: *518 + rule: *519 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: anyOf: - type: 'null' @@ -75944,7 +75070,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &538 + '403': &522 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -75971,9 +75097,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: - - *454 - - *455 - - &539 + - *438 + - *439 + - &523 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -75987,7 +75113,7 @@ paths: description: Response content: application/json: - schema: &540 + schema: &524 type: object properties: number: *119 @@ -75995,7 +75121,7 @@ paths: updated_at: *127 url: *124 html_url: *125 - instances_url: *532 + instances_url: *516 state: *107 fixed_at: *129 dismissed_by: @@ -76003,8 +75129,8 @@ paths: - type: 'null' - *4 dismissed_at: *128 - dismissed_reason: *533 - dismissed_comment: *534 + dismissed_reason: *517 + dismissed_comment: *518 rule: type: object properties: @@ -76066,8 +75192,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *536 - most_recent_instance: *537 + tool: *520 + most_recent_instance: *521 dismissal_approved_by: anyOf: - type: 'null' @@ -76163,7 +75289,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76183,9 +75309,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 requestBody: required: true content: @@ -76200,8 +75326,8 @@ paths: enum: - open - dismissed - dismissed_reason: *533 - dismissed_comment: *534 + dismissed_reason: *517 + dismissed_comment: *518 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -76220,7 +75346,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *524 examples: default: value: @@ -76296,7 +75422,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &544 + '403': &528 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -76323,15 +75449,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 responses: '200': description: Response content: application/json: - schema: &541 + schema: &525 type: object properties: status: @@ -76358,13 +75484,13 @@ paths: - description - started_at examples: - default: &542 + default: &526 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &543 + '400': &527 description: Bad Request content: application/json: @@ -76375,7 +75501,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': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76400,29 +75526,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 responses: '200': description: OK content: application/json: - schema: *541 + schema: *525 examples: - default: *542 + default: *526 '202': description: Accepted content: application/json: - schema: *541 + schema: *525 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *543 + '400': *527 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -76454,9 +75580,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 requestBody: required: false content: @@ -76502,8 +75628,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *543 - '403': *544 + '400': *527 + '403': *528 '404': *6 '422': description: Unprocessable Entity @@ -76527,13 +75653,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 - *19 - *17 - - *545 - - *546 + - *529 + - *530 responses: '200': description: Response @@ -76541,7 +75667,7 @@ paths: application/json: schema: type: array - items: *537 + items: *521 examples: default: value: @@ -76580,7 +75706,7 @@ paths: end_column: 50 classifications: - source - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76614,25 +75740,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: - - *454 - - *455 - - *306 - - *307 + - *438 + - *439 + - *296 + - *297 - *19 - *17 - - *546 + - *530 - 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: *530 + schema: *514 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &549 + schema: &533 type: string description: An identifier for the upload. examples: @@ -76654,23 +75780,23 @@ paths: application/json: schema: type: array - items: &550 + items: &534 type: object properties: - ref: *530 - commit_sha: &558 + ref: *514 + commit_sha: &542 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: *547 + analysis_key: *531 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *548 + category: *532 error: type: string examples: @@ -76695,8 +75821,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *549 - tool: *536 + sarif_id: *533 + tool: *520 deletable: type: boolean warning: @@ -76758,7 +75884,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -76794,8 +75920,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: - - *454 - - *455 + - *438 + - *439 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -76808,7 +75934,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *534 examples: response: summary: application/json response @@ -76862,7 +75988,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *538 + '403': *522 '404': *6 '422': description: Response if analysis could not be processed @@ -76949,8 +76075,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: - - *454 - - *455 + - *438 + - *439 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -77006,7 +76132,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': *544 + '403': *528 '404': *6 '503': *184 x-github: @@ -77028,8 +76154,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -77037,7 +76163,7 @@ paths: application/json: schema: type: array - items: &551 + items: &535 title: CodeQL Database description: A CodeQL database. type: object @@ -77149,7 +76275,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': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -77178,8 +76304,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: - - *454 - - *455 + - *438 + - *439 - name: language in: path description: The language of the CodeQL database. @@ -77191,7 +76317,7 @@ paths: description: Response content: application/json: - schema: *551 + schema: *535 examples: default: value: @@ -77223,9 +76349,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': &581 + '302': &565 description: Found - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -77247,8 +76373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *454 - - *455 + - *438 + - *439 - name: language in: path description: The language of the CodeQL database. @@ -77258,7 +76384,7 @@ paths: responses: '204': description: Response - '403': *544 + '403': *528 '404': *6 '503': *184 x-github: @@ -77286,8 +76412,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -77296,7 +76422,7 @@ paths: type: object additionalProperties: false properties: - language: &552 + language: &536 type: string description: The language targeted by the CodeQL query enum: @@ -77376,7 +76502,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &556 + schema: &540 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -77386,7 +76512,7 @@ paths: description: The ID of the variant analysis. controller_repo: *113 actor: *4 - query_language: *552 + query_language: *536 query_pack_url: type: string description: The download url for the query pack. @@ -77434,7 +76560,7 @@ paths: items: type: object properties: - repository: &553 + repository: &537 title: Repository Identifier description: Repository Identifier type: object @@ -77476,7 +76602,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &557 + analysis_status: &541 type: string description: The new status of the CodeQL variant analysis repository task. @@ -77508,7 +76634,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &554 + access_mismatch_repos: &538 type: object properties: repository_count: @@ -77523,7 +76649,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: *553 + items: *537 required: - repository_count - repositories @@ -77546,8 +76672,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *554 - over_limit_repos: *554 + no_codeql_db_repos: *538 + over_limit_repos: *538 required: - access_mismatch_repos - not_found_repos @@ -77563,7 +76689,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &555 + value: &539 summary: Default response value: id: 1 @@ -77715,10 +76841,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *555 + value: *539 repository_lists: summary: Response for a successful variant analysis submission - value: *555 + value: *539 '404': *6 '422': description: Unable to process variant analysis submission @@ -77746,8 +76872,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: - - *454 - - *455 + - *438 + - *439 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -77759,9 +76885,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *540 examples: - default: *555 + default: *539 '404': *6 '503': *184 x-github: @@ -77784,7 +76910,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: - - *454 + - *438 - name: repo in: path description: The name of the controller repository. @@ -77819,7 +76945,7 @@ paths: type: object properties: repository: *113 - analysis_status: *557 + analysis_status: *541 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -77944,8 +77070,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -78038,7 +77164,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *538 + '403': *522 '404': *6 '503': *184 x-github: @@ -78059,8 +77185,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -78129,7 +77255,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -78154,7 +77280,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *544 + '403': *528 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -78225,8 +77351,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -78234,7 +77360,7 @@ paths: schema: type: object properties: - commit_sha: *558 + commit_sha: *542 ref: type: string description: |- @@ -78294,7 +77420,7 @@ paths: schema: type: object properties: - id: *549 + id: *533 url: type: string description: The REST API URL for checking the status of the upload. @@ -78308,7 +77434,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': *544 + '403': *528 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -78331,8 +77457,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: - - *454 - - *455 + - *438 + - *439 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -78380,7 +77506,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': *538 + '403': *522 '404': description: Not Found if the sarif id does not match any upload '503': *184 @@ -78405,8 +77531,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -78487,8 +77613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *454 - - *455 + - *438 + - *439 - 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 @@ -78616,8 +77742,8 @@ paths: parameters: - *17 - *19 - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -78633,7 +77759,7 @@ paths: type: integer codespaces: type: array - items: *362 + items: *352 examples: default: value: @@ -78931,8 +78057,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -78996,17 +78122,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '400': *14 '401': *23 '403': *27 @@ -79035,8 +78161,8 @@ paths: parameters: - *17 - *19 - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -79100,8 +78226,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: - - *454 - - *455 + - *438 + - *439 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -79138,9 +78264,9 @@ paths: type: integer machines: type: array - items: *560 + items: *544 examples: - default: &798 + default: &782 value: total_count: 2 machines: @@ -79180,8 +78306,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *454 - - *455 + - *438 + - *439 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -79268,8 +78394,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: - - *454 - - *455 + - *438 + - *439 - 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 @@ -79338,8 +78464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -79357,7 +78483,7 @@ paths: type: integer secrets: type: array - items: &564 + items: &548 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -79378,7 +78504,7 @@ paths: - created_at - updated_at examples: - default: *561 + default: *545 headers: Link: *41 x-github: @@ -79401,16 +78527,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *562 + schema: *546 examples: - default: *563 + default: *547 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -79430,17 +78556,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '200': description: Response content: application/json: - schema: *564 + schema: *548 examples: - default: *565 + default: *549 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79460,9 +78586,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: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 requestBody: required: true content: @@ -79490,7 +78616,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -79514,9 +78640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '204': description: Response @@ -79544,8 +78670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *454 - - *455 + - *438 + - *439 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -79583,7 +78709,7 @@ paths: application/json: schema: type: array - items: &566 + items: &550 title: Collaborator description: Collaborator type: object @@ -79776,8 +78902,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: - - *454 - - *455 + - *438 + - *439 - *132 responses: '204': @@ -79824,8 +78950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *454 - - *455 + - *438 + - *439 - *132 requestBody: required: false @@ -79852,7 +78978,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &639 + schema: &623 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -79864,7 +78990,7 @@ paths: format: int64 examples: - 42 - repository: *273 + repository: *263 invitee: anyOf: - type: 'null' @@ -80040,7 +79166,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *248 + schema: *238 '403': *27 x-github: triggersNotification: true @@ -80080,8 +79206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *454 - - *455 + - *438 + - *439 - *132 responses: '204': @@ -80113,8 +79239,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *454 - - *455 + - *438 + - *439 - *132 responses: '200': @@ -80135,7 +79261,7 @@ paths: user: anyOf: - type: 'null' - - *566 + - *550 required: - permission - role_name @@ -80189,8 +79315,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -80200,7 +79326,7 @@ paths: application/json: schema: type: array - items: &567 + items: &551 title: Commit Comment description: Commit Comment type: object @@ -80258,7 +79384,7 @@ paths: - created_at - updated_at examples: - default: &570 + default: &554 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80317,17 +79443,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '200': description: Response content: application/json: - schema: *567 + schema: *551 examples: - default: &571 + default: &555 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80384,8 +79510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -80408,7 +79534,7 @@ paths: description: Response content: application/json: - schema: *567 + schema: *551 examples: default: value: @@ -80459,8 +79585,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '204': @@ -80482,8 +79608,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80510,9 +79636,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -80533,8 +79659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -80567,16 +79693,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -80598,10 +79724,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *454 - - *455 + - *438 + - *439 - *218 - - *446 + - *430 responses: '204': description: Response @@ -80650,8 +79776,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *454 - - *455 + - *438 + - *439 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -80707,9 +79833,9 @@ paths: application/json: schema: type: array - items: *568 + items: *552 examples: - default: &689 + default: &673 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -80803,9 +79929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *454 - - *455 - - &569 + - *438 + - *439 + - &553 name: commit_sha description: The SHA of the commit. in: path @@ -80877,9 +80003,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 - *17 - *19 responses: @@ -80889,9 +80015,9 @@ paths: application/json: schema: type: array - items: *567 + items: *551 examples: - default: *570 + default: *554 headers: Link: *41 x-github: @@ -80919,9 +80045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 requestBody: required: true content: @@ -80956,9 +80082,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *551 examples: - default: *571 + default: *555 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -80986,9 +80112,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: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 - *17 - *19 responses: @@ -80998,9 +80124,9 @@ paths: application/json: schema: type: array - items: *572 + items: *556 examples: - default: &681 + default: &665 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81537,11 +80663,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *454 - - *455 + - *438 + - *439 - *19 - *17 - - &573 + - &557 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)" @@ -81556,9 +80682,9 @@ paths: description: Response content: application/json: - schema: *568 + schema: *552 examples: - default: &667 + default: &651 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -81671,11 +80797,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: - - *454 - - *455 - - *573 - - *574 - - *575 + - *438 + - *439 + - *557 + - *558 + - *559 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -81709,9 +80835,9 @@ paths: type: integer check_runs: type: array - items: *523 + items: *507 examples: - default: *576 + default: *560 headers: Link: *41 x-github: @@ -81736,9 +80862,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: - - *454 - - *455 - - *573 + - *438 + - *439 + - *557 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -81746,7 +80872,7 @@ paths: schema: type: integer example: 1 - - *574 + - *558 - *17 - *19 responses: @@ -81764,7 +80890,7 @@ paths: type: integer check_suites: type: array - items: *527 + items: *511 examples: default: value: @@ -81964,9 +81090,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: - - *454 - - *455 - - *573 + - *438 + - *439 + - *557 - *17 - *19 responses: @@ -82037,7 +81163,7 @@ paths: type: string total_count: type: integer - repository: *273 + repository: *263 commit_url: type: string format: uri @@ -82168,9 +81294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *454 - - *455 - - *573 + - *438 + - *439 + - *557 - *17 - *19 responses: @@ -82180,7 +81306,7 @@ paths: application/json: schema: type: array - items: &743 + items: &727 title: Status description: The status of a commit. type: object @@ -82261,7 +81387,7 @@ paths: site_admin: false headers: Link: *41 - '301': *466 + '301': *450 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82289,8 +81415,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -82323,11 +81449,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *577 + - *561 code_of_conduct_file: anyOf: - type: 'null' - - &578 + - &562 title: Community Health File type: object properties: @@ -82347,19 +81473,19 @@ paths: contributing: anyOf: - type: 'null' - - *578 + - *562 readme: anyOf: - type: 'null' - - *578 + - *562 issue_template: anyOf: - type: 'null' - - *578 + - *562 pull_request_template: anyOf: - type: 'null' - - *578 + - *562 required: - code_of_conduct - code_of_conduct_file @@ -82488,8 +81614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *454 - - *455 + - *438 + - *439 - *19 - *17 - name: basehead @@ -82537,8 +81663,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *568 - merge_base_commit: *568 + base_commit: *552 + merge_base_commit: *552 status: type: string enum: @@ -82562,10 +81688,10 @@ paths: - 6 commits: type: array - items: *568 + items: *552 files: type: array - items: *579 + items: *563 required: - url - html_url @@ -82851,8 +81977,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *454 - - *455 + - *438 + - *439 - name: path description: path parameter in: path @@ -83005,7 +82131,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &580 + response-if-content-is-a-file: &564 summary: Response if content is a file value: type: file @@ -83142,7 +82268,7 @@ paths: - size - type - url - - &694 + - &678 title: Content File description: Content File type: object @@ -83360,7 +82486,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *580 + response-if-content-is-a-file: *564 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -83429,7 +82555,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *581 + '302': *565 '304': *35 x-github: githubCloudOnly: false @@ -83452,8 +82578,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *454 - - *455 + - *438 + - *439 - name: path description: path parameter in: path @@ -83548,7 +82674,7 @@ paths: description: Response content: application/json: - schema: &582 + schema: &566 title: File Commit description: File Commit type: object @@ -83704,7 +82830,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *566 examples: example-for-creating-a-file: value: @@ -83758,7 +82884,7 @@ paths: schema: oneOf: - *3 - - &621 + - &605 description: Repository rule violation was detected type: object properties: @@ -83779,7 +82905,7 @@ paths: items: type: object properties: - placeholder_id: &735 + placeholder_id: &719 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -83811,8 +82937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *454 - - *455 + - *438 + - *439 - name: path description: path parameter in: path @@ -83873,7 +82999,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *566 examples: default: value: @@ -83928,8 +83054,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *454 - - *455 + - *438 + - *439 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -84053,22 +83179,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *454 - - *455 - - *322 - - *323 - - *324 - - *325 + - *438 + - *439 + - *312 + - *313 + - *314 + - *315 - 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 - - *326 - - *583 - - *327 - - *328 + - *316 + - *567 + - *317 + - *318 - *104 - name: per_page description: The number of results per page (max 100). For more information, @@ -84087,7 +83213,7 @@ paths: application/json: schema: type: array - items: &586 + items: &570 type: object description: A Dependabot alert. properties: @@ -84137,7 +83263,7 @@ paths: - direct - transitive - - security_advisory: *584 + security_advisory: *568 security_vulnerability: *123 url: *124 html_url: *125 @@ -84168,7 +83294,7 @@ paths: dismissal. maxLength: 280 fixed_at: *129 - auto_dismissed_at: *585 + auto_dismissed_at: *569 required: - number - state @@ -84398,9 +83524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *454 - - *455 - - &587 + - *438 + - *439 + - &571 name: alert_number in: path description: |- @@ -84415,7 +83541,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *570 examples: default: value: @@ -84528,9 +83654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *454 - - *455 - - *587 + - *438 + - *439 + - *571 requestBody: required: true content: @@ -84575,7 +83701,7 @@ paths: description: Response content: application/json: - schema: *586 + schema: *570 examples: default: value: @@ -84704,8 +83830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -84723,7 +83849,7 @@ paths: type: integer secrets: type: array - items: &590 + items: &574 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -84777,16 +83903,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *588 + schema: *572 examples: - default: *589 + default: *573 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84806,15 +83932,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '200': description: Response content: application/json: - schema: *590 + schema: *574 examples: default: value: @@ -84840,9 +83966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 requestBody: required: true content: @@ -84870,7 +83996,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -84894,9 +84020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *454 - - *455 - - *283 + - *438 + - *439 + - *273 responses: '204': description: Response @@ -84918,8 +84044,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: - - *454 - - *455 + - *438 + - *439 - 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 @@ -85093,8 +84219,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -85354,8 +84480,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -85438,7 +84564,7 @@ paths: - version - url additionalProperties: false - metadata: &591 + metadata: &575 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -85477,7 +84603,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *591 + metadata: *575 resolved: type: object description: A collection of resolved package dependencies. @@ -85491,7 +84617,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *591 + metadata: *575 relationship: type: string description: A notation of whether a dependency is requested @@ -85624,8 +84750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *454 - - *455 + - *438 + - *439 - name: sha description: The SHA recorded at creation time. in: query @@ -85666,9 +84792,9 @@ paths: application/json: schema: type: array - items: *592 + items: *576 examples: - default: *593 + default: *577 headers: Link: *41 x-github: @@ -85734,8 +84860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -85817,7 +84943,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *576 examples: simple-example: summary: Simple example @@ -85890,9 +85016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *454 - - *455 - - &594 + - *438 + - *439 + - &578 name: deployment_id description: deployment_id parameter in: path @@ -85904,7 +85030,7 @@ paths: description: Response content: application/json: - schema: *592 + schema: *576 examples: default: value: @@ -85969,9 +85095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 responses: '204': description: Response @@ -85993,9 +85119,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 - *17 - *19 responses: @@ -86005,7 +85131,7 @@ paths: application/json: schema: type: array - items: &595 + items: &579 title: Deployment Status description: The status of a deployment. type: object @@ -86169,9 +85295,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 requestBody: required: true content: @@ -86246,9 +85372,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *579 examples: - default: &596 + default: &580 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -86304,9 +85430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *454 - - *455 - - *594 + - *438 + - *439 + - *578 - name: status_id in: path required: true @@ -86317,9 +85443,9 @@ paths: description: Response content: application/json: - schema: *595 + schema: *579 examples: - default: *596 + default: *580 '404': *6 x-github: githubCloudOnly: false @@ -86346,12 +85472,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 - - *597 - - *598 - - *599 - - *600 + - *438 + - *439 + - *581 + - *582 + - *583 + - *584 - *17 - *19 responses: @@ -86361,9 +85487,9 @@ paths: application/json: schema: type: array - items: *601 + items: *585 examples: - default: *602 + default: *586 '404': *6 '403': *27 '500': *38 @@ -86387,8 +85513,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86400,7 +85526,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *601 + schema: *585 examples: default: value: @@ -86456,8 +85582,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86516,12 +85642,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - *97 - *98 - *99 - - *603 + - *587 - *17 - *19 responses: @@ -86531,9 +85657,9 @@ paths: application/json: schema: type: array - items: *604 + items: *588 examples: - default: *605 + default: *589 '404': *6 '403': *27 '500': *38 @@ -86558,8 +85684,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86571,7 +85697,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *604 + schema: *588 examples: default: value: @@ -86629,8 +85755,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: alert_number in: path required: true @@ -86699,8 +85825,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -86757,8 +85883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -86776,7 +85902,7 @@ paths: - 5 environments: type: array - items: &607 + items: &591 title: Environment description: Details of a deployment environment type: object @@ -86838,7 +85964,7 @@ paths: type: string examples: - wait_timer - wait_timer: &609 + wait_timer: &593 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -86880,11 +86006,11 @@ paths: items: type: object properties: - type: *606 + type: *590 reviewer: anyOf: - *4 - - *302 + - *292 required: - id - node_id @@ -86907,7 +86033,7 @@ paths: - id - node_id - type - deployment_branch_policy: &610 + deployment_branch_policy: &594 type: - object - 'null' @@ -87024,9 +86150,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *454 - - *455 - - &608 + - *438 + - *439 + - &592 name: environment_name in: path required: true @@ -87039,9 +86165,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *591 examples: - default: &611 + default: &595 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -87125,9 +86251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 requestBody: required: false content: @@ -87137,7 +86263,7 @@ paths: - object - 'null' properties: - wait_timer: *609 + wait_timer: *593 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -87156,14 +86282,14 @@ paths: items: type: object properties: - type: *606 + type: *590 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *610 + deployment_branch_policy: *594 additionalProperties: false examples: default: @@ -87183,9 +86309,9 @@ paths: description: Response content: application/json: - schema: *607 + schema: *591 examples: - default: *611 + default: *595 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -87209,9 +86335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 responses: '204': description: Default response @@ -87236,9 +86362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 - *17 - *19 responses: @@ -87257,7 +86383,7 @@ paths: - 2 branch_policies: type: array - items: &612 + items: &596 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -87318,9 +86444,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 requestBody: required: true content: @@ -87368,9 +86494,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *596 examples: - example-wildcard: &613 + example-wildcard: &597 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -87412,10 +86538,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 - - &614 + - *438 + - *439 + - *592 + - &598 name: branch_policy_id in: path required: true @@ -87427,9 +86553,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *596 examples: - default: *613 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87448,10 +86574,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 - - *614 + - *438 + - *439 + - *592 + - *598 requestBody: required: true content: @@ -87480,9 +86606,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *596 examples: - default: *613 + default: *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87501,10 +86627,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *454 - - *455 - - *608 - - *614 + - *438 + - *439 + - *592 + - *598 responses: '204': description: Response @@ -87529,9 +86655,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: - - *608 - - *455 - - *454 + - *592 + - *439 + - *438 responses: '200': description: List of deployment protection rules @@ -87548,7 +86674,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &615 + items: &599 title: Deployment protection rule description: Deployment protection rule type: object @@ -87570,7 +86696,7 @@ paths: for the environment. examples: - true - app: &616 + app: &600 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -87673,9 +86799,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: - - *608 - - *455 - - *454 + - *592 + - *439 + - *438 requestBody: content: application/json: @@ -87696,9 +86822,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *615 + schema: *599 examples: - default: &617 + default: &601 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -87733,9 +86859,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: - - *608 - - *455 - - *454 + - *592 + - *439 + - *438 - *19 - *17 responses: @@ -87755,7 +86881,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *616 + items: *600 examples: default: value: @@ -87790,10 +86916,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: - - *454 - - *455 - - *608 - - &618 + - *438 + - *439 + - *592 + - &602 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -87805,9 +86931,9 @@ paths: description: Response content: application/json: - schema: *615 + schema: *599 examples: - default: *617 + default: *601 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87828,10 +86954,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: - - *608 - - *455 - - *454 - - *618 + - *592 + - *439 + - *438 + - *602 responses: '204': description: Response @@ -87857,9 +86983,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 - *17 - *19 responses: @@ -87877,9 +87003,9 @@ paths: type: integer secrets: type: array - items: *489 + items: *473 examples: - default: *490 + default: *474 headers: Link: *41 x-github: @@ -87904,17 +87030,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 responses: '200': description: Response content: application/json: - schema: *491 + schema: *475 examples: - default: *492 + default: *476 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87936,18 +87062,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *454 - - *455 - - *608 - - *283 + - *438 + - *439 + - *592 + - *273 responses: '200': description: Response content: application/json: - schema: *489 + schema: *473 examples: - default: *619 + default: *603 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87969,10 +87095,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *454 - - *455 - - *608 - - *283 + - *438 + - *439 + - *592 + - *273 requestBody: required: true content: @@ -88003,7 +87129,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -88029,10 +87155,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *454 - - *455 - - *608 - - *283 + - *438 + - *439 + - *592 + - *273 responses: '204': description: Default response @@ -88057,10 +87183,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *454 - - *455 - - *608 - - *476 + - *438 + - *439 + - *592 + - *460 - *19 responses: '200': @@ -88077,9 +87203,9 @@ paths: type: integer variables: type: array - items: *493 + items: *477 examples: - default: *494 + default: *478 headers: Link: *41 x-github: @@ -88102,9 +87228,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *454 - - *455 - - *608 + - *438 + - *439 + - *592 requestBody: required: true content: @@ -88131,7 +87257,7 @@ paths: description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -88156,18 +87282,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *454 - - *455 - - *608 - - *286 + - *438 + - *439 + - *592 + - *276 responses: '200': description: Response content: application/json: - schema: *493 + schema: *477 examples: - default: *620 + default: *604 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88188,10 +87314,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *454 - - *455 - - *286 - - *608 + - *438 + - *439 + - *276 + - *592 requestBody: required: true content: @@ -88233,10 +87359,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *454 - - *455 - - *286 - - *608 + - *438 + - *439 + - *276 + - *592 responses: '204': description: Response @@ -88258,8 +87384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -88327,8 +87453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *454 - - *455 + - *438 + - *439 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -88350,7 +87476,7 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: default: value: @@ -88487,8 +87613,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -88521,9 +87647,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 '400': *14 '422': *15 '403': *27 @@ -88544,8 +87670,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -88604,8 +87730,8 @@ paths: application/json: schema: oneOf: - - *248 - - *621 + - *238 + - *605 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88630,8 +87756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *454 - - *455 + - *438 + - *439 - name: file_sha in: path required: true @@ -88731,8 +87857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -88841,7 +87967,7 @@ paths: description: Response content: application/json: - schema: &622 + schema: &606 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -89068,15 +88194,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *454 - - *455 - - *569 + - *438 + - *439 + - *553 responses: '200': description: Response content: application/json: - schema: *622 + schema: *606 examples: default: value: @@ -89132,9 +88258,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *454 - - *455 - - &623 + - *438 + - *439 + - &607 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. @@ -89151,7 +88277,7 @@ paths: application/json: schema: type: array - items: &624 + items: &608 title: Git Reference description: Git references within a repository type: object @@ -89227,17 +88353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *454 - - *455 - - *623 + - *438 + - *439 + - *607 responses: '200': description: Response content: application/json: - schema: *624 + schema: *608 examples: - default: &625 + default: &609 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -89266,8 +88392,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -89296,9 +88422,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *608 examples: - default: *625 + default: *609 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -89324,9 +88450,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *454 - - *455 - - *623 + - *438 + - *439 + - *607 requestBody: required: true content: @@ -89355,9 +88481,9 @@ paths: description: Response content: application/json: - schema: *624 + schema: *608 examples: - default: *625 + default: *609 '422': *15 '409': *112 x-github: @@ -89375,9 +88501,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *454 - - *455 - - *623 + - *438 + - *439 + - *607 responses: '204': description: Response @@ -89432,8 +88558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -89500,7 +88626,7 @@ paths: description: Response content: application/json: - schema: &627 + schema: &611 title: Git Tag description: Metadata for a Git tag type: object @@ -89556,7 +88682,7 @@ paths: - sha - type - url - verification: *626 + verification: *610 required: - sha - url @@ -89566,7 +88692,7 @@ paths: - tag - message examples: - default: &628 + default: &612 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -89639,8 +88765,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *454 - - *455 + - *438 + - *439 - name: tag_sha in: path required: true @@ -89651,9 +88777,9 @@ paths: description: Response content: application/json: - schema: *627 + schema: *611 examples: - default: *628 + default: *612 '404': *6 '409': *112 x-github: @@ -89677,8 +88803,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -89752,7 +88878,7 @@ paths: description: Response content: application/json: - schema: &629 + schema: &613 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -89854,8 +88980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *454 - - *455 + - *438 + - *439 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -89878,7 +89004,7 @@ paths: description: Response content: application/json: - schema: *629 + schema: *613 examples: default-response: summary: Default response @@ -89937,8 +89063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -89948,7 +89074,7 @@ paths: application/json: schema: type: array - items: &630 + items: &614 title: Webhook description: Webhooks for repositories. type: object @@ -90011,7 +89137,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &876 + last_response: &860 title: Hook Response type: object properties: @@ -90088,8 +89214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -90142,9 +89268,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: &631 + default: &615 value: type: Repository id: 12345678 @@ -90192,17 +89318,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '200': description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: *631 + default: *615 '404': *6 x-github: githubCloudOnly: false @@ -90222,9 +89348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 requestBody: required: true content: @@ -90269,9 +89395,9 @@ paths: description: Response content: application/json: - schema: *630 + schema: *614 examples: - default: *631 + default: *615 '422': *15 '404': *6 x-github: @@ -90292,9 +89418,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '204': description: Response @@ -90318,9 +89444,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '200': description: Response @@ -90347,9 +89473,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 requestBody: required: false content: @@ -90393,11 +89519,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 - *17 - - *335 + - *325 responses: '200': description: Response @@ -90405,9 +89531,9 @@ paths: application/json: schema: type: array - items: *336 + items: *326 examples: - default: *337 + default: *327 '400': *14 '422': *15 x-github: @@ -90426,18 +89552,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 - *16 responses: '200': description: Response content: application/json: - schema: *338 + schema: *328 examples: - default: *339 + default: *329 '400': *14 '422': *15 x-github: @@ -90456,9 +89582,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: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 - *16 responses: '202': *37 @@ -90481,9 +89607,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '204': description: Response @@ -90508,9 +89634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *454 - - *455 - - *334 + - *438 + - *439 + - *324 responses: '204': description: Response @@ -90533,8 +89659,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response if immutable releases are enabled @@ -90582,8 +89708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-immutable-releases parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '409': *112 @@ -90603,8 +89729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-immutable-releases parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '409': *112 @@ -90661,14 +89787,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: &632 + schema: &616 title: Import description: A repository import from an external source. type: object @@ -90775,7 +89901,7 @@ paths: - html_url - authors_url examples: - default: &635 + default: &619 value: vcs: subversion use_lfs: true @@ -90791,7 +89917,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': &633 + '503': &617 description: Unavailable due to service under maintenance. content: application/json: @@ -90820,8 +89946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -90869,7 +89995,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *616 examples: default: value: @@ -90894,7 +90020,7 @@ paths: type: string '422': *15 '404': *6 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90922,8 +90048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -90975,7 +90101,7 @@ paths: description: Response content: application/json: - schema: *632 + schema: *616 examples: example-1: summary: Example 1 @@ -91023,7 +90149,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': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91046,12 +90172,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91077,9 +90203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *454 - - *455 - - &819 + - *438 + - *439 + - &803 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -91093,7 +90219,7 @@ paths: application/json: schema: type: array - items: &634 + items: &618 title: Porter Author description: Porter Author type: object @@ -91147,7 +90273,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': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91172,8 +90298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *454 - - *455 + - *438 + - *439 - name: author_id in: path required: true @@ -91203,7 +90329,7 @@ paths: description: Response content: application/json: - schema: *634 + schema: *618 examples: default: value: @@ -91216,7 +90342,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91240,8 +90366,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -91282,7 +90408,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91310,8 +90436,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -91338,11 +90464,11 @@ paths: description: Response content: application/json: - schema: *632 + schema: *616 examples: - default: *635 + default: *619 '422': *15 - '503': *633 + '503': *617 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91365,8 +90491,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -91374,8 +90500,8 @@ paths: application/json: schema: *20 examples: - default: *636 - '301': *466 + default: *620 + '301': *450 '404': *6 x-github: githubCloudOnly: false @@ -91395,8 +90521,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -91404,12 +90530,12 @@ paths: application/json: schema: anyOf: - - *352 + - *342 - type: object properties: {} additionalProperties: false examples: - default: &638 + default: &622 value: limit: collaborators_only origin: repository @@ -91434,13 +90560,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: application/json: - schema: *637 + schema: *621 examples: default: summary: Example request body @@ -91452,9 +90578,9 @@ paths: description: Response content: application/json: - schema: *352 + schema: *342 examples: - default: *638 + default: *622 '409': description: Response x-github: @@ -91476,8 +90602,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -91500,8 +90626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -91511,9 +90637,9 @@ paths: application/json: schema: type: array - items: *639 + items: *623 examples: - default: &812 + default: &796 value: - id: 1 repository: @@ -91644,9 +90770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *454 - - *455 - - *356 + - *438 + - *439 + - *346 requestBody: required: false content: @@ -91675,7 +90801,7 @@ paths: description: Response content: application/json: - schema: *639 + schema: *623 examples: default: value: @@ -91806,9 +90932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *454 - - *455 - - *356 + - *438 + - *439 + - *346 responses: '204': description: Response @@ -91839,8 +90965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *454 - - *455 + - *438 + - *439 - 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 @@ -91888,7 +91014,7 @@ paths: required: false schema: type: string - - *360 + - *350 - name: sort description: What to sort results by. in: query @@ -91913,7 +91039,7 @@ paths: type: array items: *219 examples: - default: &647 + default: &631 value: - id: 1 node_id: MDU6SXNzdWUx @@ -92061,7 +91187,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *466 + '301': *450 '422': *15 '404': *6 x-github: @@ -92090,8 +91216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -92183,7 +91309,7 @@ paths: application/json: schema: *219 examples: - default: &644 + default: &628 value: id: 1 node_id: MDU6SXNzdWUx @@ -92339,7 +91465,7 @@ paths: '422': *15 '503': *184 '404': *6 - '410': *640 + '410': *624 x-github: triggersNotification: true githubCloudOnly: false @@ -92367,8 +91493,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *228 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -92389,9 +91515,9 @@ paths: application/json: schema: type: array - items: *641 + items: *625 examples: - default: &646 + default: &630 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92449,17 +91575,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '200': description: Response content: application/json: - schema: *641 + schema: *625 examples: - default: &642 + default: &626 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -92513,8 +91639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -92537,9 +91663,9 @@ paths: description: Response content: application/json: - schema: *641 + schema: *625 examples: - default: *642 + default: *626 '422': *15 x-github: githubCloudOnly: false @@ -92557,8 +91683,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 responses: '204': @@ -92579,8 +91705,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -92607,9 +91733,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -92630,8 +91756,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -92664,16 +91790,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -92695,10 +91821,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *454 - - *455 + - *438 + - *439 - *218 - - *446 + - *430 responses: '204': description: Response @@ -92718,8 +91844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -92729,7 +91855,7 @@ paths: application/json: schema: type: array - items: &643 + items: &627 title: Issue Event description: Issue Event type: object @@ -92809,7 +91935,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *302 + requested_team: *292 dismissed_review: title: Issue Event Dismissed Review type: object @@ -93068,8 +92194,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *454 - - *455 + - *438 + - *439 - name: event_id in: path required: true @@ -93080,7 +92206,7 @@ paths: description: Response content: application/json: - schema: *643 + schema: *627 examples: default: value: @@ -93273,7 +92399,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *640 + '410': *624 '403': *27 x-github: githubCloudOnly: false @@ -93307,9 +92433,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *454 - - *455 - - &645 + - *438 + - *439 + - &629 name: issue_number description: The number that identifies the issue. in: path @@ -93323,10 +92449,10 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *466 + default: *628 + '301': *450 '404': *6 - '410': *640 + '410': *624 '304': *35 x-github: githubCloudOnly: false @@ -93351,9 +92477,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -93474,13 +92600,13 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 '422': *15 '503': *184 '403': *27 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93498,9 +92624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -93528,7 +92654,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93544,9 +92670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: content: application/json: @@ -93573,7 +92699,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93595,9 +92721,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - name: assignee in: path required: true @@ -93637,9 +92763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *209 - *17 - *19 @@ -93650,13 +92776,13 @@ paths: application/json: schema: type: array - items: *641 + items: *625 examples: - default: *646 + default: *630 headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93685,9 +92811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -93709,16 +92835,16 @@ paths: description: Response content: application/json: - schema: *641 + schema: *625 examples: - default: *642 + default: *626 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *640 + '410': *624 '422': *15 '404': *6 x-github: @@ -93746,9 +92872,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -93760,12 +92886,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *631 headers: Link: *41 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93793,9 +92919,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -93819,15 +92945,15 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *466 + '301': *450 '403': *27 - '410': *640 + '410': *624 '422': *15 '404': *6 x-github: @@ -93858,9 +92984,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -93874,13 +93000,13 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *466 + default: *628 + '301': *450 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *640 + '410': *624 x-github: triggersNotification: true githubCloudOnly: false @@ -93906,9 +93032,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: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -93920,12 +93046,12 @@ paths: type: array items: *219 examples: - default: *647 + default: *631 headers: Link: *41 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93942,9 +93068,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -93958,7 +93084,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &650 + - &634 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -94007,7 +93133,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &651 + - &635 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -94135,7 +93261,7 @@ paths: - performed_via_github_app - assignee - assigner - - &652 + - &636 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -94181,7 +93307,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &653 + - &637 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -94227,7 +93353,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &654 + - &638 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -94276,7 +93402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &655 + - &639 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -94305,7 +93431,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *302 + requested_team: *292 requested_reviewer: *4 required: - review_requester @@ -94318,7 +93444,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &656 + - &640 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -94347,7 +93473,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *302 + requested_team: *292 requested_reviewer: *4 required: - review_requester @@ -94360,7 +93486,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &657 + - &641 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -94416,7 +93542,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &658 + - &642 title: Locked Issue Event description: Locked Issue Event type: object @@ -94461,7 +93587,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &659 + - &643 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -94522,7 +93648,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &660 + - &644 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -94583,7 +93709,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &661 + - &645 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -94644,7 +93770,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &662 + - &646 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -94737,7 +93863,7 @@ paths: color: red headers: Link: *41 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94754,9 +93880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -94766,7 +93892,7 @@ paths: application/json: schema: type: array - items: &648 + items: &632 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -94821,7 +93947,7 @@ paths: - color - default examples: - default: &649 + default: &633 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -94839,9 +93965,9 @@ paths: default: false headers: Link: *41 - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94858,9 +93984,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -94919,12 +94045,12 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 - '301': *466 + default: *633 + '301': *450 '404': *6 - '410': *640 + '410': *624 '422': *15 x-github: githubCloudOnly: false @@ -94941,9 +94067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -95003,12 +94129,12 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 - '301': *466 + default: *633 + '301': *450 '404': *6 - '410': *640 + '410': *624 '422': *15 x-github: githubCloudOnly: false @@ -95025,15 +94151,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 responses: '204': description: Response - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95052,9 +94178,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - name: name in: path required: true @@ -95067,7 +94193,7 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: default: value: @@ -95078,9 +94204,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *466 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95100,9 +94226,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: false content: @@ -95131,7 +94257,7 @@ paths: '204': description: Response '403': *27 - '410': *640 + '410': *624 '404': *6 '422': *15 x-github: @@ -95149,9 +94275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 responses: '204': description: Response @@ -95181,9 +94307,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 responses: '200': description: Response @@ -95191,10 +94317,10 @@ paths: application/json: schema: *219 examples: - default: *644 - '301': *466 + default: *628 + '301': *450 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95211,9 +94337,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - 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. @@ -95239,13 +94365,13 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95263,9 +94389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95297,16 +94423,16 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -95328,10 +94454,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *454 - - *455 - - *645 - - *446 + - *438 + - *439 + - *629 + - *430 responses: '204': description: Response @@ -95360,9 +94486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95386,7 +94512,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -95419,9 +94545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -95433,11 +94559,11 @@ paths: type: array items: *219 examples: - default: *647 + default: *631 headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95465,9 +94591,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95496,14 +94622,14 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *640 + '410': *624 '422': *15 '404': *6 x-github: @@ -95523,9 +94649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 requestBody: required: true content: @@ -95558,7 +94684,7 @@ paths: application/json: schema: *219 examples: - default: *644 + default: *628 '403': *27 '404': *6 '422': *7 @@ -95580,9 +94706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *454 - - *455 - - *645 + - *438 + - *439 + - *629 - *17 - *19 responses: @@ -95597,19 +94723,19 @@ paths: description: Timeline Event type: object anyOf: - - *650 - - *651 - - *652 - - *653 - - *654 - - *655 - - *656 - - *657 - - *658 - - *659 - - *660 - - *661 - - *662 + - *634 + - *635 + - *636 + - *637 + - *638 + - *639 + - *640 + - *641 + - *642 + - *643 + - *644 + - *645 + - *646 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -95938,7 +95064,7 @@ paths: type: string comments: type: array - items: &683 + items: &667 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -96176,7 +95302,7 @@ paths: type: string comments: type: array - items: *567 + items: *551 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -96451,7 +95577,7 @@ paths: headers: Link: *41 '404': *6 - '410': *640 + '410': *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96468,8 +95594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -96479,7 +95605,7 @@ paths: application/json: schema: type: array - items: &663 + items: &647 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -96547,8 +95673,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -96584,9 +95710,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *647 examples: - default: &664 + default: &648 value: id: 1 key: ssh-rsa AAA... @@ -96620,9 +95746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *454 - - *455 - - &665 + - *438 + - *439 + - &649 name: key_id description: The unique identifier of the key. in: path @@ -96634,9 +95760,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *647 examples: - default: *664 + default: *648 '404': *6 x-github: githubCloudOnly: false @@ -96654,9 +95780,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *454 - - *455 - - *665 + - *438 + - *439 + - *649 responses: '204': description: Response @@ -96676,8 +95802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -96687,9 +95813,9 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 + default: *633 headers: Link: *41 '404': *6 @@ -96710,8 +95836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -96747,9 +95873,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *632 examples: - default: &666 + default: &650 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -96781,8 +95907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *454 - - *455 + - *438 + - *439 - name: name in: path required: true @@ -96793,9 +95919,9 @@ paths: description: Response content: application/json: - schema: *648 + schema: *632 examples: - default: *666 + default: *650 '404': *6 x-github: githubCloudOnly: false @@ -96812,8 +95938,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *454 - - *455 + - *438 + - *439 - name: name in: path required: true @@ -96852,7 +95978,7 @@ paths: description: Response content: application/json: - schema: *648 + schema: *632 examples: default: value: @@ -96878,8 +96004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *454 - - *455 + - *438 + - *439 - name: name in: path required: true @@ -96905,8 +96031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -96942,8 +96068,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '202': *37 '403': @@ -96971,8 +96097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -96998,9 +96124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *454 - - *455 - - *545 + - *438 + - *439 + - *529 responses: '200': description: Response @@ -97147,8 +96273,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97213,8 +96339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97248,9 +96374,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *568 + schema: *552 examples: - default: *667 + default: *651 '204': description: Response when already merged '404': @@ -97275,8 +96401,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *454 - - *455 + - *438 + - *439 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -97317,7 +96443,7 @@ paths: application/json: schema: type: array - items: *391 + items: *381 examples: default: value: @@ -97373,8 +96499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97414,9 +96540,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: &668 + default: &652 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -97475,9 +96601,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *454 - - *455 - - &669 + - *438 + - *439 + - &653 name: milestone_number description: The number that identifies the milestone. in: path @@ -97489,9 +96615,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *668 + default: *652 '404': *6 x-github: githubCloudOnly: false @@ -97508,9 +96634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *454 - - *455 - - *669 + - *438 + - *439 + - *653 requestBody: required: false content: @@ -97548,9 +96674,9 @@ paths: description: Response content: application/json: - schema: *391 + schema: *381 examples: - default: *668 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -97566,9 +96692,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *454 - - *455 - - *669 + - *438 + - *439 + - *653 responses: '204': description: Response @@ -97589,9 +96715,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: - - *454 - - *455 - - *669 + - *438 + - *439 + - *653 - *17 - *19 responses: @@ -97601,9 +96727,9 @@ paths: application/json: schema: type: array - items: *648 + items: *632 examples: - default: *649 + default: *633 headers: Link: *41 x-github: @@ -97622,12 +96748,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: - - *454 - - *455 - - *670 - - *671 + - *438 + - *439 + - *654 + - *655 - *209 - - *672 + - *656 - *17 - *19 responses: @@ -97639,7 +96765,7 @@ paths: type: array items: *231 examples: - default: *673 + default: *657 headers: Link: *41 x-github: @@ -97663,8 +96789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -97722,14 +96848,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: &674 + schema: &658 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -97873,7 +96999,7 @@ paths: - custom_404 - public examples: - default: &675 + default: &659 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -97914,8 +97040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -97970,9 +97096,9 @@ paths: description: Response content: application/json: - schema: *674 + schema: *658 examples: - default: *675 + default: *659 '422': *15 '409': *112 x-github: @@ -97995,8 +97121,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -98104,8 +97230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -98131,8 +97257,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -98142,7 +97268,7 @@ paths: application/json: schema: type: array - items: &676 + items: &660 title: Page Build description: Page Build type: object @@ -98234,8 +97360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *454 - - *455 + - *438 + - *439 responses: '201': description: Response @@ -98282,16 +97408,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *676 + schema: *660 examples: - default: &677 + default: &661 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -98339,8 +97465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *454 - - *455 + - *438 + - *439 - name: build_id in: path required: true @@ -98351,9 +97477,9 @@ paths: description: Response content: application/json: - schema: *676 + schema: *660 examples: - default: *677 + default: *661 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -98373,8 +97499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -98482,9 +97608,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: - - *454 - - *455 - - &678 + - *438 + - *439 + - &662 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -98542,9 +97668,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *454 - - *455 - - *678 + - *438 + - *439 + - *662 responses: '204': *144 '404': *6 @@ -98571,8 +97697,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -98840,7 +97966,7 @@ paths: description: Empty response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -98867,8 +97993,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Private vulnerability reporting status @@ -98905,8 +98031,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: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '422': *14 @@ -98927,8 +98053,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: - - *454 - - *455 + - *438 + - *439 responses: '204': *144 '422': *14 @@ -98950,8 +98076,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -98961,7 +98087,7 @@ paths: type: array items: *145 examples: - default: *679 + default: *663 '403': *27 '404': *6 x-github: @@ -98983,8 +98109,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -99000,7 +98126,7 @@ paths: required: - properties examples: - default: *680 + default: *664 responses: '204': description: No Content when custom property values are successfully created @@ -99038,8 +98164,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *454 - - *455 + - *438 + - *439 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -99099,9 +98225,9 @@ paths: application/json: schema: type: array - items: *572 + items: *556 examples: - default: *681 + default: *665 headers: Link: *41 '304': *35 @@ -99133,8 +98259,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -99201,7 +98327,7 @@ paths: description: Response content: application/json: - schema: &685 + schema: &669 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -99330,7 +98456,7 @@ paths: milestone: anyOf: - type: 'null' - - *391 + - *381 active_lock_reason: type: - string @@ -99385,7 +98511,7 @@ paths: type: - array - 'null' - items: *370 + items: *360 head: type: object properties: @@ -99423,14 +98549,14 @@ paths: _links: type: object properties: - comments: *392 - commits: *392 - statuses: *392 - html: *392 - issue: *392 - review_comments: *392 - review_comment: *392 - self: *392 + comments: *382 + commits: *382 + statuses: *382 + html: *382 + issue: *382 + review_comments: *382 + review_comment: *382 + self: *382 required: - comments - commits @@ -99441,7 +98567,7 @@ paths: - review_comment - self author_association: *206 - auto_merge: *682 + auto_merge: *666 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -99543,7 +98669,7 @@ paths: - merged_by - review_comments examples: - default: &686 + default: &670 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -100070,8 +99196,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *454 - - *455 + - *438 + - *439 - name: sort in: query required: false @@ -100100,9 +99226,9 @@ paths: application/json: schema: type: array - items: *683 + items: *667 examples: - default: &688 + default: &672 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100179,17 +99305,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: - - *454 - - *455 + - *438 + - *439 - *218 responses: '200': description: Response content: application/json: - schema: *683 + schema: *667 examples: - default: &684 + default: &668 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -100264,8 +99390,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: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -100288,9 +99414,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *667 examples: - default: *684 + default: *668 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100306,8 +99432,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: - - *454 - - *455 + - *438 + - *439 - *218 responses: '204': @@ -100329,8 +99455,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: - - *454 - - *455 + - *438 + - *439 - *218 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -100357,9 +99483,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -100380,8 +99506,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: - - *454 - - *455 + - *438 + - *439 - *218 requestBody: required: true @@ -100414,16 +99540,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -100445,10 +99571,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *454 - - *455 + - *438 + - *439 - *218 - - *446 + - *430 responses: '204': description: Response @@ -100491,9 +99617,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *454 - - *455 - - &687 + - *438 + - *439 + - &671 name: pull_number description: The number that identifies the pull request. in: path @@ -100506,9 +99632,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *685 + schema: *669 examples: - default: *686 + default: *670 '304': *35 '404': *6 '406': @@ -100543,9 +99669,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -100587,9 +99713,9 @@ paths: description: Response content: application/json: - schema: *685 + schema: *669 examples: - default: *686 + default: *670 '422': *15 '403': *27 x-github: @@ -100611,9 +99737,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: true content: @@ -100674,17 +99800,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '401': *23 '403': *27 '404': *6 @@ -100714,9 +99840,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *228 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -100737,9 +99863,9 @@ paths: application/json: schema: type: array - items: *683 + items: *667 examples: - default: *688 + default: *672 headers: Link: *41 x-github: @@ -100772,9 +99898,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: true content: @@ -100880,7 +100006,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *667 examples: example-for-a-multi-line-comment: value: @@ -100968,9 +100094,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *218 requestBody: required: true @@ -100993,7 +100119,7 @@ paths: description: Response content: application/json: - schema: *683 + schema: *667 examples: default: value: @@ -101079,9 +100205,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *17 - *19 responses: @@ -101091,9 +100217,9 @@ paths: application/json: schema: type: array - items: *568 + items: *552 examples: - default: *689 + default: *673 headers: Link: *41 x-github: @@ -101123,9 +100249,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *17 - *19 responses: @@ -101135,7 +100261,7 @@ paths: application/json: schema: type: array - items: *579 + items: *563 examples: default: value: @@ -101173,9 +100299,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 responses: '204': description: Response if pull request has been merged @@ -101198,9 +100324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -101312,9 +100438,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 responses: '200': description: Response @@ -101330,7 +100456,7 @@ paths: items: *4 teams: type: array - items: *302 + items: *292 required: - users - teams @@ -101389,9 +100515,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -101428,7 +100554,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *556 examples: default: value: @@ -101964,9 +101090,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: true content: @@ -102000,7 +101126,7 @@ paths: description: Response content: application/json: - schema: *572 + schema: *556 examples: default: value: @@ -102505,9 +101631,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 - *17 - *19 responses: @@ -102517,7 +101643,7 @@ paths: application/json: schema: type: array - items: &690 + items: &674 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -102673,9 +101799,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: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -102765,9 +101891,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: &692 + default: &676 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102830,10 +101956,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: - - *454 - - *455 - - *687 - - &691 + - *438 + - *439 + - *671 + - &675 name: review_id description: The unique identifier of the review. in: path @@ -102845,9 +101971,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: &693 + default: &677 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -102906,10 +102032,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 requestBody: required: true content: @@ -102932,7 +102058,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: default: value: @@ -102994,18 +102120,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 responses: '200': description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: *692 + default: *676 '422': *7 '404': *6 x-github: @@ -103032,10 +102158,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 - *17 - *19 responses: @@ -103133,9 +102259,9 @@ paths: _links: type: object properties: - self: *392 - html: *392 - pull_request: *392 + self: *382 + html: *382 + pull_request: *382 required: - self - html @@ -103293,10 +102419,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 requestBody: required: true content: @@ -103325,7 +102451,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: default: value: @@ -103388,10 +102514,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: - - *454 - - *455 - - *687 - - *691 + - *438 + - *439 + - *671 + - *675 requestBody: required: true content: @@ -103426,9 +102552,9 @@ paths: description: Response content: application/json: - schema: *690 + schema: *674 examples: - default: *693 + default: *677 '404': *6 '422': *7 '403': *27 @@ -103450,9 +102576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *454 - - *455 - - *687 + - *438 + - *439 + - *671 requestBody: required: false content: @@ -103516,8 +102642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *454 - - *455 + - *438 + - *439 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -103530,9 +102656,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *678 examples: - default: &695 + default: &679 value: type: file encoding: base64 @@ -103574,8 +102700,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: - - *454 - - *455 + - *438 + - *439 - name: dir description: The alternate path to look for a README file in: path @@ -103595,9 +102721,9 @@ paths: description: Response content: application/json: - schema: *694 + schema: *678 examples: - default: *695 + default: *679 '404': *6 '422': *15 x-github: @@ -103619,8 +102745,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -103630,7 +102756,7 @@ paths: application/json: schema: type: array - items: &696 + items: &680 title: Release description: A release. type: object @@ -103712,7 +102838,7 @@ paths: author: *4 assets: type: array - items: &697 + items: &681 title: Release Asset description: Data related to a release. type: object @@ -103899,8 +103025,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -103976,9 +103102,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: &700 + default: &684 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -104083,9 +103209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *454 - - *455 - - &698 + - *438 + - *439 + - &682 name: asset_id description: The unique identifier of the asset. in: path @@ -104097,9 +103223,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *681 examples: - default: &699 + default: &683 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 @@ -104134,7 +103260,7 @@ paths: type: User site_admin: false '404': *6 - '302': *581 + '302': *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104150,9 +103276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *454 - - *455 - - *698 + - *438 + - *439 + - *682 requestBody: required: false content: @@ -104181,9 +103307,9 @@ paths: description: Response content: application/json: - schema: *697 + schema: *681 examples: - default: *699 + default: *683 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104199,9 +103325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *454 - - *455 - - *698 + - *438 + - *439 + - *682 responses: '204': description: Response @@ -104225,8 +103351,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -104312,16 +103438,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: *700 + default: *684 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104338,8 +103464,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *454 - - *455 + - *438 + - *439 - name: tag description: tag parameter in: path @@ -104352,9 +103478,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: *700 + default: *684 '404': *6 x-github: githubCloudOnly: false @@ -104376,9 +103502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *454 - - *455 - - &701 + - *438 + - *439 + - &685 name: release_id description: The unique identifier of the release. in: path @@ -104392,9 +103518,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: *696 + schema: *680 examples: - default: *700 + default: *684 '401': description: Unauthorized x-github: @@ -104412,9 +103538,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 requestBody: required: false content: @@ -104478,9 +103604,9 @@ paths: description: Response content: application/json: - schema: *696 + schema: *680 examples: - default: *700 + default: *684 '404': description: Not Found if the discussion category name is invalid content: @@ -104501,9 +103627,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 responses: '204': description: Response @@ -104523,9 +103649,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 - *17 - *19 responses: @@ -104535,7 +103661,7 @@ paths: application/json: schema: type: array - items: *697 + items: *681 examples: default: value: @@ -104617,9 +103743,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: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 - name: name in: query required: true @@ -104645,7 +103771,7 @@ paths: description: Response for successful upload content: application/json: - schema: *697 + schema: *681 examples: response-for-successful-upload: value: @@ -104700,9 +103826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 - 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. @@ -104726,9 +103852,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 '404': *6 @@ -104749,9 +103875,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *454 - - *455 - - *701 + - *438 + - *439 + - *685 requestBody: required: true content: @@ -104781,16 +103907,16 @@ paths: description: Reaction exists content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '201': description: Reaction created content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 '422': *15 x-github: githubCloudOnly: false @@ -104812,10 +103938,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *454 - - *455 - - *701 - - *446 + - *438 + - *439 + - *685 + - *430 responses: '204': description: Response @@ -104839,9 +103965,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *454 - - *455 - - *511 + - *438 + - *439 + - *495 - *17 - *19 responses: @@ -104858,7 +103984,7 @@ paths: oneOf: - allOf: - *159 - - &702 + - &686 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -104879,67 +104005,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *160 - - *702 + - *686 - allOf: - *161 - - *702 + - *686 - allOf: - *162 - - *702 + - *686 - allOf: - - *703 - - *702 + - *687 + - *686 - allOf: - *163 - - *702 + - *686 - allOf: - *164 - - *702 + - *686 - allOf: - *165 - - *702 + - *686 - allOf: - *166 - - *702 + - *686 - allOf: - *167 - - *702 + - *686 - allOf: - *168 - - *702 + - *686 - allOf: - *169 - - *702 + - *686 - allOf: - *170 - - *702 + - *686 - allOf: - *171 - - *702 + - *686 - allOf: - *172 - - *702 + - *686 - allOf: - *173 - - *702 + - *686 - allOf: - *174 - - *702 + - *686 - allOf: - *175 - - *702 + - *686 - allOf: - *176 - - *702 + - *686 - allOf: - *177 - - *702 + - *686 - allOf: - *178 - - *702 + - *686 - allOf: - - *704 - - *702 + - *688 + - *686 examples: default: value: @@ -104978,8 +104104,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - name: includes_parents @@ -104990,7 +104116,7 @@ paths: schema: type: boolean default: true - - *705 + - *689 responses: '200': description: Response @@ -105045,8 +104171,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 requestBody: description: Request body required: true @@ -105075,7 +104201,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *706 + items: *690 required: - name - enforcement @@ -105108,7 +104234,7 @@ paths: application/json: schema: *179 examples: - default: &715 + default: &699 value: id: 42 name: super cool ruleset @@ -105155,12 +104281,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *454 - - *455 - - *707 + - *438 + - *439 + - *691 - *99 - - *708 - - *709 + - *692 + - *693 - *17 - *19 responses: @@ -105168,9 +104294,9 @@ paths: description: Response content: application/json: - schema: *710 + schema: *694 examples: - default: *711 + default: *695 '404': *6 '500': *38 x-github: @@ -105191,17 +104317,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *454 - - *455 - - *712 + - *438 + - *439 + - *696 responses: '200': description: Response content: application/json: - schema: *713 + schema: *697 examples: - default: *714 + default: *698 '404': *6 '500': *38 x-github: @@ -105229,8 +104355,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105252,7 +104378,7 @@ paths: application/json: schema: *179 examples: - default: *715 + default: *699 '404': *6 '500': *38 put: @@ -105270,8 +104396,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105305,7 +104431,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *706 + items: *690 examples: default: value: @@ -105335,7 +104461,7 @@ paths: application/json: schema: *179 examples: - default: *715 + default: *699 '404': *6 '500': *38 delete: @@ -105353,8 +104479,8 @@ paths: category: repos subcategory: rules parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105377,8 +104503,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 - name: ruleset_id @@ -105396,7 +104522,7 @@ paths: type: array items: *183 examples: - default: *407 + default: *397 '404': *6 '500': *38 x-github: @@ -105415,8 +104541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *454 - - *455 + - *438 + - *439 - name: ruleset_id description: The ID of the ruleset. in: path @@ -105434,7 +104560,7 @@ paths: description: Response content: application/json: - schema: *408 + schema: *398 examples: default: value: @@ -105489,21 +104615,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: - - *454 - - *455 - - *409 - - *410 - - *411 - - *412 + - *438 + - *439 + - *399 + - *400 + - *401 + - *402 - *104 - *19 - *17 - - *716 - - *717 - - *413 - - *414 - - *415 - - *416 + - *700 + - *701 + - *403 + - *404 + - *405 + - *406 responses: '200': description: Response @@ -105511,7 +104637,7 @@ paths: application/json: schema: type: array - items: &721 + items: &705 type: object properties: number: *119 @@ -105527,8 +104653,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *718 - resolution: *719 + state: *702 + resolution: *703 resolved_at: type: - string @@ -105622,7 +104748,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *720 + - *704 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -105767,16 +104893,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: - - *454 - - *455 - - *539 - - *416 + - *438 + - *439 + - *523 + - *406 responses: '200': description: Response content: application/json: - schema: *721 + schema: *705 examples: default: value: @@ -105828,9 +104954,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 requestBody: required: true content: @@ -105838,8 +104964,8 @@ paths: schema: type: object properties: - state: *718 - resolution: *719 + state: *702 + resolution: *703 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -105859,7 +104985,7 @@ paths: description: Response content: application/json: - schema: *721 + schema: *705 examples: default: value: @@ -105934,9 +105060,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: - - *454 - - *455 - - *539 + - *438 + - *439 + - *523 - *19 - *17 responses: @@ -105947,7 +105073,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &896 + items: &880 type: object properties: type: @@ -105974,19 +105100,19 @@ paths: - commit details: oneOf: - - *722 - - *723 - - *724 - - *725 - - *726 - - *727 - - *728 - - *729 - - *730 - - *731 - - *732 - - *733 - - *734 + - *706 + - *707 + - *708 + - *709 + - *710 + - *711 + - *712 + - *713 + - *714 + - *715 + - *716 + - *717 + - *718 examples: default: value: @@ -106072,8 +105198,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -106081,14 +105207,14 @@ paths: schema: type: object properties: - reason: &736 + reason: &720 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *735 + placeholder_id: *719 required: - reason - placeholder_id @@ -106105,7 +105231,7 @@ paths: schema: type: object properties: - reason: *736 + reason: *720 expire_at: type: - string @@ -106152,8 +105278,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: - - *454 - - *455 + - *438 + - *439 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -106168,7 +105294,7 @@ paths: properties: incremental_scans: type: array - items: &737 + items: &721 description: Information on a single scan performed by secret scanning on the repository type: object @@ -106196,15 +105322,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *737 + items: *721 backfill_scans: type: array - items: *737 + items: *721 custom_pattern_backfill_scans: type: array items: allOf: - - *737 + - *721 - type: object properties: pattern_name: @@ -106274,8 +105400,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *454 - - *455 + - *438 + - *439 - *104 - name: sort description: The property to sort the results by. @@ -106319,9 +105445,9 @@ paths: application/json: schema: type: array - items: *738 + items: *722 examples: - default: *739 + default: *723 '400': *14 '404': *6 x-github: @@ -106344,8 +105470,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -106425,7 +105551,7 @@ paths: login: type: string description: The username of the user credited. - type: *421 + type: *411 required: - login - type @@ -106515,9 +105641,9 @@ paths: description: Response content: application/json: - schema: *738 + schema: *722 examples: - default: &741 + default: &725 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -106750,8 +105876,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -106864,7 +105990,7 @@ paths: description: Response content: application/json: - schema: *738 + schema: *722 examples: default: value: @@ -107011,17 +106137,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 responses: '200': description: Response content: application/json: - schema: *738 + schema: *722 examples: - default: *741 + default: *725 '403': *27 '404': *6 x-github: @@ -107045,9 +106171,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 requestBody: required: true content: @@ -107127,7 +106253,7 @@ paths: login: type: string description: The username of the user credited. - type: *421 + type: *411 required: - login - type @@ -107218,17 +106344,17 @@ paths: description: Response content: application/json: - schema: *738 + schema: *722 examples: - default: *741 - add_credit: *741 + default: *725 + add_credit: *725 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *248 + schema: *238 examples: invalid_state_transition: value: @@ -107259,9 +106385,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 responses: '202': *37 '400': *14 @@ -107288,17 +106414,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: - - *454 - - *455 - - *740 + - *438 + - *439 + - *724 responses: '202': description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 '400': *14 '422': *15 '403': *27 @@ -107324,8 +106450,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -107421,8 +106547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -107431,7 +106557,7 @@ paths: application/json: schema: type: array - items: &742 + items: &726 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -107464,8 +106590,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -107543,8 +106669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -107638,8 +106764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -107793,8 +106919,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -107804,7 +106930,7 @@ paths: application/json: schema: type: array - items: *742 + items: *726 examples: default: value: @@ -107837,8 +106963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *454 - - *455 + - *438 + - *439 - name: sha in: path required: true @@ -107894,7 +107020,7 @@ paths: description: Response content: application/json: - schema: *743 + schema: *727 examples: default: value: @@ -107948,8 +107074,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -107981,14 +107107,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &744 + schema: &728 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -108061,8 +107187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: false content: @@ -108088,7 +107214,7 @@ paths: description: Response content: application/json: - schema: *744 + schema: *728 examples: default: value: @@ -108115,8 +107241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -108136,8 +107262,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -108219,8 +107345,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: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -108228,7 +107354,7 @@ paths: application/json: schema: type: array - items: &745 + items: &729 title: Tag protection description: Tag protection type: object @@ -108285,8 +107411,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: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -108309,7 +107435,7 @@ paths: description: Response content: application/json: - schema: *745 + schema: *729 examples: default: value: @@ -108340,8 +107466,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: - - *454 - - *455 + - *438 + - *439 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -108378,8 +107504,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *454 - - *455 + - *438 + - *439 - name: ref in: path required: true @@ -108415,8 +107541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *454 - - *455 + - *438 + - *439 - *17 - *19 responses: @@ -108426,9 +107552,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - default: *371 + default: *361 headers: Link: *41 '404': *6 @@ -108448,8 +107574,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *454 - - *455 + - *438 + - *439 - *19 - *17 responses: @@ -108457,7 +107583,7 @@ paths: description: Response content: application/json: - schema: &746 + schema: &730 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -108469,7 +107595,7 @@ paths: required: - names examples: - default: &747 + default: &731 value: names: - octocat @@ -108492,8 +107618,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -108524,9 +107650,9 @@ paths: description: Response content: application/json: - schema: *746 + schema: *730 examples: - default: *747 + default: *731 '404': *6 '422': *7 x-github: @@ -108547,9 +107673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *454 - - *455 - - &748 + - *438 + - *439 + - &732 name: per description: The time frame to display results for. in: query @@ -108580,7 +107706,7 @@ paths: - 128 clones: type: array - items: &749 + items: &733 title: Traffic type: object properties: @@ -108667,8 +107793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -108762,8 +107888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *454 - - *455 + - *438 + - *439 responses: '200': description: Response @@ -108826,9 +107952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *454 - - *455 - - *748 + - *438 + - *439 + - *732 responses: '200': description: Response @@ -108849,7 +107975,7 @@ paths: - 3782 views: type: array - items: *749 + items: *733 required: - uniques - count @@ -108926,8 +108052,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *454 - - *455 + - *438 + - *439 requestBody: required: true content: @@ -108963,7 +108089,7 @@ paths: description: Response content: application/json: - schema: *273 + schema: *263 examples: default: value: @@ -109201,8 +108327,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -109225,8 +108351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -109248,8 +108374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -109275,8 +108401,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *454 - - *455 + - *438 + - *439 - name: ref in: path required: true @@ -109368,9 +108494,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -109411,7 +108537,7 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: default: value: @@ -109521,7 +108647,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &757 + - &741 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -109531,7 +108657,7 @@ paths: type: string examples: - members - - &762 + - &746 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -109543,7 +108669,7 @@ paths: format: int32 examples: - 1 - - &763 + - &747 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -109587,7 +108713,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &752 + items: &736 allOf: - type: object required: @@ -109669,7 +108795,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: &764 + meta: &748 type: object description: The metadata associated with the creation/updates to the user. @@ -109734,30 +108860,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &753 + '400': &737 description: Bad request content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '401': *751 - '403': &754 + schema: *734 + '401': *735 + '403': &738 description: Permission denied - '429': &755 + '429': &739 description: Too many requests content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '500': &756 + schema: *734 + '500': &740 description: Internal server error content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 + schema: *734 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109781,7 +108907,7 @@ paths: required: true content: application/json: - schema: &760 + schema: &744 type: object required: - schemas @@ -109845,9 +108971,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *752 + schema: *736 examples: - group: &758 + group: &742 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -109866,13 +108992,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': *753 - '401': *751 - '403': *754 - '409': &761 + '400': *737 + '401': *735 + '403': *738 + '409': &745 description: Duplicate record detected - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109889,7 +109015,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: - - &759 + - &743 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -109898,22 +109024,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *757 + - *741 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *752 + schema: *736 examples: - default: *758 - '400': *753 - '401': *751 - '403': *754 + default: *742 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109932,13 +109058,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: - - *759 + - *743 - *39 requestBody: required: true content: application/json: - schema: *760 + schema: *744 examples: group: summary: Group @@ -109964,17 +109090,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *752 + schema: *736 examples: - group: *758 - groupWithMembers: *758 - '400': *753 - '401': *751 - '403': *754 + group: *742 + groupWithMembers: *742 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -109998,13 +109124,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: - - *759 + - *743 - *39 requestBody: required: true content: application/json: - schema: &771 + schema: &755 type: object required: - Operations @@ -110064,17 +109190,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *752 + schema: *736 examples: - updateGroup: *758 - addMembers: *758 - '400': *753 - '401': *751 - '403': *754 + updateGroup: *742 + addMembers: *742 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110090,17 +109216,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: - - *759 + - *743 - *39 responses: '204': description: Group was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110134,8 +109260,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *762 - - *763 + - *746 + - *747 - *39 responses: '200': @@ -110169,7 +109295,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &766 + items: &750 allOf: - type: object required: @@ -110261,7 +109387,7 @@ paths: address. examples: - true - roles: &765 + roles: &749 type: array description: The roles assigned to the user. items: @@ -110320,7 +109446,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *764 + meta: *748 startIndex: type: integer description: A starting index for the returned page @@ -110359,11 +109485,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *753 - '401': *751 - '403': *754 - '429': *755 - '500': *756 + '400': *737 + '401': *735 + '403': *738 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110387,7 +109513,7 @@ paths: required: true content: application/json: - schema: &769 + schema: &753 type: object required: - schemas @@ -110480,9 +109606,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *765 + roles: *749 examples: - user: &770 + user: &754 summary: User value: schemas: @@ -110529,9 +109655,9 @@ paths: description: User has been created content: application/scim+json: - schema: *766 + schema: *750 examples: - user: &767 + user: &751 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -110557,13 +109683,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: *767 - '400': *753 - '401': *751 - '403': *754 - '409': *761 - '429': *755 - '500': *756 + enterpriseOwner: *751 + '400': *737 + '401': *735 + '403': *738 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110580,7 +109706,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: - - &768 + - &752 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -110593,15 +109719,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *766 + schema: *750 examples: - default: *767 - '400': *753 - '401': *751 - '403': *754 + default: *751 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110623,30 +109749,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: - - *768 + - *752 - *39 requestBody: required: true content: application/json: - schema: *769 + schema: *753 examples: - user: *770 + user: *754 responses: '200': description: User was updated content: application/scim+json: - schema: *766 + schema: *750 examples: - user: *767 - '400': *753 - '401': *751 - '403': *754 + user: *751 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110681,13 +109807,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: - - *768 + - *752 - *39 requestBody: required: true content: application/json: - schema: *771 + schema: *755 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -110727,18 +109853,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *766 + schema: *750 examples: - userMultiValuedProperties: *767 - userSingleValuedProperties: *767 - disableUser: *767 - '400': *753 - '401': *751 - '403': *754 + userMultiValuedProperties: *751 + userSingleValuedProperties: *751 + disableUser: *751 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '409': *761 - '429': *755 - '500': *756 + '409': *745 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110758,17 +109884,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: - - *768 + - *752 - *39 responses: '204': description: User was deleted, no content - '400': *753 - '401': *751 - '403': *754 + '400': *737 + '401': *735 + '403': *738 '404': *6 - '429': *755 - '500': *756 + '429': *739 + '500': *740 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -110859,7 +109985,7 @@ paths: - 1 Resources: type: array - items: &772 + items: &756 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -111106,22 +110232,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &773 + '404': &757 description: Resource not found content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '403': &774 + schema: *734 + '403': &758 description: Forbidden content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '400': *753 - '429': *755 + schema: *734 + '400': *737 + '429': *739 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -111147,9 +110273,9 @@ paths: description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: &775 + default: &759 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -111172,17 +110298,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *773 - '403': *774 - '500': *756 + '404': *757 + '403': *758 + '500': *740 '409': description: Conflict content: application/json: - schema: *750 + schema: *734 application/scim+json: - schema: *750 - '400': *753 + schema: *734 + '400': *737 requestBody: required: true content: @@ -111282,17 +110408,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *81 - - *768 + - *752 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: *775 - '404': *773 - '403': *774 + default: *759 + '404': *757 + '403': *758 '304': *35 x-github: githubCloudOnly: true @@ -111316,18 +110442,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *81 - - *768 + - *752 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: *775 + default: *759 '304': *35 - '404': *773 - '403': *774 + '404': *757 + '403': *758 requestBody: required: true content: @@ -111442,19 +110568,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *81 - - *768 + - *752 responses: '200': description: Response content: application/scim+json: - schema: *772 + schema: *756 examples: - default: *775 + default: *759 '304': *35 - '404': *773 - '403': *774 - '400': *753 + '404': *757 + '403': *758 + '400': *737 '429': description: Response content: @@ -111550,12 +110676,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *81 - - *768 + - *752 responses: '204': description: Response - '404': *773 - '403': *774 + '404': *757 + '403': *758 '304': *35 x-github: githubCloudOnly: true @@ -111670,7 +110796,7 @@ paths: html_url: type: string format: uri - repository: *273 + repository: *263 score: type: number file_size: @@ -111689,7 +110815,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &776 + text_matches: &760 title: Search Result Text Matches type: array items: @@ -111853,7 +110979,7 @@ paths: enum: - author-date - committer-date - - &777 + - &761 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 @@ -111922,7 +111048,7 @@ paths: committer: anyOf: - type: 'null' - - *509 + - *493 comment_count: type: integer message: @@ -111941,7 +111067,7 @@ paths: url: type: string format: uri - verification: *626 + verification: *610 required: - author - committer @@ -111956,7 +111082,7 @@ paths: committer: anyOf: - type: 'null' - - *509 + - *493 parents: type: array items: @@ -111968,12 +111094,12 @@ paths: type: string sha: type: string - repository: *273 + repository: *263 score: type: number node_id: type: string - text_matches: *776 + text_matches: *760 required: - sha - node_id @@ -112166,7 +111292,7 @@ paths: - interactions - created - updated - - *777 + - *761 - *17 - *19 - name: advanced_search @@ -112263,11 +111389,11 @@ paths: type: - string - 'null' - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: type: string state_reason: @@ -112281,7 +111407,7 @@ paths: milestone: anyOf: - type: 'null' - - *391 + - *381 comments: type: integer created_at: @@ -112295,7 +111421,7 @@ paths: - string - 'null' format: date-time - text_matches: *776 + text_matches: *760 pull_request: type: object properties: @@ -112344,7 +111470,7 @@ paths: timeline_url: type: string format: uri - type: *357 + type: *347 performed_via_github_app: anyOf: - type: 'null' @@ -112518,7 +111644,7 @@ paths: enum: - created - updated - - *777 + - *761 - *17 - *19 responses: @@ -112563,7 +111689,7 @@ paths: - 'null' score: type: number - text_matches: *776 + text_matches: *760 required: - id - node_id @@ -112649,7 +111775,7 @@ paths: - forks - help-wanted-issues - updated - - *777 + - *761 - *17 - *19 responses: @@ -112886,7 +112012,7 @@ paths: - admin - pull - push - text_matches: *776 + text_matches: *760 temp_clone_token: type: string allow_merge_commit: @@ -113195,7 +112321,7 @@ paths: - string - 'null' format: uri - text_matches: *776 + text_matches: *760 related: type: - array @@ -113390,7 +112516,7 @@ paths: - followers - repositories - joined - - *777 + - *761 - *17 - *19 responses: @@ -113500,7 +112626,7 @@ paths: type: - boolean - 'null' - text_matches: *776 + text_matches: *760 blog: type: - string @@ -113582,7 +112708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &781 + - &765 name: team_id description: The unique identifier of the team. in: path @@ -113594,9 +112720,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 x-github: githubCloudOnly: false @@ -113623,7 +112749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *781 + - *765 requestBody: required: true content: @@ -113687,16 +112813,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '201': description: Response content: application/json: - schema: *435 + schema: *419 examples: - default: *436 + default: *420 '404': *6 '422': *15 '403': *27 @@ -113724,7 +112850,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *781 + - *765 responses: '204': description: Response @@ -113755,7 +112881,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *781 + - *765 - *104 - *17 - *19 @@ -113766,9 +112892,9 @@ paths: application/json: schema: type: array - items: *437 + items: *421 examples: - default: *782 + default: *766 headers: Link: *41 x-github: @@ -113797,7 +112923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *781 + - *765 requestBody: required: true content: @@ -113831,9 +112957,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *438 + default: *422 x-github: triggersNotification: true githubCloudOnly: false @@ -113860,16 +112986,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *781 - - *439 + - *765 + - *423 responses: '200': description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *438 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113894,8 +113020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *781 - - *439 + - *765 + - *423 requestBody: required: false content: @@ -113918,9 +113044,9 @@ paths: description: Response content: application/json: - schema: *437 + schema: *421 examples: - default: *783 + default: *767 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -113945,8 +113071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *781 - - *439 + - *765 + - *423 responses: '204': description: Response @@ -113975,8 +113101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *781 - - *439 + - *765 + - *423 - *104 - *17 - *19 @@ -113987,9 +113113,9 @@ paths: application/json: schema: type: array - items: *440 + items: *424 examples: - default: *784 + default: *768 headers: Link: *41 x-github: @@ -114018,8 +113144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *781 - - *439 + - *765 + - *423 requestBody: required: true content: @@ -114041,9 +113167,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *441 + default: *425 x-github: triggersNotification: true githubCloudOnly: false @@ -114070,17 +113196,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 responses: '200': description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *441 + default: *425 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114105,9 +113231,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 requestBody: required: true content: @@ -114129,9 +113255,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *424 examples: - default: *785 + default: *769 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114156,9 +113282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 responses: '204': description: Response @@ -114187,9 +113313,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: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 - 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. @@ -114215,9 +113341,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 x-github: @@ -114246,9 +113372,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: - - *781 - - *439 - - *442 + - *765 + - *423 + - *426 requestBody: required: true content: @@ -114280,9 +113406,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -114308,8 +113434,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: - - *781 - - *439 + - *765 + - *423 - 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. @@ -114335,9 +113461,9 @@ paths: application/json: schema: type: array - items: *443 + items: *427 examples: - default: *445 + default: *429 headers: Link: *41 x-github: @@ -114366,8 +113492,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: - - *781 - - *439 + - *765 + - *423 requestBody: required: true content: @@ -114399,9 +113525,9 @@ paths: description: Response content: application/json: - schema: *443 + schema: *427 examples: - default: *444 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -114425,7 +113551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -114435,9 +113561,9 @@ paths: application/json: schema: type: array - items: *354 + items: *344 examples: - default: *355 + default: *345 headers: Link: *41 x-github: @@ -114463,7 +113589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *781 + - *765 - name: role description: Filters members returned by their role in the team. in: query @@ -114514,7 +113640,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *781 + - *765 - *132 responses: '204': @@ -114551,7 +113677,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *781 + - *765 - *132 responses: '204': @@ -114591,7 +113717,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *781 + - *765 - *132 responses: '204': @@ -114628,16 +113754,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: - - *781 + - *765 - *132 responses: '200': description: Response content: application/json: - schema: *451 + schema: *435 examples: - response-if-user-is-a-team-maintainer: *786 + response-if-user-is-a-team-maintainer: *770 '404': *6 x-github: githubCloudOnly: false @@ -114670,7 +113796,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: - - *781 + - *765 - *132 requestBody: required: false @@ -114696,9 +113822,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *435 examples: - response-if-users-membership-with-team-is-now-pending: *787 + response-if-users-membership-with-team-is-now-pending: *771 '403': description: Forbidden if team synchronization is set up '422': @@ -114732,7 +113858,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: - - *781 + - *765 - *132 responses: '204': @@ -114761,7 +113887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -114771,9 +113897,9 @@ paths: application/json: schema: type: array - items: *452 + items: *436 examples: - default: *788 + default: *772 headers: Link: *41 '404': *6 @@ -114799,16 +113925,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: - - *781 - - *453 + - *765 + - *437 responses: '200': description: Response content: application/json: - schema: *452 + schema: *436 examples: - default: *789 + default: *773 '404': description: Not Found if project is not managed by this team x-github: @@ -114832,8 +113958,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: - - *781 - - *453 + - *765 + - *437 requestBody: required: false content: @@ -114900,8 +114026,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: - - *781 - - *453 + - *765 + - *437 responses: '204': description: Response @@ -114928,7 +114054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -114938,9 +114064,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 '404': *6 @@ -114970,15 +114096,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: - - *781 - - *454 - - *455 + - *765 + - *438 + - *439 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *790 + schema: *774 examples: alternative-response-with-extra-repository-information: value: @@ -115129,9 +114255,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: - - *781 - - *454 - - *455 + - *765 + - *438 + - *439 requestBody: required: false content: @@ -115181,9 +114307,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: - - *781 - - *454 - - *455 + - *765 + - *438 + - *439 responses: '204': description: Response @@ -115212,15 +114338,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: - - *781 + - *765 responses: '200': description: Response content: application/json: - schema: *456 + schema: *440 examples: - default: *457 + default: *441 '403': *27 '404': *6 x-github: @@ -115247,7 +114373,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: - - *781 + - *765 requestBody: required: true content: @@ -115308,7 +114434,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *440 examples: default: value: @@ -115339,7 +114465,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *781 + - *765 - *17 - *19 responses: @@ -115349,9 +114475,9 @@ paths: application/json: schema: type: array - items: *302 + items: *292 examples: - response-if-child-teams-exist: *791 + response-if-child-teams-exist: *775 headers: Link: *41 '404': *6 @@ -115384,7 +114510,7 @@ paths: application/json: schema: oneOf: - - &793 + - &777 title: Private User description: Private User type: object @@ -115634,7 +114760,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *792 + - *776 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -115794,7 +114920,7 @@ paths: description: Response content: application/json: - schema: *793 + schema: *777 examples: default: value: @@ -115997,9 +115123,9 @@ paths: type: integer codespaces: type: array - items: *362 + items: *352 examples: - default: *363 + default: *353 '304': *35 '500': *38 '401': *23 @@ -116138,17 +115264,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '401': *23 '403': *27 '404': *6 @@ -116192,7 +115318,7 @@ paths: type: integer secrets: type: array - items: &794 + items: &778 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -116234,7 +115360,7 @@ paths: - visibility - selected_repositories_url examples: - default: *561 + default: *545 headers: Link: *41 x-github: @@ -116306,13 +115432,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: - - *283 + - *273 responses: '200': description: Response content: application/json: - schema: *794 + schema: *778 examples: default: value: @@ -116342,7 +115468,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: - - *283 + - *273 requestBody: required: true content: @@ -116387,7 +115513,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -116415,7 +115541,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: - - *283 + - *273 responses: '204': description: Response @@ -116440,7 +115566,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: - - *283 + - *273 responses: '200': description: Response @@ -116456,9 +115582,9 @@ paths: type: integer repositories: type: array - items: *273 + items: *263 examples: - default: *795 + default: *779 '401': *23 '403': *27 '404': *6 @@ -116483,7 +115609,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: - - *283 + - *273 requestBody: required: true content: @@ -116537,7 +115663,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: - - *283 + - *273 - name: repository_id in: path required: true @@ -116570,7 +115696,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: - - *283 + - *273 - name: repository_id in: path required: true @@ -116602,15 +115728,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: - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '304': *35 '500': *38 '401': *23 @@ -116636,7 +115762,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: - - *364 + - *354 requestBody: required: false content: @@ -116666,9 +115792,9 @@ paths: description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '401': *23 '403': *27 '404': *6 @@ -116690,7 +115816,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: - - *364 + - *354 responses: '202': *37 '304': *35 @@ -116719,13 +115845,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: - - *364 + - *354 responses: '202': description: Response content: application/json: - schema: &796 + schema: &780 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -116778,7 +115904,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &797 + default: &781 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -116810,7 +115936,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *364 + - *354 - name: export_id in: path required: true @@ -116823,9 +115949,9 @@ paths: description: Response content: application/json: - schema: *796 + schema: *780 examples: - default: *797 + default: *781 '404': *6 x-github: githubCloudOnly: false @@ -116846,7 +115972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *364 + - *354 responses: '200': description: Response @@ -116862,9 +115988,9 @@ paths: type: integer machines: type: array - items: *560 + items: *544 examples: - default: *798 + default: *782 '304': *35 '500': *38 '401': *23 @@ -116893,7 +116019,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: - - *364 + - *354 requestBody: required: true content: @@ -116949,11 +116075,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *465 + repository: *449 machine: anyOf: - type: 'null' - - *560 + - *544 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -117750,15 +116876,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: - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '304': *35 '500': *38 '400': *14 @@ -117790,15 +116916,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: - - *364 + - *354 responses: '200': description: Response content: application/json: - schema: *362 + schema: *352 examples: - default: *559 + default: *543 '500': *38 '401': *23 '403': *27 @@ -117828,9 +116954,9 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: &809 + default: &793 value: - id: 197 name: hello_docker @@ -117931,7 +117057,7 @@ paths: application/json: schema: type: array - items: &799 + items: &783 title: Email description: Email type: object @@ -118001,9 +117127,9 @@ paths: application/json: schema: type: array - items: *799 + items: *783 examples: - default: &811 + default: &795 value: - email: octocat@github.com verified: true @@ -118080,7 +117206,7 @@ paths: application/json: schema: type: array - items: *799 + items: *783 examples: default: value: @@ -118338,7 +117464,7 @@ paths: application/json: schema: type: array - items: &800 + items: &784 title: GPG Key description: A unique encryption key type: object @@ -118483,7 +117609,7 @@ paths: - subkeys - revoked examples: - default: &825 + default: &809 value: - id: 3 name: Octocat's GPG Key @@ -118568,9 +117694,9 @@ paths: description: Response content: application/json: - schema: *800 + schema: *784 examples: - default: &801 + default: &785 value: id: 3 name: Octocat's GPG Key @@ -118627,7 +117753,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: - - &802 + - &786 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -118639,9 +117765,9 @@ paths: description: Response content: application/json: - schema: *800 + schema: *784 examples: - default: *801 + default: *785 '404': *6 '304': *35 '403': *27 @@ -118664,7 +117790,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: - - *802 + - *786 responses: '204': description: Response @@ -118855,7 +117981,7 @@ paths: type: array items: *72 examples: - default: *268 + default: *258 headers: Link: *41 '404': *6 @@ -118880,7 +118006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *267 + - *257 responses: '204': description: Response @@ -118906,7 +118032,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *267 + - *257 responses: '204': description: Response @@ -118940,12 +118066,12 @@ paths: application/json: schema: anyOf: - - *352 + - *342 - type: object properties: {} additionalProperties: false examples: - default: *353 + default: *343 '204': description: Response when there are no restrictions x-github: @@ -118969,7 +118095,7 @@ paths: required: true content: application/json: - schema: *637 + schema: *621 examples: default: value: @@ -118980,7 +118106,7 @@ paths: description: Response content: application/json: - schema: *352 + schema: *342 examples: default: value: @@ -119061,7 +118187,7 @@ paths: - closed - all default: open - - *360 + - *350 - name: sort description: What to sort results by. in: query @@ -119086,7 +118212,7 @@ paths: type: array items: *219 examples: - default: *361 + default: *351 headers: Link: *41 '404': *6 @@ -119119,7 +118245,7 @@ paths: application/json: schema: type: array - items: &803 + items: &787 title: Key description: Key type: object @@ -119222,9 +118348,9 @@ paths: description: Response content: application/json: - schema: *803 + schema: *787 examples: - default: &804 + default: &788 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -119257,15 +118383,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: - - *665 + - *649 responses: '200': description: Response content: application/json: - schema: *803 + schema: *787 examples: - default: *804 + default: *788 '404': *6 '304': *35 '403': *27 @@ -119288,7 +118414,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: - - *665 + - *649 responses: '204': description: Response @@ -119321,7 +118447,7 @@ paths: application/json: schema: type: array - items: &805 + items: &789 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -119400,7 +118526,7 @@ paths: - account - plan examples: - default: &806 + default: &790 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -119462,9 +118588,9 @@ paths: application/json: schema: type: array - items: *805 + items: *789 examples: - default: *806 + default: *790 headers: Link: *41 '304': *35 @@ -119504,7 +118630,7 @@ paths: application/json: schema: type: array - items: *365 + items: *355 examples: default: value: @@ -119612,7 +118738,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: default: value: @@ -119695,7 +118821,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *355 examples: default: value: @@ -119763,7 +118889,7 @@ paths: application/json: schema: type: array - items: *367 + items: *357 examples: default: value: @@ -120025,7 +119151,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -120205,7 +119331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *368 + - *358 - name: exclude in: query required: false @@ -120218,7 +119344,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *357 examples: default: value: @@ -120412,7 +119538,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *368 + - *358 responses: '302': description: Response @@ -120438,7 +119564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *368 + - *358 responses: '204': description: Response @@ -120467,8 +119593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *368 - - *807 + - *358 + - *791 responses: '204': description: Response @@ -120492,7 +119618,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *368 + - *358 - *17 - *19 responses: @@ -120502,9 +119628,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 '404': *6 @@ -120583,7 +119709,7 @@ paths: - docker - nuget - container - - *808 + - *792 - *19 - *17 responses: @@ -120593,10 +119719,10 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *809 - '400': *810 + default: *793 + '400': *794 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120616,16 +119742,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: - - *374 - - *375 + - *364 + - *365 responses: '200': description: Response content: application/json: - schema: *372 + schema: *362 examples: - default: &826 + default: &810 value: id: 40201 name: octo-name @@ -120738,8 +119864,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: - - *374 - - *375 + - *364 + - *365 responses: '204': description: Response @@ -120769,8 +119895,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: - - *374 - - *375 + - *364 + - *365 - name: token description: package token schema: @@ -120802,8 +119928,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: - - *374 - - *375 + - *364 + - *365 - *19 - *17 - name: state @@ -120823,7 +119949,7 @@ paths: application/json: schema: type: array - items: *376 + items: *366 examples: default: value: @@ -120872,15 +119998,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 responses: '200': description: Response content: application/json: - schema: *376 + schema: *366 examples: default: value: @@ -120916,9 +120042,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 responses: '204': description: Response @@ -120948,9 +120074,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 responses: '204': description: Response @@ -120987,9 +120113,9 @@ paths: application/json: schema: type: array - items: *799 + items: *783 examples: - default: *811 + default: *795 headers: Link: *41 '304': *35 @@ -121102,7 +120228,7 @@ paths: type: array items: *72 examples: - default: &818 + default: &802 summary: Default response value: - id: 1296269 @@ -121420,9 +120546,9 @@ paths: description: Response content: application/json: - schema: *465 + schema: *449 examples: - default: *467 + default: *451 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -121460,9 +120586,9 @@ paths: application/json: schema: type: array - items: *639 + items: *623 examples: - default: *812 + default: *796 headers: Link: *41 '304': *35 @@ -121485,7 +120611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *356 + - *346 responses: '204': description: Response @@ -121508,7 +120634,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *356 + - *346 responses: '204': description: Response @@ -121541,7 +120667,7 @@ paths: application/json: schema: type: array - items: &813 + items: &797 title: Social account description: Social media account type: object @@ -121558,7 +120684,7 @@ paths: - provider - url examples: - default: &814 + default: &798 value: - provider: twitter url: https://twitter.com/github @@ -121621,9 +120747,9 @@ paths: application/json: schema: type: array - items: *813 + items: *797 examples: - default: *814 + default: *798 '422': *15 '304': *35 '404': *6 @@ -121711,7 +120837,7 @@ paths: application/json: schema: type: array - items: &815 + items: &799 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -121731,7 +120857,7 @@ paths: - title - created_at examples: - default: &830 + default: &814 value: - id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121796,9 +120922,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *799 examples: - default: &816 + default: &800 value: id: 2 key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -121828,7 +120954,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: - - &817 + - &801 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -121840,9 +120966,9 @@ paths: description: Response content: application/json: - schema: *815 + schema: *799 examples: - default: *816 + default: *800 '404': *6 '304': *35 '403': *27 @@ -121865,7 +120991,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: - - *817 + - *801 responses: '204': description: Response @@ -121894,7 +121020,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: - - &831 + - &815 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 @@ -121919,11 +121045,11 @@ paths: type: array items: *72 examples: - default-response: *818 + default-response: *802 application/vnd.github.v3.star+json: schema: type: array - items: &832 + items: &816 title: Starred Repository description: Starred Repository type: object @@ -122079,8 +121205,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response if this repository is starred by you @@ -122108,8 +121234,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -122133,8 +121259,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: - - *454 - - *455 + - *438 + - *439 responses: '204': description: Response @@ -122167,9 +121293,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 '304': *35 @@ -122206,7 +121332,7 @@ paths: application/json: schema: type: array - items: *435 + items: *419 examples: default: value: @@ -122292,10 +121418,10 @@ paths: application/json: schema: oneOf: - - *793 - - *792 + - *777 + - *776 examples: - default-response: &820 + default-response: &804 summary: Default response value: login: octocat @@ -122330,7 +121456,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &821 + response-with-git-hub-plan-information: &805 summary: Response with GitHub plan information value: login: octocat @@ -122393,7 +121519,7 @@ paths: required: true schema: type: string - - *390 + - *380 requestBody: required: true description: Details of the draft item to create in the project. @@ -122427,9 +121553,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - draft_issue: *396 + draft_issue: *386 '304': *35 '403': *27 '401': *23 @@ -122452,7 +121578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *819 + - *803 - *17 responses: '200': @@ -122501,11 +121627,11 @@ paths: application/json: schema: oneOf: - - *793 - - *792 + - *777 + - *776 examples: - default-response: *820 - response-with-git-hub-plan-information: *821 + default-response: *804 + response-with-git-hub-plan-information: *805 '404': *6 x-github: githubCloudOnly: false @@ -122555,8 +121681,8 @@ paths: required: - subject_digests examples: - default: *822 - withPredicateType: *823 + default: *806 + withPredicateType: *807 responses: '200': description: Response @@ -122610,7 +121736,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *824 + default: *808 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -122815,12 +121941,12 @@ paths: initiator: type: string examples: - default: *505 + default: *489 '201': description: Response content: application/json: - schema: *284 + schema: *274 examples: default: value: @@ -122854,9 +121980,9 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *809 + default: *793 '403': *27 '401': *23 x-github: @@ -123240,9 +122366,9 @@ paths: application/json: schema: type: array - items: *800 + items: *784 examples: - default: *825 + default: *809 headers: Link: *41 x-github: @@ -123346,7 +122472,7 @@ paths: application/json: schema: *20 examples: - default: *636 + default: *620 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123471,7 +122597,7 @@ paths: - docker - nuget - container - - *808 + - *792 - *132 - *19 - *17 @@ -123482,12 +122608,12 @@ paths: application/json: schema: type: array - items: *372 + items: *362 examples: - default: *809 + default: *793 '403': *27 '401': *23 - '400': *810 + '400': *794 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123507,17 +122633,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 responses: '200': description: Response content: application/json: - schema: *372 + schema: *362 examples: - default: *826 + default: *810 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -123538,8 +122664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 responses: '204': @@ -123572,8 +122698,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 - name: token description: package token @@ -123606,8 +122732,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: - - *374 - - *375 + - *364 + - *365 - *132 responses: '200': @@ -123616,7 +122742,7 @@ paths: application/json: schema: type: array - items: *376 + items: *366 examples: default: value: @@ -123674,16 +122800,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: - - *374 - - *375 - - *377 + - *364 + - *365 + - *367 - *132 responses: '200': description: Response content: application/json: - schema: *376 + schema: *366 examples: default: value: @@ -123718,10 +122844,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 - - *377 + - *367 responses: '204': description: Response @@ -123753,10 +122879,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *374 - - *375 + - *364 + - *365 - *132 - - *377 + - *367 responses: '204': description: Response @@ -123797,9 +122923,9 @@ paths: application/json: schema: type: array - items: *388 + items: *378 examples: - default: *389 + default: *379 headers: Link: *41 '304': *35 @@ -123821,16 +122947,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *390 + - *380 - *132 responses: '200': description: Response content: application/json: - schema: *388 + schema: *378 examples: - default: *389 + default: *379 headers: Link: *41 '304': *35 @@ -123852,7 +122978,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *390 + - *380 - *132 - *17 - *102 @@ -123864,9 +122990,9 @@ paths: application/json: schema: type: array - items: *393 + items: *383 examples: - default: *827 + default: *811 headers: Link: *41 '304': *35 @@ -123888,17 +123014,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *390 - - *828 + - *380 + - *812 - *132 responses: '200': description: Response content: application/json: - schema: *393 + schema: *383 examples: - default: *829 + default: *813 headers: Link: *41 '304': *35 @@ -123921,7 +123047,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: - - *390 + - *380 - *132 - *102 - *103 @@ -123954,9 +123080,9 @@ paths: application/json: schema: type: array - items: *397 + items: *387 examples: - default: *398 + default: *388 headers: Link: *41 '304': *35 @@ -123978,7 +123104,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - *132 - - *390 + - *380 requestBody: required: true description: Details of the item to add to the project. @@ -124015,10 +123141,10 @@ paths: description: Response content: application/json: - schema: *395 + schema: *385 examples: - issue: *396 - pull_request: *396 + issue: *386 + pull_request: *386 '304': *35 '403': *27 '401': *23 @@ -124038,9 +123164,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: - - *390 + - *380 - *132 - - *399 + - *389 - name: fields description: |- Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -124060,9 +123186,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - default: *398 + default: *388 headers: Link: *41 '304': *35 @@ -124083,9 +123209,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *390 + - *380 - *132 - - *399 + - *389 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -124158,13 +123284,13 @@ paths: description: Response content: application/json: - schema: *397 + schema: *387 examples: - text_field: *398 - number_field: *398 - date_field: *398 - single_select_field: *398 - iteration_field: *398 + text_field: *388 + number_field: *388 + date_field: *388 + single_select_field: *388 + iteration_field: *388 '401': *23 '403': *27 '404': *6 @@ -124184,9 +123310,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *390 + - *380 - *132 - - *399 + - *389 responses: '204': description: Response @@ -124404,9 +123530,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -124414,458 +123540,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: - - *132 - responses: - '200': - description: Response - content: - application/json: - schema: *422 - examples: - default: *423 - 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: - - *132 - responses: - '200': - description: Response - content: - application/json: - schema: *427 - examples: - default: *428 - 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: - - *132 - - *191 - - *193 - - *192 - - *240 - - *195 - 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': *27 - '404': *6 - '500': *38 - '503': *184 - 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: - - *132 - responses: - '200': - description: Response - content: - application/json: - schema: *429 - examples: - default: *430 - 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: - - *132 - - *191 - - *241 - - *192 - 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': *27 - '500': *38 - '503': *184 - 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: - - *132 - - *191 - - *193 - - *192 - - *244 - - *195 - - *245 - 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': *27 - '404': *6 - '500': *38 - '503': *184 - x-github: - githubCloudOnly: false - enabledForGitHubApps: true - category: billing - subcategory: enhanced-billing "/users/{username}/social_accounts": get: summary: List social accounts for a user @@ -124888,9 +123562,9 @@ paths: application/json: schema: type: array - items: *813 + items: *797 examples: - default: *814 + default: *798 headers: Link: *41 x-github: @@ -124920,9 +123594,9 @@ paths: application/json: schema: type: array - items: *815 + items: *799 examples: - default: *830 + default: *814 headers: Link: *41 x-github: @@ -124947,7 +123621,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - *132 - - *831 + - *815 - *104 - *17 - *19 @@ -124959,11 +123633,11 @@ paths: schema: anyOf: - type: array - items: *832 + items: *816 - type: array items: *72 examples: - default-response: *818 + default-response: *802 headers: Link: *41 x-github: @@ -124992,9 +123666,9 @@ paths: application/json: schema: type: array - items: *273 + items: *263 examples: - default: *378 + default: *368 headers: Link: *41 x-github: @@ -125123,7 +123797,7 @@ webhooks: type: string enum: - disabled - enterprise: &833 + enterprise: &817 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -125192,7 +123866,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &834 + installation: &818 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -125213,7 +123887,7 @@ webhooks: required: - id - node_id - organization: &835 + organization: &819 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -125286,7 +123960,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &836 + repository: &820 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -126199,10 +124873,10 @@ webhooks: type: string enum: - enabled - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -126278,11 +124952,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - rule: &837 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: &821 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) @@ -126505,11 +125179,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - rule: *837 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -126697,11 +125371,11 @@ webhooks: - everyone required: - from - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - rule: *837 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + rule: *821 sender: *4 required: - action @@ -126774,7 +125448,7 @@ webhooks: required: true content: application/json: - schema: &857 + schema: &841 title: Exemption request cancellation event type: object properties: @@ -126782,11 +125456,11 @@ webhooks: type: string enum: - cancelled - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: &838 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: &822 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -127024,7 +125698,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &839 + items: &823 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -127136,7 +125810,7 @@ webhooks: required: true content: application/json: - schema: &858 + schema: &842 title: Exemption request completed event type: object properties: @@ -127144,11 +125818,11 @@ webhooks: type: string enum: - completed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -127220,7 +125894,7 @@ webhooks: required: true content: application/json: - schema: &855 + schema: &839 title: Exemption request created event type: object properties: @@ -127228,11 +125902,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 sender: *4 required: - action @@ -127304,7 +125978,7 @@ webhooks: required: true content: application/json: - schema: &859 + schema: &843 title: Exemption response dismissed event type: object properties: @@ -127312,12 +125986,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 - exemption_response: *839 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -127391,7 +126065,7 @@ webhooks: required: true content: application/json: - schema: &856 + schema: &840 title: Exemption response submitted event type: object properties: @@ -127399,12 +126073,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - exemption_request: *838 - exemption_response: *839 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + exemption_request: *822 + exemption_response: *823 sender: *4 required: - action @@ -127488,7 +126162,7 @@ webhooks: type: string enum: - completed - check_run: &841 + check_run: &825 title: CheckRun description: A check performed on the code of a given code change type: object @@ -127553,8 +126227,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *522 - repository: *273 + items: *506 + repository: *263 status: type: string enum: @@ -127598,7 +126272,7 @@ webhooks: - examples: - neutral - deployment: *840 + deployment: *824 details_url: type: string examples: @@ -127658,7 +126332,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *522 + items: *506 started_at: type: string format: date-time @@ -127696,10 +126370,10 @@ webhooks: - output - app - pull_requests - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -128092,11 +126766,11 @@ webhooks: type: string enum: - created - check_run: *841 - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + check_run: *825 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -128492,11 +127166,11 @@ webhooks: type: string enum: - requested_action - check_run: *841 - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + check_run: *825 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 requested_action: description: The action requested by the user. type: object @@ -128901,11 +127575,11 @@ webhooks: type: string enum: - rerequested - check_run: *841 - installation: *834 - enterprise: *833 - organization: *835 - repository: *836 + check_run: *825 + installation: *818 + enterprise: *817 + organization: *819 + repository: *820 sender: *4 required: - check_run @@ -129897,10 +128571,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -130600,10 +129274,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -131297,10 +129971,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -131469,7 +130143,7 @@ webhooks: required: - login - id - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -131621,20 +130295,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &842 + commit_oid: &826 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: *833 - installation: *834 - organization: *835 - ref: &843 + enterprise: *817 + installation: *818 + organization: *819 + ref: &827 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: *836 + repository: *820 sender: *4 required: - action @@ -131801,7 +130475,7 @@ webhooks: required: - login - id - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132042,12 +130716,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -132145,7 +130819,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132330,12 +131004,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -132504,7 +131178,7 @@ webhooks: required: - login - id - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -132681,12 +131355,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -132789,7 +131463,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -132969,9 +131643,9 @@ webhooks: type: - string - 'null' - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -132979,7 +131653,7 @@ webhooks: type: - string - 'null' - repository: *836 + repository: *820 sender: *4 required: - action @@ -133078,7 +131752,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *534 + dismissed_comment: *518 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -133225,12 +131899,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *842 - enterprise: *833 - installation: *834 - organization: *835 - ref: *843 - repository: *836 + commit_oid: *826 + enterprise: *817 + installation: *818 + organization: *819 + ref: *827 + repository: *820 sender: *4 required: - action @@ -133492,10 +132166,10 @@ webhooks: - updated_at - author_association - body - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -133576,18 +132250,18 @@ webhooks: type: - string - 'null' - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *835 - pusher_type: &844 + organization: *819 + pusher_type: &828 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &845 + ref: &829 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -133597,7 +132271,7 @@ webhooks: enum: - tag - branch - repository: *836 + repository: *820 sender: *4 required: - ref @@ -133680,9 +132354,9 @@ webhooks: enum: - created definition: *146 - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -133767,9 +132441,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -133847,9 +132521,9 @@ webhooks: enum: - promote_to_enterprise definition: *146 - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -133927,9 +132601,9 @@ webhooks: enum: - updated definition: *146 - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -134006,10 +132680,10 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - repository: *836 - organization: *835 + enterprise: *817 + installation: *818 + repository: *820 + organization: *819 sender: *4 new_property_values: type: array @@ -134094,18 +132768,18 @@ webhooks: title: delete event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - pusher_type: *844 - ref: *845 + enterprise: *817 + installation: *818 + organization: *819 + pusher_type: *828 + ref: *829 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *836 + repository: *820 sender: *4 required: - ref @@ -134189,11 +132863,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134277,11 +132951,11 @@ webhooks: type: string enum: - auto_reopened - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134365,11 +133039,11 @@ webhooks: type: string enum: - created - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134451,11 +133125,11 @@ webhooks: type: string enum: - dismissed - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134537,11 +133211,11 @@ webhooks: type: string enum: - fixed - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134624,11 +133298,11 @@ webhooks: type: string enum: - reintroduced - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134710,11 +133384,11 @@ webhooks: type: string enum: - reopened - alert: *586 - installation: *834 - organization: *835 - enterprise: *833 - repository: *836 + alert: *570 + installation: *818 + organization: *819 + enterprise: *817 + repository: *820 sender: *4 required: - action @@ -134791,9 +133465,9 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - key: &846 + enterprise: *817 + installation: *818 + key: &830 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -134831,8 +133505,8 @@ webhooks: - verified - created_at - read_only - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -134909,11 +133583,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - key: *846 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + key: *830 + organization: *819 + repository: *820 sender: *4 required: - action @@ -135485,12 +134159,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: &850 + workflow: &834 title: Workflow type: - object @@ -136228,13 +134902,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *592 + deployment: *576 pull_requests: type: array - items: *685 - repository: *836 - organization: *835 - installation: *834 + items: *669 + repository: *820 + organization: *819 + installation: *818 sender: *4 responses: '200': @@ -136305,7 +134979,7 @@ webhooks: type: string enum: - approved - approver: &847 + approver: &831 type: object properties: avatar_url: @@ -136348,11 +135022,11 @@ webhooks: type: string comment: type: string - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - reviewers: &848 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: &832 type: array items: type: object @@ -136433,7 +135107,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &849 + workflow_job_run: &833 type: object properties: conclusion: @@ -137179,18 +135853,18 @@ webhooks: type: string enum: - rejected - approver: *847 + approver: *831 comment: type: string - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - reviewers: *848 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + reviewers: *832 sender: *4 since: type: string - workflow_job_run: *849 + workflow_job_run: *833 workflow_job_runs: type: array items: @@ -137907,13 +136581,13 @@ webhooks: type: string enum: - requested - enterprise: *833 + enterprise: *817 environment: type: string - installation: *834 - organization: *835 - repository: *836 - requestor: &860 + installation: *818 + organization: *819 + repository: *820 + requestor: &844 title: User type: - object @@ -139856,12 +138530,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Deployment Workflow Run type: @@ -140552,7 +139226,7 @@ webhooks: type: string enum: - answered - answer: &853 + answer: &837 type: object properties: author_association: @@ -140712,7 +139386,7 @@ webhooks: - created_at - updated_at - body - discussion: &851 + discussion: &835 title: Discussion description: A Discussion in a repository. type: object @@ -141008,7 +139682,7 @@ webhooks: - id labels: type: array - items: *648 + items: *632 required: - repository_url - category @@ -141030,10 +139704,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141160,11 +139834,11 @@ webhooks: - from required: - category - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141247,11 +139921,11 @@ webhooks: type: string enum: - closed - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141333,7 +140007,7 @@ webhooks: type: string enum: - created - comment: &852 + comment: &836 type: object properties: author_association: @@ -141493,11 +140167,11 @@ webhooks: - updated_at - body - reactions - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141580,12 +140254,12 @@ webhooks: type: string enum: - deleted - comment: *852 - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + comment: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141680,12 +140354,12 @@ webhooks: - from required: - body - comment: *852 - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + comment: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141769,11 +140443,11 @@ webhooks: type: string enum: - created - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141855,11 +140529,11 @@ webhooks: type: string enum: - deleted - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -141959,11 +140633,11 @@ webhooks: type: string required: - from - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142045,10 +140719,10 @@ webhooks: type: string enum: - labeled - discussion: *851 - enterprise: *833 - installation: *834 - label: &854 + discussion: *835 + enterprise: *817 + installation: *818 + label: &838 title: Label type: object properties: @@ -142081,8 +140755,8 @@ webhooks: - color - default - description - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142165,11 +140839,11 @@ webhooks: type: string enum: - locked - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142251,11 +140925,11 @@ webhooks: type: string enum: - pinned - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142337,11 +141011,11 @@ webhooks: type: string enum: - reopened - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142426,16 +141100,16 @@ webhooks: changes: type: object properties: - new_discussion: *851 - new_repository: *836 + new_discussion: *835 + new_repository: *820 required: - new_discussion - new_repository - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142518,10 +141192,10 @@ webhooks: type: string enum: - unanswered - discussion: *851 - old_answer: *853 - organization: *835 - repository: *836 + discussion: *835 + old_answer: *837 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142603,12 +141277,12 @@ webhooks: type: string enum: - unlabeled - discussion: *851 - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142691,11 +141365,11 @@ webhooks: type: string enum: - unlocked - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142777,11 +141451,11 @@ webhooks: type: string enum: - unpinned - discussion: *851 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + discussion: *835 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -142850,7 +141524,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142913,7 +141587,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -142979,7 +141653,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143045,7 +141719,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143111,7 +141785,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143177,7 +141851,7 @@ webhooks: required: true content: application/json: - schema: *859 + schema: *843 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143243,7 +141917,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143308,7 +141982,7 @@ webhooks: required: true content: application/json: - schema: *857 + schema: *841 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143373,7 +142047,7 @@ webhooks: required: true content: application/json: - schema: *858 + schema: *842 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143438,7 +142112,7 @@ webhooks: required: true content: application/json: - schema: *855 + schema: *839 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143503,7 +142177,7 @@ webhooks: required: true content: application/json: - schema: *859 + schema: *843 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143569,7 +142243,7 @@ webhooks: required: true content: application/json: - schema: *856 + schema: *840 responses: '200': description: Return a 200 status to indicate that the data was received @@ -143636,7 +142310,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *833 + enterprise: *817 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -144314,9 +142988,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - forkee @@ -144462,9 +143136,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pages: description: The pages that were updated. type: array @@ -144502,7 +143176,7 @@ webhooks: - action - sha - html_url - repository: *836 + repository: *820 sender: *4 required: - pages @@ -144578,10 +143252,10 @@ webhooks: type: string enum: - created - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: &861 + organization: *819 + repositories: &845 description: An array of repository objects that the installation can access. type: array @@ -144607,8 +143281,8 @@ webhooks: - name - full_name - private - repository: *836 - requester: *860 + repository: *820 + requester: *844 sender: *4 required: - action @@ -144683,11 +143357,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -144764,11 +143438,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -144845,10 +143519,10 @@ webhooks: type: string enum: - added - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories_added: &862 + organization: *819 + repositories_added: &846 description: An array of repository objects, which were added to the installation. type: array @@ -144894,15 +143568,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *836 - repository_selection: &863 + repository: *820 + repository_selection: &847 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *860 + requester: *844 sender: *4 required: - action @@ -144981,10 +143655,10 @@ webhooks: type: string enum: - removed - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories_added: *862 + organization: *819 + repositories_added: *846 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -145011,9 +143685,9 @@ webhooks: - name - full_name - private - repository: *836 - repository_selection: *863 - requester: *860 + repository: *820 + repository_selection: *847 + requester: *844 sender: *4 required: - action @@ -145092,11 +143766,11 @@ webhooks: type: string enum: - suspend - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -145279,10 +143953,10 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 target_type: type: string @@ -145361,11 +144035,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *833 + enterprise: *817 installation: *20 - organization: *835 - repositories: *861 - repository: *836 + organization: *819 + repositories: *845 + repository: *820 requester: type: - 'null' @@ -145613,8 +144287,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -146431,8 +145105,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146449,7 +145123,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -146793,8 +145467,8 @@ webhooks: - state - locked - assignee - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -146874,7 +145548,7 @@ webhooks: type: string enum: - deleted - comment: &864 + comment: &848 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -147041,8 +145715,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -147855,8 +146529,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147873,7 +146547,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -148219,8 +146893,8 @@ webhooks: - state - locked - assignee - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -148300,7 +146974,7 @@ webhooks: type: string enum: - edited - changes: &888 + changes: &872 description: The changes to the comment. type: object properties: @@ -148312,9 +146986,9 @@ webhooks: type: string required: - from - comment: *864 - enterprise: *833 - installation: *834 + comment: *848 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -149130,8 +147804,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149148,7 +147822,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -149492,8 +148166,8 @@ webhooks: - state - locked - assignee - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149583,9 +148257,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *72 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149679,9 +148353,9 @@ webhooks: type: number blocking_issue: *219 blocking_issue_repo: *72 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149774,9 +148448,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149870,9 +148544,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -149957,10 +148631,10 @@ webhooks: type: string enum: - assigned - assignee: *860 - enterprise: *833 - installation: *834 - issue: &867 + assignee: *844 + enterprise: *817 + installation: *818 + issue: &851 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -150772,11 +149446,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150793,7 +149467,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -150896,8 +149570,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -150977,8 +149651,8 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -151795,11 +150469,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151816,7 +150490,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -152062,8 +150736,8 @@ webhooks: required: - state - closed_at - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -152142,8 +150816,8 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152951,11 +151625,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152972,7 +151646,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -153074,8 +151748,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -153154,8 +151828,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153986,11 +152660,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154007,7 +152681,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -154088,7 +152762,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &865 + milestone: &849 title: Milestone description: A collection of related issues and pull requests. type: object @@ -154231,8 +152905,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -154331,8 +153005,8 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -155144,11 +153818,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -155162,7 +153836,7 @@ webhooks: timeline_url: type: string format: uri - type: *357 + type: *347 title: description: Title of the issue type: string @@ -155268,9 +153942,9 @@ webhooks: - active_lock_reason - body - reactions - label: *854 - organization: *835 - repository: *836 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -155350,8 +154024,8 @@ webhooks: type: string enum: - labeled - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156162,11 +154836,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156180,7 +154854,7 @@ webhooks: timeline_url: type: string format: uri - type: *357 + type: *347 title: description: Title of the issue type: string @@ -156286,9 +154960,9 @@ webhooks: - active_lock_reason - body - reactions - label: *854 - organization: *835 - repository: *836 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -156368,8 +155042,8 @@ webhooks: type: string enum: - locked - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -157205,11 +155879,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157223,7 +155897,7 @@ webhooks: timeline_url: type: string format: uri - type: *357 + type: *347 title: description: Title of the issue type: string @@ -157306,8 +155980,8 @@ webhooks: format: uri user_view_type: type: string - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -157386,8 +156060,8 @@ webhooks: type: string enum: - milestoned - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158217,11 +156891,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158238,7 +156912,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -158318,9 +156992,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *865 - organization: *835 - repository: *836 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -159212,11 +157886,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159312,7 +157986,7 @@ webhooks: required: - login - id - type: *357 + type: *347 required: - id - number @@ -159793,8 +158467,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -160606,11 +159280,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -160627,7 +159301,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -160729,8 +159403,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -160810,9 +159484,9 @@ webhooks: type: string enum: - pinned - enterprise: *833 - installation: *834 - issue: &866 + enterprise: *817 + installation: *818 + issue: &850 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -161618,11 +160292,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161639,7 +160313,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -161741,8 +160415,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -161821,8 +160495,8 @@ webhooks: type: string enum: - reopened - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -162656,11 +161330,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -162757,9 +161431,9 @@ webhooks: format: uri user_view_type: type: string - type: *357 - organization: *835 - repository: *836 + type: *347 + organization: *819 + repository: *820 sender: *4 required: - action @@ -163648,11 +162322,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -163669,7 +162343,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -164251,11 +162925,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *833 - installation: *834 - issue: *866 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164335,12 +163009,12 @@ webhooks: type: string enum: - typed - enterprise: *833 - installation: *834 - issue: *867 - type: *357 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + type: *347 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164421,7 +163095,7 @@ webhooks: type: string enum: - unassigned - assignee: &891 + assignee: &875 title: User type: - object @@ -164493,11 +163167,11 @@ webhooks: required: - login - id - enterprise: *833 - installation: *834 - issue: *867 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164576,12 +163250,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *833 - installation: *834 - issue: *867 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -164661,8 +163335,8 @@ webhooks: type: string enum: - unlocked - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -165496,11 +164170,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *778 - issue_dependencies_summary: *779 + sub_issues_summary: *762 + issue_dependencies_summary: *763 issue_field_values: type: array - items: *780 + items: *764 state: description: State of the issue; either 'open' or 'closed' type: string @@ -165517,7 +164191,7 @@ webhooks: title: description: Title of the issue type: string - type: *357 + type: *347 updated_at: type: string format: date-time @@ -165597,8 +164271,8 @@ webhooks: format: uri user_view_type: type: string - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165678,11 +164352,11 @@ webhooks: type: string enum: - unpinned - enterprise: *833 - installation: *834 - issue: *866 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *850 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165761,12 +164435,12 @@ webhooks: type: string enum: - untyped - enterprise: *833 - installation: *834 - issue: *867 - type: *357 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + issue: *851 + type: *347 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165846,11 +164520,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -165928,11 +164602,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166042,11 +164716,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - label: *854 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + label: *838 + organization: *819 + repository: *820 sender: *4 required: - action @@ -166128,9 +164802,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: &868 + enterprise: *817 + installation: *818 + marketplace_purchase: &852 title: Marketplace Purchase type: object required: @@ -166218,8 +164892,8 @@ webhooks: type: integer unit_count: type: integer - organization: *835 - previous_marketplace_purchase: &869 + organization: *819 + previous_marketplace_purchase: &853 title: Marketplace Purchase type: object properties: @@ -166303,7 +164977,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *836 + repository: *820 sender: *4 required: - action @@ -166383,10 +165057,10 @@ webhooks: - changed effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: *868 - organization: *835 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166474,7 +165148,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *836 + repository: *820 sender: *4 required: - action @@ -166556,10 +165230,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: *868 - organization: *835 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -166645,7 +165319,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *836 + repository: *820 sender: *4 required: - action @@ -166726,8 +165400,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 marketplace_purchase: title: Marketplace Purchase type: object @@ -166813,9 +165487,9 @@ webhooks: type: integer unit_count: type: integer - organization: *835 - previous_marketplace_purchase: *869 - repository: *836 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -166895,12 +165569,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *833 - installation: *834 - marketplace_purchase: *868 - organization: *835 - previous_marketplace_purchase: *869 - repository: *836 + enterprise: *817 + installation: *818 + marketplace_purchase: *852 + organization: *819 + previous_marketplace_purchase: *853 + repository: *820 sender: *4 required: - action @@ -167002,11 +165676,11 @@ webhooks: type: string required: - to - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167108,11 +165782,11 @@ webhooks: type: - string - 'null' - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167191,11 +165865,11 @@ webhooks: type: string enum: - removed - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167273,11 +165947,11 @@ webhooks: type: string enum: - added - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167355,7 +166029,7 @@ webhooks: required: - login - id - team: &870 + team: &854 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -167585,11 +166259,11 @@ webhooks: type: string enum: - removed - enterprise: *833 - installation: *834 - member: *860 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + member: *844 + organization: *819 + repository: *820 scope: description: The scope of the membership. Currently, can only be `team`. @@ -167668,7 +166342,7 @@ webhooks: required: - login - id - team: *870 + team: *854 required: - action - scope @@ -167750,8 +166424,8 @@ webhooks: type: string enum: - checks_requested - installation: *834 - merge_group: &871 + installation: *818 + merge_group: &855 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -167770,15 +166444,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *526 + head_commit: *510 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167864,10 +166538,10 @@ webhooks: - merged - invalidated - dequeued - installation: *834 - merge_group: *871 - organization: *835 - repository: *836 + installation: *818 + merge_group: *855 + organization: *819 + repository: *820 sender: *4 required: - action @@ -167940,7 +166614,7 @@ webhooks: type: string enum: - deleted - enterprise: *833 + enterprise: *817 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -168049,12 +166723,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *834 - organization: *835 + installation: *818 + organization: *819 repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -168134,11 +166808,11 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 - milestone: *865 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168217,9 +166891,9 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - milestone: &872 + enterprise: *817 + installation: *818 + milestone: &856 title: Milestone description: A collection of related issues and pull requests. type: object @@ -168361,8 +167035,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168441,11 +167115,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - milestone: *865 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168555,11 +167229,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - milestone: *865 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *849 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168639,11 +167313,11 @@ webhooks: type: string enum: - opened - enterprise: *833 - installation: *834 - milestone: *872 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + milestone: *856 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168722,11 +167396,11 @@ webhooks: type: string enum: - blocked - blocked_user: *860 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168805,11 +167479,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *860 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + blocked_user: *844 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -168885,7 +167559,7 @@ webhooks: enum: - created definition: *140 - enterprise: *833 + enterprise: *817 sender: *4 required: - action @@ -168965,8 +167639,8 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 sender: *4 required: - action @@ -169039,8 +167713,8 @@ webhooks: enum: - updated definition: *140 - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 sender: *4 required: - action @@ -169112,9 +167786,9 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 new_property_values: type: array @@ -169202,9 +167876,9 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - membership: &873 + enterprise: *817 + installation: *818 + membership: &857 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -169314,8 +167988,8 @@ webhooks: - role - organization_url - user - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169393,11 +168067,11 @@ webhooks: type: string enum: - member_added - enterprise: *833 - installation: *834 - membership: *873 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169476,8 +168150,8 @@ webhooks: type: string enum: - member_invited - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -169599,10 +168273,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 - user: *860 + user: *844 required: - action - invitation @@ -169680,11 +168354,11 @@ webhooks: type: string enum: - member_removed - enterprise: *833 - installation: *834 - membership: *873 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169771,11 +168445,11 @@ webhooks: properties: from: type: string - enterprise: *833 - installation: *834 - membership: *873 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + membership: *857 + organization: *819 + repository: *820 sender: *4 required: - action @@ -169851,9 +168525,9 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -170376,7 +169050,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &874 + items: &858 title: Ruby Gems metadata type: object properties: @@ -170473,7 +169147,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -170549,9 +169223,9 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 package: description: Information about the package. type: object @@ -170913,7 +169587,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *874 + items: *858 source_url: type: string format: uri @@ -170984,7 +169658,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -171165,12 +169839,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *833 + enterprise: *817 id: type: integer - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - id @@ -171247,7 +169921,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &875 + personal_access_token_request: &859 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -171397,10 +170071,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *833 - organization: *835 + enterprise: *817 + organization: *819 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171477,11 +170151,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *875 - enterprise: *833 - organization: *835 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171557,11 +170231,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *875 - enterprise: *833 - organization: *835 + personal_access_token_request: *859 + enterprise: *817 + organization: *819 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171636,11 +170310,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *875 - organization: *835 - enterprise: *833 + personal_access_token_request: *859 + organization: *819 + enterprise: *817 sender: *4 - installation: *834 + installation: *818 required: - action - personal_access_token_request @@ -171745,7 +170419,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *876 + last_response: *860 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -171777,8 +170451,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 zen: description: Random string of GitHub zen. @@ -172023,10 +170697,10 @@ webhooks: - from required: - note - enterprise: *833 - installation: *834 - organization: *835 - project_card: &877 + enterprise: *817 + installation: *818 + organization: *819 + project_card: &861 title: Project Card type: object properties: @@ -172149,7 +170823,7 @@ webhooks: - creator - created_at - updated_at - repository: *836 + repository: *820 sender: *4 required: - action @@ -172230,11 +170904,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - project_card: *877 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -172314,9 +170988,9 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 project_card: title: Project Card type: object @@ -172446,7 +171120,7 @@ webhooks: repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -172540,11 +171214,11 @@ webhooks: - from required: - note - enterprise: *833 - installation: *834 - organization: *835 - project_card: *877 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_card: *861 + repository: *820 sender: *4 required: - action @@ -172638,9 +171312,9 @@ webhooks: - from required: - column_id - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 project_card: allOf: - title: Project Card @@ -172837,7 +171511,7 @@ webhooks: type: string required: - after_id - repository: *836 + repository: *820 sender: *4 required: - action @@ -172917,10 +171591,10 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 - organization: *835 - project: &879 + enterprise: *817 + installation: *818 + organization: *819 + project: &863 title: Project type: object properties: @@ -173047,7 +171721,7 @@ webhooks: - creator - created_at - updated_at - repository: *836 + repository: *820 sender: *4 required: - action @@ -173127,10 +171801,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - project_column: &878 + enterprise: *817 + installation: *818 + organization: *819 + project_column: &862 title: Project Column type: object properties: @@ -173170,7 +171844,7 @@ webhooks: - name - created_at - updated_at - repository: *836 + repository: *820 sender: *4 required: - action @@ -173249,14 +171923,14 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - project_column: *878 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -173345,11 +172019,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - project_column: *878 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -173429,11 +172103,11 @@ webhooks: type: string enum: - moved - enterprise: *833 - installation: *834 - organization: *835 - project_column: *878 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project_column: *862 + repository: *820 sender: *4 required: - action @@ -173513,11 +172187,11 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - project: *879 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -173597,14 +172271,14 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - project: *879 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 repository: anyOf: - type: 'null' - - *836 + - *820 sender: *4 required: - action @@ -173705,11 +172379,11 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - project: *879 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -173788,11 +172462,11 @@ webhooks: type: string enum: - reopened - enterprise: *833 - installation: *834 - organization: *835 - project: *879 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + project: *863 + repository: *820 sender: *4 required: - action @@ -173873,9 +172547,9 @@ webhooks: type: string enum: - closed - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -173956,9 +172630,9 @@ webhooks: type: string enum: - created - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -174039,9 +172713,9 @@ webhooks: type: string enum: - deleted - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -174162,9 +172836,9 @@ webhooks: type: string to: type: string - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -174247,7 +172921,7 @@ webhooks: type: string enum: - archived - changes: &883 + changes: &867 type: object properties: archived_at: @@ -174263,9 +172937,9 @@ webhooks: - string - 'null' format: date-time - installation: *834 - organization: *835 - projects_v2_item: &880 + installation: *818 + organization: *819 + projects_v2_item: &864 title: Projects v2 Item description: An item belonging to a project type: object @@ -174283,7 +172957,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *394 + content_type: *384 creator: *4 created_at: type: string @@ -174405,9 +173079,9 @@ webhooks: - 'null' to: type: string - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174489,9 +173163,9 @@ webhooks: type: string enum: - created - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174572,9 +173246,9 @@ webhooks: type: string enum: - deleted - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174679,7 +173353,7 @@ webhooks: oneOf: - type: string - type: integer - - &881 + - &865 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -174703,7 +173377,7 @@ webhooks: required: - id - name - - &882 + - &866 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -174743,8 +173417,8 @@ webhooks: oneOf: - type: string - type: integer - - *881 - - *882 + - *865 + - *866 type: - 'null' - string @@ -174767,9 +173441,9 @@ webhooks: - 'null' required: - body - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174866,9 +173540,9 @@ webhooks: type: - string - 'null' - installation: *834 - organization: *835 - projects_v2_item: *880 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -174951,10 +173625,10 @@ webhooks: type: string enum: - restored - changes: *883 - installation: *834 - organization: *835 - projects_v2_item: *880 + changes: *867 + installation: *818 + organization: *819 + projects_v2_item: *864 sender: *4 required: - action @@ -175036,9 +173710,9 @@ webhooks: type: string enum: - reopened - installation: *834 - organization: *835 - projects_v2: *388 + installation: *818 + organization: *819 + projects_v2: *378 sender: *4 required: - action @@ -175119,9 +173793,9 @@ webhooks: type: string enum: - created - installation: *834 - organization: *835 - projects_v2_status_update: *884 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -175202,9 +173876,9 @@ webhooks: type: string enum: - deleted - installation: *834 - organization: *835 - projects_v2_status_update: *884 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -175350,9 +174024,9 @@ webhooks: - string - 'null' format: date - installation: *834 - organization: *835 - projects_v2_status_update: *884 + installation: *818 + organization: *819 + projects_v2_status_update: *868 sender: *4 required: - action @@ -175423,10 +174097,10 @@ webhooks: title: public event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - repository @@ -175503,13 +174177,13 @@ webhooks: type: string enum: - assigned - assignee: *860 - enterprise: *833 - installation: *834 - number: &885 + assignee: *844 + enterprise: *817 + installation: *818 + number: &869 description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -177858,7 +176532,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -177940,11 +176614,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -180286,7 +178960,7 @@ webhooks: - draft reason: type: string - repository: *836 + repository: *820 sender: *4 required: - action @@ -180368,11 +179042,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -182714,7 +181388,7 @@ webhooks: - draft reason: type: string - repository: *836 + repository: *820 sender: *4 required: - action @@ -182796,13 +181470,13 @@ webhooks: type: string enum: - closed - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: &886 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: &870 allOf: - - *685 + - *669 - type: object properties: allow_auto_merge: @@ -182864,7 +181538,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *836 + repository: *820 sender: *4 required: - action @@ -182945,12 +181619,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -183030,11 +181704,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *833 - milestone: *391 - number: *885 - organization: *835 - pull_request: &887 + enterprise: *817 + milestone: *381 + number: *869 + organization: *819 + pull_request: &871 title: Pull Request type: object properties: @@ -185361,7 +184035,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -185440,11 +184114,11 @@ webhooks: type: string enum: - dequeued - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -187790,7 +186464,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *836 + repository: *820 sender: *4 required: - action @@ -187914,12 +186588,12 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -187999,11 +186673,11 @@ webhooks: type: string enum: - enqueued - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -190334,7 +189008,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -190414,11 +189088,11 @@ webhooks: type: string enum: - labeled - enterprise: *833 - installation: *834 - label: *854 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + label: *838 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -192766,7 +191440,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -192847,10 +191521,10 @@ webhooks: type: string enum: - locked - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -195196,7 +193870,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -195276,12 +193950,12 @@ webhooks: type: string enum: - milestoned - enterprise: *833 - milestone: *391 - number: *885 - organization: *835 - pull_request: *887 - repository: *836 + enterprise: *817 + milestone: *381 + number: *869 + organization: *819 + pull_request: *871 + repository: *820 sender: *4 required: - action @@ -195360,12 +194034,12 @@ webhooks: type: string enum: - opened - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -195446,12 +194120,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -195531,12 +194205,12 @@ webhooks: type: string enum: - reopened - enterprise: *833 - installation: *834 - number: *885 - organization: *835 - pull_request: *886 - repository: *836 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 + pull_request: *870 + repository: *820 sender: *4 required: - action @@ -195911,9 +194585,9 @@ webhooks: - start_side - side - reactions - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -198143,7 +196817,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *836 + repository: *820 sender: *4 required: - action @@ -198223,7 +196897,7 @@ webhooks: type: string enum: - deleted - comment: &889 + comment: &873 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. @@ -198516,9 +197190,9 @@ webhooks: - start_side - side - reactions - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -200736,7 +199410,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *836 + repository: *820 sender: *4 required: - action @@ -200816,11 +199490,11 @@ webhooks: type: string enum: - edited - changes: *888 - comment: *889 - enterprise: *833 - installation: *834 - organization: *835 + changes: *872 + comment: *873 + enterprise: *817 + installation: *818 + organization: *819 pull_request: type: object properties: @@ -203041,7 +201715,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *836 + repository: *820 sender: *4 required: - action @@ -203122,9 +201796,9 @@ webhooks: type: string enum: - dismissed - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -205357,7 +204031,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 + repository: *820 review: description: The review that was affected. type: object @@ -205608,9 +204282,9 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -207724,8 +206398,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 - review: &890 + repository: *820 + review: &874 description: The review that was affected. type: object properties: @@ -207963,12 +206637,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -210315,7 +208989,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_reviewer: title: User type: @@ -210401,12 +209075,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -212760,7 +211434,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -212955,12 +211629,12 @@ webhooks: type: string enum: - review_requested - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -215309,7 +213983,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_reviewer: title: User type: @@ -215396,12 +214070,12 @@ webhooks: type: string enum: - review_requested - enterprise: *833 - installation: *834 + enterprise: *817 + installation: *818 number: description: The pull request number. type: integer - organization: *835 + organization: *819 pull_request: title: Pull Request type: object @@ -217741,7 +216415,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 requested_team: title: Team description: Groups of organization members that gives permissions @@ -217925,9 +216599,9 @@ webhooks: type: string enum: - submitted - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -220163,8 +218837,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 - review: *890 + repository: *820 + review: *874 sender: *4 required: - action @@ -220244,9 +218918,9 @@ webhooks: type: string enum: - resolved - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -222377,7 +221051,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 + repository: *820 sender: *4 thread: type: object @@ -222774,9 +221448,9 @@ webhooks: type: string enum: - unresolved - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 pull_request: title: Simple Pull Request type: object @@ -224890,7 +223564,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *836 + repository: *820 sender: *4 thread: type: object @@ -225289,10 +223963,10 @@ webhooks: type: string before: type: string - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -227627,7 +226301,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -227709,11 +226383,11 @@ webhooks: type: string enum: - unassigned - assignee: *891 - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + assignee: *875 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -230063,7 +228737,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -230142,11 +228816,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *833 - installation: *834 - label: *854 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + label: *838 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -232485,7 +231159,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -232566,10 +231240,10 @@ webhooks: type: string enum: - unlocked - enterprise: *833 - installation: *834 - number: *885 - organization: *835 + enterprise: *817 + installation: *818 + number: *869 + organization: *819 pull_request: title: Pull Request type: object @@ -234898,7 +233572,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *836 + repository: *820 sender: *4 required: - action @@ -235101,7 +233775,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *833 + enterprise: *817 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -235196,8 +233870,8 @@ webhooks: - url - author - committer - installation: *834 - organization: *835 + installation: *818 + organization: *819 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -235785,9 +234459,9 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -236264,7 +234938,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *874 + items: *858 summary: type: string tag_name: @@ -236320,7 +234994,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -236398,9 +235072,9 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 registry_package: type: object properties: @@ -236712,7 +235386,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *874 + items: *858 summary: type: string tag_name: @@ -236762,7 +235436,7 @@ webhooks: - owner - package_version - registry - repository: *836 + repository: *820 sender: *4 required: - action @@ -236839,10 +235513,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - release: &892 + enterprise: *817 + installation: *818 + organization: *819 + release: &876 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -237173,7 +235847,7 @@ webhooks: - updated_at - zipball_url - body - repository: *836 + repository: *820 sender: *4 required: - action @@ -237250,11 +235924,11 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - release: *892 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -237371,11 +236045,11 @@ webhooks: type: boolean required: - to - enterprise: *833 - installation: *834 - organization: *835 - release: *892 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -237453,9 +236127,9 @@ webhooks: type: string enum: - prereleased - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -237791,7 +236465,7 @@ webhooks: - string - 'null' format: uri - repository: *836 + repository: *820 sender: *4 required: - action @@ -237867,10 +236541,10 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 - release: &893 + enterprise: *817 + installation: *818 + organization: *819 + release: &877 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -238203,7 +236877,7 @@ webhooks: - string - 'null' format: uri - repository: *836 + repository: *820 sender: *4 required: - action @@ -238279,11 +236953,11 @@ webhooks: type: string enum: - released - enterprise: *833 - installation: *834 - organization: *835 - release: *892 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *876 + repository: *820 sender: *4 required: - action @@ -238359,11 +237033,11 @@ webhooks: type: string enum: - unpublished - enterprise: *833 - installation: *834 - organization: *835 - release: *893 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + release: *877 + repository: *820 sender: *4 required: - action @@ -238439,11 +237113,11 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - repository_advisory: *738 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *722 sender: *4 required: - action @@ -238519,11 +237193,11 @@ webhooks: type: string enum: - reported - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - repository_advisory: *738 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + repository_advisory: *722 sender: *4 required: - action @@ -238599,10 +237273,10 @@ webhooks: type: string enum: - archived - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238679,10 +237353,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238760,10 +237434,10 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238848,10 +237522,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -238966,10 +237640,10 @@ webhooks: - 'null' items: type: string - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239041,10 +237715,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 status: type: string @@ -239125,10 +237799,10 @@ webhooks: type: string enum: - privatized - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239205,10 +237879,10 @@ webhooks: type: string enum: - publicized - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239302,10 +237976,10 @@ webhooks: - name required: - repository - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239385,10 +238059,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 repository_ruleset: *179 sender: *4 required: @@ -239467,10 +238141,10 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 repository_ruleset: *179 sender: *4 required: @@ -239549,10 +238223,10 @@ webhooks: type: string enum: - edited - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 repository_ruleset: *179 changes: type: object @@ -239614,16 +238288,16 @@ webhooks: properties: added: type: array - items: *706 + items: *690 deleted: type: array - items: *706 + items: *690 updated: type: array items: type: object properties: - rule: *706 + rule: *690 changes: type: object properties: @@ -239860,10 +238534,10 @@ webhooks: - from required: - owner - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -239941,10 +238615,10 @@ webhooks: type: string enum: - unarchived - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240022,7 +238696,7 @@ webhooks: type: string enum: - create - alert: &894 + alert: &878 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -240146,10 +238820,10 @@ webhooks: type: string enum: - open - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240359,10 +239033,10 @@ webhooks: type: string enum: - dismissed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240440,11 +239114,11 @@ webhooks: type: string enum: - reopen - alert: *894 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *878 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240646,10 +239320,10 @@ webhooks: enum: - fixed - open - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240727,7 +239401,7 @@ webhooks: type: string enum: - created - alert: &895 + alert: &879 type: object properties: number: *119 @@ -240841,10 +239515,10 @@ webhooks: anyOf: - type: 'null' - *4 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -240925,11 +239599,11 @@ webhooks: type: string enum: - created - alert: *895 - installation: *834 - location: *896 - organization: *835 - repository: *836 + alert: *879 + installation: *818 + location: *880 + organization: *819 + repository: *820 sender: *4 required: - location @@ -241167,11 +239841,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241249,11 +239923,11 @@ webhooks: type: string enum: - reopened - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241331,11 +240005,11 @@ webhooks: type: string enum: - resolved - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241413,11 +240087,11 @@ webhooks: type: string enum: - validated - alert: *895 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + alert: *879 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -241547,10 +240221,10 @@ webhooks: - organization - enterprise - - repository: *836 - enterprise: *833 - installation: *834 - organization: *835 + repository: *820 + enterprise: *817 + installation: *818 + organization: *819 sender: *4 required: - action @@ -241628,11 +240302,11 @@ webhooks: type: string enum: - published - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - security_advisory: &897 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: &881 description: The details of the security advisory, including summary, description, and severity. type: object @@ -241818,11 +240492,11 @@ webhooks: type: string enum: - updated - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 - security_advisory: *897 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 + security_advisory: *881 sender: *4 required: - action @@ -241895,10 +240569,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -242084,11 +240758,11 @@ webhooks: from: type: object properties: - security_and_analysis: *401 - enterprise: *833 - installation: *834 - organization: *835 - repository: *465 + security_and_analysis: *391 + enterprise: *817 + installation: *818 + organization: *819 + repository: *449 sender: *4 required: - changes @@ -242166,12 +240840,12 @@ webhooks: type: string enum: - cancelled - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: &898 + sponsorship: &882 type: object properties: created_at: @@ -242476,12 +241150,12 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - sponsorship @@ -242569,12 +241243,12 @@ webhooks: type: string required: - from - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - changes @@ -242651,17 +241325,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &899 + effective_date: &883 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: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - sponsorship @@ -242735,7 +241409,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &900 + changes: &884 type: object properties: tier: @@ -242779,13 +241453,13 @@ webhooks: - from required: - tier - effective_date: *899 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + effective_date: *883 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - changes @@ -242862,13 +241536,13 @@ webhooks: type: string enum: - tier_changed - changes: *900 - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + changes: *884 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - sponsorship: *898 + sponsorship: *882 required: - action - changes @@ -242942,10 +241616,10 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243029,10 +241703,10 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -243466,15 +242140,15 @@ webhooks: type: - string - 'null' - enterprise: *833 + enterprise: *817 id: description: The unique identifier of the status. type: integer - installation: *834 + installation: *818 name: type: string - organization: *835 - repository: *836 + organization: *819 + repository: *820 sender: *4 sha: description: The Commit SHA. @@ -243590,9 +242264,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243682,9 +242356,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243774,9 +242448,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243866,9 +242540,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *219 - installation: *834 - organization: *835 - repository: *836 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -243945,12 +242619,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - team: &901 + team: &885 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -244180,9 +242854,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -244652,7 +243326,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -244728,9 +243402,9 @@ webhooks: type: string enum: - created - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -245200,7 +243874,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -245277,9 +243951,9 @@ webhooks: type: string enum: - deleted - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -245749,7 +244423,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -245893,9 +244567,9 @@ webhooks: - from required: - permissions - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -246365,7 +245039,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - changes @@ -246443,9 +245117,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *833 - installation: *834 - organization: *835 + enterprise: *817 + installation: *818 + organization: *819 repository: title: Repository description: A git repository @@ -246915,7 +245589,7 @@ webhooks: - topics - visibility sender: *4 - team: *901 + team: *885 required: - action - team @@ -246991,10 +245665,10 @@ webhooks: type: string enum: - started - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 required: - action @@ -247067,17 +245741,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *833 + enterprise: *817 inputs: type: - object - 'null' additionalProperties: true - installation: *834 - organization: *835 + installation: *818 + organization: *819 ref: type: string - repository: *836 + repository: *820 sender: *4 workflow: type: string @@ -247159,10 +245833,10 @@ webhooks: type: string enum: - completed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -247418,7 +246092,7 @@ webhooks: type: string required: - conclusion - deployment: *592 + deployment: *576 required: - action - repository @@ -247497,10 +246171,10 @@ webhooks: type: string enum: - in_progress - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: allOf: @@ -247782,7 +246456,7 @@ webhooks: required: - status - steps - deployment: *592 + deployment: *576 required: - action - repository @@ -247861,10 +246535,10 @@ webhooks: type: string enum: - queued - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -248010,7 +246684,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *592 + deployment: *576 required: - action - repository @@ -248089,10 +246763,10 @@ webhooks: type: string enum: - waiting - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 workflow_job: type: object @@ -248239,7 +246913,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *592 + deployment: *576 required: - action - repository @@ -248319,12 +246993,12 @@ webhooks: type: string enum: - completed - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Workflow Run type: object @@ -249343,12 +248017,12 @@ webhooks: type: string enum: - in_progress - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Workflow Run type: object @@ -250352,12 +249026,12 @@ webhooks: type: string enum: - requested - enterprise: *833 - installation: *834 - organization: *835 - repository: *836 + enterprise: *817 + installation: *818 + organization: *819 + repository: *820 sender: *4 - workflow: *850 + workflow: *834 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index e40451a5c..47ac630b6 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -8347,7 +8347,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": [ { @@ -8387,7 +8387,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -9799,7 +9799,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": [ { @@ -9828,7 +9828,7 @@ "enabledForGitHubApps": false, "previews": [], "category": "enterprise-admin", - "subcategory": "license" + "subcategory": "licensing" } } }, @@ -11867,48 +11867,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", @@ -11919,7 +11877,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": [ { @@ -11956,7 +11914,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "enterprise-admin", - "subcategory": "billing" + "subcategory": "licensing" } } }, @@ -11970,7 +11928,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": [ { @@ -11992,7 +11950,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "post": { @@ -12004,7 +11962,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": [ { @@ -12138,7 +12096,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" } } } @@ -12159,7 +12117,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" } } } @@ -12171,7 +12129,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -12185,7 +12143,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": [ { @@ -12219,7 +12177,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "patch": { @@ -12231,7 +12189,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": [ { @@ -12364,13 +12322,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" } } } @@ -12391,7 +12349,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" } } } @@ -12409,7 +12367,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" } } } @@ -12421,7 +12379,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } }, "delete": { @@ -12433,7 +12391,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": [ { @@ -12467,7 +12425,7 @@ "githubCloudOnly": true, "enabledForGitHubApps": false, "category": "billing", - "subcategory": "enhanced-billing" + "subcategory": "budgets" } } }, @@ -12481,7 +12439,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": [ { @@ -12511,8 +12469,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "post": { @@ -12524,7 +12482,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": [ { @@ -12676,8 +12634,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -12691,7 +12649,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": [ { @@ -12721,8 +12679,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "patch": { @@ -12734,7 +12692,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": [ { @@ -12809,8 +12767,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -12822,7 +12780,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": [ { @@ -12855,8 +12813,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } } }, @@ -12870,7 +12828,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": [ { @@ -12946,8 +12904,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "cost-centers" } }, "delete": { @@ -12959,7 +12917,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": [ { @@ -13032,50 +12990,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" } } }, @@ -13089,7 +13005,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": [ { @@ -13149,50 +13065,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" } } }, @@ -13206,7 +13080,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": [ { @@ -13251,8 +13125,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -13266,7 +13140,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": [ { @@ -13317,8 +13191,8 @@ "x-github": { "githubCloudOnly": true, "enabledForGitHubApps": false, - "category": "enterprise-admin", - "subcategory": "billing" + "category": "billing", + "subcategory": "usage" } } }, @@ -17936,561 +17810,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", - "examples": [ - "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", @@ -39142,48 +38461,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", @@ -39235,90 +38512,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", @@ -92599,306 +91792,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", @@ -130377,6 +129270,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", @@ -131299,94 +130211,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": { @@ -132033,28 +130857,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": { @@ -132187,28 +130989,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": { @@ -135871,223 +134651,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.", @@ -163858,283 +162421,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).\"", @@ -315133,18 +313419,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, @@ -315329,13 +313603,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": { @@ -315359,13 +313626,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": [ @@ -317145,51 +315405,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", @@ -342471,69 +340686,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", @@ -347013,51 +345165,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." }, @@ -347284,51 +345391,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-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index fef449a0f..e3a7ef585 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -5909,7 +5909,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" @@ -5932,7 +5932,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 @@ -7042,7 +7042,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: @@ -7060,7 +7060,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 @@ -8468,41 +8468,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 @@ -8517,7 +8482,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" @@ -8537,7 +8502,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: enterprise-admin - subcategory: billing + subcategory: licensing "/enterprises/{enterprise}/settings/billing/budgets": get: summary: Get all budgets @@ -8551,7 +8516,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: @@ -8565,7 +8530,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets post: summary: Create a budget description: |- @@ -8578,7 +8543,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: @@ -8677,7 +8642,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': @@ -8690,12 +8655,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 @@ -8709,7 +8674,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" @@ -8730,7 +8695,7 @@ paths: githubCloudOnly: true enabledForGitHubApps: false category: billing - subcategory: enhanced-billing + subcategory: budgets patch: summary: Update a budget description: |- @@ -8743,7 +8708,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 @@ -8840,11 +8805,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': @@ -8857,7 +8822,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: @@ -8868,12 +8833,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: |- @@ -8886,7 +8851,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" @@ -8907,7 +8872,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 @@ -8917,7 +8882,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" @@ -8935,8 +8900,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 @@ -8946,7 +8911,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: @@ -9046,8 +9011,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 @@ -9058,7 +9023,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" @@ -9076,8 +9041,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. @@ -9086,7 +9051,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 @@ -9135,8 +9100,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 @@ -9146,7 +9111,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" @@ -9166,8 +9131,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 @@ -9180,7 +9145,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" @@ -9228,8 +9193,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: |- @@ -9241,7 +9206,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" @@ -9288,43 +9253,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 @@ -9337,7 +9267,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" @@ -9370,43 +9300,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 @@ -9419,7 +9314,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" @@ -9446,8 +9341,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 @@ -9463,7 +9358,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" @@ -9488,8 +9383,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 @@ -12732,399 +12627,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 - examples: - - 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 @@ -28173,38 +27675,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 @@ -28242,70 +27712,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 @@ -66806,216 +66212,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 @@ -94311,6 +93507,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 @@ -94963,71 +94173,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: @@ -95498,22 +94643,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: @@ -95612,23 +94741,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: @@ -98256,168 +97368,6 @@ components: - type: 'null' - "$ref": "#/components/schemas/simple-repository" additionalProperties: false - billing-premium-request-usage-report-org: - type: object - properties: - timePeriod: - type: object - properties: - year: - type: integer - description: The year for the usage report. - month: - type: integer - description: The month for the usage report. - day: - type: integer - description: The day for the usage report. - required: - - year - organization: - type: string - description: The unique identifier of the organization. - user: - type: string - description: The name of the user for the usage report. - product: - type: string - description: The product for the usage report. - model: - type: string - description: The model for the usage report. - usageItems: - type: array - items: - type: object - properties: - product: - type: string - description: Product name. - sku: - type: string - description: SKU name. - model: - type: string - description: Model name. - unitType: - type: string - description: Unit type of the usage line item. - pricePerUnit: - type: number - description: Price per unit of the usage line item. - grossQuantity: - type: 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: |- @@ -118434,213 +117384,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: |- @@ -231667,15 +230410,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 @@ -231794,11 +230528,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: @@ -231816,11 +230545,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: @@ -233405,39 +232129,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 @@ -255066,52 +253757,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 @@ -258919,33 +257564,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": "#/componen{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}